View previous topic :: View next topic |
Author |
Message |
ew n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9596438544142ff8c264c8.png)
Joined: 28 Aug 2004 Posts: 47
|
Posted: Tue Sep 13, 2005 9:37 am Post subject: cdparanoia+2.6.12r10+udev stops working |
|
|
Since the upgrade from 2.6.x+devfs to 2.6.12r10+udev cdparanoia stops working. cdparanoia say that I don't have a CDROM and that's the problem. (I'm talking about a real SCSI device and not some ATAPI emulation.)
I copied the kernelconfigs from the last working release to the current release of my kernel so I don't think I'm missing any modules here. Mounting a data cd is working perfectly:
% df | grep cdrom
/dev/cdrom 699M 699M 0 100% /tmp/cdrom
Reading from the CD is okay too:
% xxd /dev/cdrom
[...]
Using cdparanoia on an audio CD is not working:
cdparanoia -vsB wrote: | cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus
Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/
Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/sr0 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
No generic SCSI device found to match CDROM
device /dev/sr0
Checking /dev/cdroms/cdrom0 for cdrom...
Could not stat /dev/cdroms/cdrom0: No such file or directory
[...]
|
cdparanoia -v -B --force-cdrom-device=/dev/sr0 wrote: | cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus
Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/
Checking /dev/sr0 for cdrom...
Testing /dev/sr0 for cooked ioctl() interface
/dev/sr0 is not a cooked ioctl CDROM.
Testing /dev/sr0 for SCSI interface
No generic SCSI device found to match CDROM
device /dev/sr0
|
The device node is the same:
% dir -al /dev/sr0
brw-rw---- 1 root cdrom 11, 0 Sep 7 2005 /dev/sr0
cdparanoia don't support any use flags so I can't do a wrong thing here!
I've tried all the stuff as root.
What is the problem here? Is this a known issue (https://bugs.gentoo.org says no)? Any alternatives to cdparanoia? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrbecke Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/133843925942304840de767.jpg)
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ew n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9596438544142ff8c264c8.png)
Joined: 28 Aug 2004 Posts: 47
|
Posted: Thu Sep 15, 2005 8:58 am Post subject: |
|
|
Thanks for the answer!
http://www.xiph.org/paranoia/trouble.html#gendev wrote: |
1) The kernel has generic SCSI support compiled in (or the generic module available). Generic SCSI support does *not* mean only SCSI or SCSI CDROM.
2) Those using ATAPI CDROM drives with IDE-SCSI emulation must *not* have ATAPI CDROM support included. ATAPI IDE-SCSI emulation users must have all the appropriate SCSI support selected.
3) The generic SCSI devices (/dev/sg*) must exist and be accessible. Check that permissions on the device entries allow user or group read *and* write access (it's safest to grant user or group access only to the device matching the cdrom).
|
1) I don't know which kernel modules are really necessary. The SCSI-CDROM is working fine with data CDs so I think I the kernel is fine. Are there any extra modules for audio cds?
2) My CD is not an ATAPI CDROM. It's a real scsi device and I'm working as root.
3) /dev/sr0 is in good condition:
% mount /dev/sr0 /tmp/cd
mount: block device /dev/sr0 is write-protected, mounting read-only
Any other hints? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrbecke Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/133843925942304840de767.jpg)
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Thu Sep 15, 2005 9:24 am Post subject: |
|
|
ew wrote: | http://www.xiph.org/paranoia/trouble.html#gendev wrote: |
1) The kernel has generic SCSI support compiled in (or the generic module available). Generic SCSI support does *not* mean only SCSI or SCSI CDROM. |
|
As far as I understand, even if you've got a genuine SCSI cdrom, you still have to enable "Device Drivers->SCSI device support->SCSI generic support". This will make sure that a /dev/sgX device is created for your cdrom, which is needed for cdparanoia to work.
Last edited by chrbecke on Thu Sep 15, 2005 9:27 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ew n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9596438544142ff8c264c8.png)
Joined: 28 Aug 2004 Posts: 47
|
Posted: Thu Sep 15, 2005 9:24 am Post subject: cdparanoia+2.6.12r10+udev stops working [SOLVED] |
|
|
'/usr/share/doc/cdparanoia-3.9.8-r2/README.gz' gave me the answer. The not loaded module 'sg' was the solution to the problem. After a 'insmod sg' everything was fine. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrbecke Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/133843925942304840de767.jpg)
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Thu Sep 15, 2005 9:28 am Post subject: Re: cdparanoia+2.6.12r10+udev stops working [SOLVED] |
|
|
ew wrote: | '/usr/share/doc/cdparanoia-3.9.8-r2/README.gz' gave me the answer. The not loaded module 'sg' was the solution to the problem. After a 'insmod sg' everything was fine. |
So, different source, same solution. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ew n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9596438544142ff8c264c8.png)
Joined: 28 Aug 2004 Posts: 47
|
Posted: Thu Sep 15, 2005 12:04 pm Post subject: Re: cdparanoia+2.6.12r10+udev stops working [SOLVED] |
|
|
Thanks for pushing me in the right direction! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|