[paranoia] Mis-identified interface

der Mouse mouse at Rodents.Montreal.QC.CA
Thu Feb 21 14:50:50 PST 2002



I just recently started playing with cdparanoia.  I was a little
dubious at first, because it claims to be Linux-only and I don't run
Linux, but it turns out to be fairly easy to patch it up to make it
work on NetBSD, which is what I do run.  (I'm using "cdparanoia III
release 9.7 (December 13, 1999)".  I started with the NetBSD pkgsrc
patches, tweaked a little because the patches assume things about the
build tools that aren't valid for me.)

It works fine on my NetBSD/i386 box with an ATAPI drive.  But on a
NetBSD/sparc box with a SCSI drive, it mis-identifies it as ATAPI and
proceeds to poke at it and decide it can't do CDDA.  (I don't know
whether it actually can or not; this note is largely prompted by the
mis-identification of it as ATAPI.)

Now, you may not care, since this _is_ pushing the envelope of what's
supported.  But this also might, it seems to me, indicate a real bug,
in which case you may well care.

I do have various other SCSI CD drives; I'll probably try them as well
when I find enough round tuits.

I did note a lack of command-line options to override the interface
decision; since it's based at least partially on heuristics (witness
this incorrect guess), this is arguably a Wrong Thing....

The drive shows up at boot time as

cd0 at scsibus0 targ 6 lun 0: <SONY, CD-ROM CDU-541, 2.6a> SCSI2 5/cdrom removable

and here's what cdparanoia -Q -v has to say.

+----------------
| cdparanoia III release 9.7 (December 13, 1999)
| (C) 1999 Monty <monty at xiph.org> and Xiphophorus
| 
| Report bugs to paranoia at xiph.org
| http://www.xiph.org/paranoia/
| 
| 	Testing /dev/rcd0c for SCSI interface
| 		generic device: /dev/rcd0c
| 		ioctl device: /dev/rcd0c
| 		CDROM sensed: SONY CD-ROM CDU-541 2.6a 
| 
| Checking for SCSI emulation and transport revision...
| 	No SG_EMULATED_HOST ioctl(); Checking inquiry command...
| 	Inquiry bytes: 0x05 0x80 0x02 0x01
| 	Drive is reporting itself as SCSI-1-CCS, but is
| 	probably just a buggy/broken ATAPI drive.  Assuming
| 	ATAPI.
| 
| Checking for MMC style command set...
| 	Drive does not have MMC CDDA support
| Verifying CDDA command set...
| 	Expected command set FAILED!
| 	Performing full probe for CDDA command set...
| 	test -> density: [none    ]  command: [28 0x,00]
| 		Drive rejected read command packet(s)
| 	test -> density: [yes/0x00]  command: [28 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x04]  command: [28 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x81]  command: [28 0x,00]
| 		Drive rejected density set
| 	test -> density: [none    ]  command: [a8 0x,00]
| 		Drive rejected read command packet(s)
| 	test -> density: [yes/0x00]  command: [a8 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x04]  command: [a8 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x81]  command: [a8 0x,00]
| 		Drive rejected density set
| 	test -> density: [none    ]  command: [be 00,10]
| 		Drive rejected read command packet(s)
| 	test -> density: [none    ]  command: [be 00,f8]
| 		Drive rejected read command packet(s)
| 	test -> density: [none    ]  command: [be 04,f8]
| 		Drive rejected read command packet(s)
| 	test -> density: [none    ]  command: [d4(10)0x]
| 		Drive rejected read command packet(s)
| 	test -> density: [yes/0x00]  command: [d4(10)0x]
| 		Drive rejected density set
| 	test -> density: [yes/0x04]  command: [d4(10)0x]
| 		Drive rejected density set
| 	test -> density: [yes/0x81]  command: [d4(10)0x]
| 		Drive rejected density set
| 	test -> density: [none    ]  command: [d4(12)0x]
| 		Drive rejected read command packet(s)
| 	test -> density: [yes/0x00]  command: [d4(12)0x]
| 		Drive rejected density set
| 	test -> density: [yes/0x04]  command: [d4(12)0x]
| 		Drive rejected density set
| 	test -> density: [yes/0x81]  command: [d4(12)0x]
| 		Drive rejected density set
| 	test -> density: [none    ]  command: [d5 0x,00]
| 		Drive rejected read command packet(s)
| 	test -> density: [yes/0x00]  command: [d5 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x04]  command: [d5 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x81]  command: [d5 0x,00]
| 		Drive rejected density set
| 	test -> density: [none    ]  command: [d8 0x,00]
| 		Drive rejected read command packet(s)
| 	test -> density: [yes/0x00]  command: [d8 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x04]  command: [d8 0x,00]
| 		Drive rejected density set
| 	test -> density: [yes/0x81]  command: [d8 0x,00]
| 		Drive rejected density set
| 	Unable to find any suitable command set from probe;
| 	drive probably not CDDA capable.
| 006: Could not read any data from drive
| 
| Cdparanoia could not find a way to read audio from this drive.
+----------------

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse at rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to 'paranoia-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Paranoia mailing list