Professional Web Applications Themes

cdda2wav problems - Sun Solaris

In anticipation of a new iPod, I've started doing quite a lot of ripping from CD, using my Solaris workstation. It has two CD drives: a generic IDE CD-ROM, and a SCSI Yamaha CD-RW. I wrote a little script to rip the tracks with cdda2wav, then encode with lame. When I use the IDE drive, device 0,0,0, everything works perfectly, but when I use the SCSI drive (2,6,0), though everything *appears* to be fine, the tracks are silent. cdda2wav finds the CD, does a freedb lookup and identifies it correctly, but it just creates empty files of the appropriate size ...

  1. #1

    Default cdda2wav problems

    In anticipation of a new iPod, I've started doing quite a lot of ripping
    from CD, using my Solaris workstation. It has two CD drives: a generic IDE
    CD-ROM, and a SCSI Yamaha CD-RW.

    I wrote a little script to rip the tracks with cdda2wav, then encode with
    lame. When I use the IDE drive, device 0,0,0, everything works perfectly,
    but when I use the SCSI drive (2,6,0), though everything *appears* to be
    fine, the tracks are silent.

    cdda2wav finds the CD, does a freedb lookup and identifies it correctly, but
    it just creates empty files of the appropriate size on the disk. (If I run
    the command in /tmp, they appear almost instantaneously - much faster than
    could ever be associated with the CD.) cdda2wav exits 0.

    below is a sample session, just running cdda2wav. It's on Solaris 8 x86,
    with the latest stable cdrtools. (2.00.3) I use the CD-RW drive as a data
    drive, and to create both data and audio cds with cdrtools, so I'm pretty
    sure it's working properly. It also plays audio CDs just fine.

    If anyone (Joerg?) can explain the problem then I'd be most grateful.

    thanks


    Rob



    [hubbins:/tmp]$ cdda2wav -D2,6,0 -s -x -b16 -Owav -B -L0
    Type: ROM, Vendor 'YAMAHA ' Model 'CRW6416S ' Revision '1.0b'
    MMC+CDDA
    724992 bytes buffer memory requested, 4 buffers, 75 sectors
    Read TOC CD Text failed (probably not supported).
    #Cdda2wav version 2.00.3_sunos5_5.8_i86pc_i386, real time sched., soundcard,
    libparanoia support
    AUDIOtrack pre-emphasis copy-permitted tracktype channels
    1-16 no no audio 2
    Table of Contents: total tracks:16, (total time 33:36.09)
    1.( 0:20.19), 2.( 3:32.46), 3.( 0:42.14), 4.( 1:53.10), 5.( 0:47.21),
    6.( 1:41.47), 7.( 8:10.73), 8.( 1:56.01), 9.( 0:07.56), 10.( 1:18.15),
    11.( 1:08.49), 12.( 1:47.40), 13.( 3:59.08), 14.( 1:19.36), 15.( 2:04.30),
    16.( 2:44.69)

    Table of Contents: starting sectors
    1.( 0), 2.( 1519), 3.( 17465), 4.( 20629), 5.( 29114),
    6.( 32660), 7.( 40282), 8.( 77105), 9.( 85806), 10.( 86387),
    11.( 92252), 12.( 97401), 13.( 105466), 14.( 123399), 15.( 129360),
    16.( 138690), lead-out( 151059)
    CDINDEX discid: iMnZhlrJd2ofy3FM7xlYXQ5YF1s-
    CDDB discid: 0xae07de10 CDDBP titles: resolved
    CD-Text: not detected
    CD-Extra: not detected
    Album title: 'Reveille' [from DeerHoof]
    Track 1: 'Sound The Alarm'
    Track 2: 'This Magnificent Bird Will Rise'
    Track 3: 'The Eyebright Bugler'
    Track 4: 'Punch Buggy Valves'
    Track 5: 'No One Fed Me So I Stayed'
    Track 6: 'Our Angel's Ululu'
    Track 7: 'The Last Trumpeter Swan'
    Track 8: 'Top Tim Rubies'
    Track 9: 'Tuning A Stray'
    Track 10: 'Holy Night Fever'
    Track 11: 'All Rise'
    Track 12: 'Frenzied Handsome, Hello!'
    Track 13: 'Days & Nights In The Forest'
    Track 14: 'Hark The Umpire'
    Track 15: 'Cooper'
    Track 16: 'Hallelujah Chorus'
    samplefile size will be 355290812 bytes.
    recording 2014.1199 seconds stereo with 16 bits 44100.0 Hz ->'audio'...
    percent_done:
    0%resid: 176400
    4%resid: 176400
    9%resid: 176400
    14%resid: 176400
    19%resid: 176400
    24%resid: 176400
    29%resid: 176400
    34%resid: 176400
    39%resid: 176400
    44%resid: 176400
    49%resid: 176400
    54%resid: 176400
    59%resid: 176400
    64%resid: 176400
    69%resid: 176400
    74%resid: 176400
    79%resid: 176400
    83%resid: 176400
    88%resid: 176400
    93%resid: 176400
    98%resid: 176400
    103%resid: 176400
    0%resid: 176400
    1%resid: 176400
    100% track 1 'Sound The Alarm' successfully recorded


    NB - when I run the same command with -D0,0,0, the percent_done field just
    updates nicely - no "resid:" part.
    Rob Guest

  2. #2

    Default Re: cdda2wav problems

    In article <n7Lbb.8991$force9.net>,
    Rob Fisher <force9.net> wrote: 
     
    ^^^^^^^^
    !!!!!!!
     

    If you run Solaris 8 you need to apply a IDE DMA patch.

    Don't use outdated versions.

    http://www.fokus.fhg.de/research/cc/glone/employees/joerg.schilling/private/problems.html

    --
    EMail:isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
    tu-berlin.de (uni) If you don't have iso-8859-1
    fraunhofer.de (work) chars I am J"org Schilling
    URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
    Joerg Guest

  3. #3

    Default Re: cdda2wav problems

    >#Cdda2wav version 2.00.3_sunos5_5.8_i86pc_i386, real time sched. 

    I don't understant what you're getting at here Joerg. x86 arch is supported
    isn't it? If you mean why am I not posting in alt.solaris.x86, it's because
    this group has more traffic, and I had always thought SPARC and x86
    questions were fine in here.
     

    I applied the one in the README.solaris-x86-ata-DMA file, but it made no
    difference. As I said in my OP, the IDE CD-ROM I have works fine, I'm just
    having problems with a SCSI one, so I assumed tweaking the ATA driver
    wouldn't affect me.
     

    I got 2.01a19 and I'm still having the same problem.

    cdda2wav seems to be communicating with the drive, initially at least, as it
    gets the discid, number of tracks etc. What does the resid: 176400 message
    mean? I haven't been able to google anything relevant, and though I poked
    through the source but it's not immediately obvious to a dummy like me
    exactly what's going on. (Certainly not in the time I had to look at it!)


    Rob
    Rob Guest

Similar Threads

  1. Still having problems
    By christo@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 6
    Last Post: September 16th, 11:43 PM
  2. problems with ASP
    By RG in forum ASP.NET Web Services
    Replies: 3
    Last Post: May 19th, 03:14 AM
  3. Problems with CFC
    By raulriera in forum Macromedia ColdFusion
    Replies: 0
    Last Post: April 1st, 03:47 AM
  4. Replies: 0
    Last Post: September 22nd, 02:18 PM
  5. VSS problems
    By Harry Simpson in forum ASP.NET General
    Replies: 0
    Last Post: July 15th, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139