FS#13969 - /dev/cdrom broken after upgrade to kernel26-2.6.28.8
Attached to Project:
Arch Linux
Opened by Johannes Dewender (JonnyJD) - Thursday, 26 March 2009, 17:18 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 01 April 2009, 06:30 GMT
Opened by Johannes Dewender (JonnyJD) - Thursday, 26 March 2009, 17:18 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 01 April 2009, 06:30 GMT
|
Details
Description:
I upgraded to the new kernel and I couldn't use /dev/cdrom as the standard CD device anymore. For example doing this while having an audio CD in the cd drive: cdparanoia -Q yields /dev/cdrom exists but isn't accessible. By default, ... More information about /dev/cdrom: Checking /dev/cdrom for cdrom... Could not stat /dev/cdrom: No such file or directory The symlinks are correct: lrwxrwxrwx 1 root root 21 26. Mär 17:16 /dev/cdrom -> /dev/cd/cdrom-1:0:0:0 lrwxrwxrwx 1 root root 6 26. Mär 17:16 /dev/cd/cdrom-1:0:0:0 -> ../sr0 brw-rw---- 1 root optical 11, 0 26. Mär 17:16 /dev/sr0 and doing cdparanoia -Q /dev/sr0 works and gives the TOC of the CD. I checked, that udev-140 was not the problem. Downgrading udev didn't help, but downgrading the kernel did. There is also a thread in the forum about the problem: http://bbs.archlinux.org/viewtopic.php?pid=522727 Additional info: * package version(s) kernel26-2.6.28.8-1 fails kernel26-2.6.28.7-2 works Steps to reproduce: upgrade to kernel26-2.6.28.8-1 put an Audio CD in your drive and do a "cdparanoia -Q". (Make sure that drive is you standard one pointed to by /dev/cdrom) |
This task depends upon
I also found out something new:
The symlinks are only correct with the new kernel before you insert anyting into your CD drive.
After I insert a disc I only get:
lrwxrwxrwx 1 root root /dev/cd/cdrom- -> ../sr0
instead of the correct link before
lrwxrwxrwx 1 root root /dev/cd/cdrom-1:0:0:0 -> ../sr0
This doesn't recover, when I take the disc out again.
So the behavior is very similar to
http://bugs.archlinux.org/task/12177
but like I said. this was fine for me with 2.6.28.7
There it was some custom kernel. My guess is, that some of these custom parts are now in the stable kernel.
> pacman -Q | grep udev
klibc-udev 140-1
udev 140-1
> ll /dev/dvd
lrwxrwxrwx 1 root root 19 2009-03-26 20:43 /dev/dvd -> /dev/cd/dvd-0:0:0:0
> ll /dev/cd/dvd-0:0:0:0
ls: cannot access /dev/cd/dvd-0\:0\:0\:0: No such file or directory
> ll /dev/cd/
total 0
lrwxrwxrwx 1 root root 6 2009-03-26 20:43 cdrom- -> ../sr0
lrwxrwxrwx 1 root root 6 2009-03-26 20:43 cdrw- -> ../sr0
lrwxrwxrwx 1 root root 6 2009-03-26 20:43 dvd- -> ../sr0