Hi,

I'm trying to duplicate an audio CD using my ATAPI CD-RW drive on
FreeBSD-4.7-STABLE with sources dated on Dec 19, 2002.

The cdda2wav utility identifies my drive+CD as:

Type: ROM, Vendor 'SONY    ' Model 'CD-RW CRX1611   ' Revision 'TYS3' MMC+CDDA

which leads me to believe that it supports CDDA and can rip an audio CD.  The
drive itself is the master on the second IDE bus and has one slave.

However, whenever I try using cdda2wav, cdrdao, grip, or xcdroast I get
either a cryptic error message or the ripper program (usually cdrdao) locks-up
and I need to reboot.

I have no sound card.  I don't really see how this should be a problem
when I'm trying to rip an audio cd (I'm not trying to play it!).  ????

Note that the track titles themselves are visible.  I can see the correct
number of track and track titles using cdrdao and grip.  Neither program
can read the actual audio data on the tracks, though.

I included snippets from dmesg.boot, cdrecord -scanbus, camcontrol devlist,
and cdda2wav.

Thanks very much for any help that anyone can offer.

Here is the (verbose) output of cdda2wav:

turquoise# cdda2wav -D 1,0,0 -B -V -vall -S1

test unit ready...
Executing 'test unit ready' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 300s

Executing 'inquiry' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  12 00 00 00 24 00
cmd finished after 0.000s timeout 300s
Inquiry Data   : 05 80 00 21 1F 00 00 00 53 4F 4E 59 20 20 20 20 43 44 2D 52 57 20
Type: ROM, Vendor 'SONY    ' Model 'CD-RW CRX1611   ' Revision 'TYS3' 
Executing 'test unit ready' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 300s

Executing 'mode sense g1' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  5A 00 3F 00 00 00 00 00 08 00
cmd finished after 0.000s timeout 300s
Mode Sense Data 00 70 02 00 00 00 00 00

Executing 'test unit ready' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 300s

Executing 'mode sense g1' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  5A 00 2A 00 00 00 00 00 02 00
cmd finished after 0.000s timeout 300s
Mode Sense Data 00 1C
Mode Sense Data (converted) 19

Executing 'test unit ready' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 300s

Executing 'mode sense g1' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  5A 00 2A 00 00 00 00 00 1E 00
cmd finished after 0.000s timeout 300s
Mode Sense Data 00 1C 02 00 00 00 00 00 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 
90 00 00 0B 06 0B 06
Mode Sense Data (converted) 19 02 00 00 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 
90 00 00 0B 06 0B 06
Mode Sense Data 19 02 00 00 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 90 00 00 0B 
06 0B 06
Mode Page  Data 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 90 00 00 0B 06 0B 06

Executing 'test unit ready' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 300s

Executing 'mode sense g1' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  5A 00 2A 00 00 00 00 00 1E 00
cmd finished after 0.000s timeout 300s
Mode Sense Data 00 1C 02 00 00 00 00 00 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 
90 00 00 0B 06 0B 06
Mode Sense Data (converted) 19 02 00 00 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 
90 00 00 0B 06 0B 06
Mode Sense Data 19 02 00 00 2A 14 07 07 F7 7F 29 23 1B 90 01 00 08 00 1B 90 00 00 0B 
06 0B 06
MMC+CDDA

Executing 'test unit ready' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 300s

get density and sector size...
Executing 'mode sense g1' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  5A 00 01 00 00 00 00 00 10 00
cmd finished after 0.000s timeout 300s
Mode Sense Data 00 0E 02 00 00 00 00 00 01 06 00 10 00 00 00 00
Mode Sense Data (converted) 0B 02 00 00 01 06 00 10 00 00 00 00
266240 bytes buffer memory requested, 4 buffers, 27 sectors

Read Full TOC MMC...
Executing 'read full toc mmc' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  43 00 02 00 00 00 01 04 9D 00
cmd finished after 0.001s timeout 300s

Read TOC CD Text size ...
Executing 'read toc size (text)' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  43 00 05 00 00 00 00 00 04 00
cmd finished after 0.000s timeout 300s
#Cdda2wav version 1.11a39_freebsd_4.7-stable_i386_i386, real time sched., soundcard, 
libparanoia support
Warning: first track has negative start sector! Setting to zero.
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      0- 0           no              no     audio    2
Table of Contents: total tracks:1, (total time 0:02.00)
  0.( 0:00.00)

Table of Contents: starting sectors
  0.(       0), lead-out(       0)
CDINDEX discid: cGNbCcEyjh0mObfBg8wDvKpWc80-
CDDB discid: 0xfffc4001
CD-Text: not detected
CD-Extra: not detected
scanning for MCN...
Read Subchannel...
Executing 'Read Subchannel' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  42 00 40 02 00 00 00 00 18 00
cmd finished after 0.000s timeout 300s

No media catalog number present.

scanning for ISRCs: 0 ...
Read Subchannel...
Executing 'Read Subchannel' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  42 00 40 03 00 00 00 00 18 00
cdda2wav: Input/output error. Read Subchannel: scsi sendcmd: retryable error
CDB:  42 00 40 03 00 00 00 00 18 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.000s timeout 300s

Read Subchannel_dumb...
Executing 'Read Subchannel_dumb' command on Bus 1 Target 0, Lun 0 timeout 300s
CDB:  42 00 40 00 00 00 00 00 18 00
cdda2wav: Input/output error. Read Subchannel_dumb: scsi sendcmd: retryable error
CDB:  42 00 40 00 00 00 00 00 18 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.000s timeout 300s
Read SubQ failed


W Sector offset 0 exceeds track size (ignored)
Time interval is too short. Choose a duration greater than 0.00 secs!
Please use -help or consult the man page for help.




Here is the relevent info from dmesg.boot:

[...]
ad0: 39083MB <Maxtor 34098H4> [79408/16/63] at ata0-master UDMA100
ad3: 4121MB <Maxtor 90432D3> [8374/16/63] at ata1-slave UDMA33
acd0: CD-RW <SONY CD-RW CRX1611> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <SONY CD-RW CRX1611 TYS3> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [272787 x 2048 byte records]




Also note that I am able to burn data CDs using xcdroast without any trouble
and that cdrecord sees them on the fake/simulated SCSI bus:

turquoise# cdrecord -scanbus
Cdrecord 1.11a39 (i386-unknown-freebsd4.7) Copyright (C) 1995-2002 Jörg Schilling
Using libscg version 'schily-0.7'
scsibus1:
        1,0,0   100) 'SONY    ' 'CD-RW CRX1611   ' 'TYS3' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *




turquoise# camcontrol devlist
<SONY CD-RW CRX1611 TYS3>          at scbus1 target 0 lun 0 (pass0,cd0)
turquoise#


-- 
If I could think of a two-line witty aphorism for you to remember
me by, this would definitely be it.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to