8-current + USB CD-ROM drive + CAM layer audio extraction from CD

Hans Petter Selasky hselasky at c2i.net
Thu Jul 23 22:09:17 UTC 2009


Hi,

I have a CD I want to extract audio from, giving me trouble this time. 
Plugging the USB CD-ROM into a MAC allows for instant audio playback. I'm 
pretty sure that digital audio extraction works. The USB CD-ROM drive is made 
by Samsung. The CD is made by forefront/EMI.

At first I thought that this is another example of record labels making deals 
with hardware manufacturers, but I'm leaving a chance it might be a bug in the 
CAM layer.

This is the dmesg I get:

umass1: <TSSTcorp USB Mass Storage Device, class 0/0, rev 2.00/6.06, addr 7> 
on usbus4
umass1:  8070i (ATAPI) over Bulk-Only; quirks = 0x0000
umass1:1:1:-1: Attached to scbus1
cd0 at umass-sim1 bus 1 target 0 lun 0
cd0: <TSSTcorp CDDVDW SE-S224Q TS02> Removable CD-ROM SCSI-0 device 
cd0: 40.000MB/s transfers
cd0: cd present [331838 x 2048 byte records]
(cd0:umass-sim1:1:0:0): READ(10). CDB: 28 0 0 5 10 3d 0 0 1 0 
(cd0:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(cd0:umass-sim1:1:0:0): SCSI Status: Check Condition
(cd0:umass-sim1:1:0:0): ILLEGAL REQUEST asc:64,0
(cd0:umass-sim1:1:0:0): Illegal mode for this track
(cd0:umass-sim1:1:0:0): Unretryable error
(cd0:umass-sim1:1:0:0): cddone: got error 0x6 back




How should I proceed debugging this?



I might be able to sniff the USB cable of the drive to figure out what the MAC 
is doing as a reference.


--HPS



More information about the freebsd-current mailing list