From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Description of problem: On recent kernel releases, the scsi generic device is no longer available for CDROM devices (see bug https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120490) Due to this, cdparanoia fails to work: [sun@nausicaa ~ :( (1) 6]$ cdparanoia -vsQ cdparanoia III release 9.8 (March 23, 2001) (C) 2001 Monty <monty> and Xiphophorus Report bugs to paranoia http://www.xiph.org/paranoia/ Checking /dev/cdrom for cdrom... Testing /dev/cdrom for cooked ioctl() interface /dev/scd0 is not a cooked ioctl CDROM. Testing /dev/cdrom for SCSI interface Error trying to open /dev/sg0 exclusively (No such device or address). retrying in 1 second. Error trying to open /dev/sg0 exclusively (No such device or address). retrying in 1 second. Error trying to open /dev/sg0 exclusively (No such device or address). retrying in 1 second. Error trying to open /dev/sg0 exclusively (No such device or address). retrying in 1 second. ..... It might have to be rewritten to use SG_IO on the cdrom device. Version-Release number of selected component (if applicable): cdparanoia-alpha9.8-20.1 How reproducible: Always Steps to Reproduce: 1. Use cdparanoia on a SCSI cdrom with current kernels 2. 3. Actual Results: Error messages about scsi generic Expected Results: Successful ripping Additional info:
There are packages that use SG_IO at http://people.redhat.com/pjones/cdparanoia/ . The patch is experimental, and I'd like more feedback before making such an invasive change to the tree.
Works in 2 cases out of 3. The failing drive is a Plextor PX-40TS (1.05 firmware). strace from cdparanoia is attached.
Created attachment 99574 [details] strace cdparanoia on plextor drive
The same drive works with kernel-2.6.4-1.300 and cdparanoia-alpha9.8-20.1. strace attached.
Created attachment 99589 [details] strace on plextor drive (working)
Any chance I can get you to rerun that last one with "strace -s3000"?
Attached. I reduced cdparanoia to read the first ten sectors of the track.
Created attachment 99635 [details] cdparanoia on plextor drive (working, long form)
cdparanoia sometimes kicks the current CDROM from the bus (resetting the whole bus in the process). See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122007
*** Bug 123280 has been marked as a duplicate of this bug. ***
Peter, please, take a look at bug #123618 .. related ? unrelated ?
*** Bug 122551 has been marked as a duplicate of this bug. ***
You can spare yourself the straces... we KNOW what the problem is. It's that arjanv deliberately broke the sg interface. He decided that sg should be deprecated because the other scsi devices can now fill the same function so sg now no longer attaches to drives that are already claimed by another driver (sd, sr). arjanv did this despite my and others pointing out that there are still applications that rely on sg and can't be forced to use i.e. /dev/scd0 the way cdrecord can. See fedora-devel and fedora-test for this history on this. The solution is to fix cdrecord and grip to do SG_IO on the regular cdrom device. (Right even if you give "-g /dev/scd0" it doesn't do the right thing, but I haven't looked at the code to see why.) Although the above is the correct solution that doesn't absolve arjan from knowingly breaking these apps late in the Fedora 2 release cycle, which has me really down on the whole RedHat / Fedora thing.
Jurgen, I'd really rather get cdparanoia up to snuff with SG_IO than have to read political posts in my bugzillas. So if you wouldn't mind, testing the packages linked to above is fair game, let me know any problems whatsoever. Complaining about removal of sg is an argument for some other venue. As far as I'm concerned, sg is depricated, and the bug is that cdparanoia in fc2 is still using it.
Dams, I think 123618 is related, but I'm going to leave it seperate until I get a chance to push another package with a fix in it, and then see if _this_ problem still occurs.
Peter, your SG_IO cdparanoia packages work for me.
cdparanoia and the kernel seem to have settled down, I have no more obvious problems.