[2.6.37] /dev/sr0 disappears

From: Nico
Date: Fri Jan 14 2011 - 03:53:21 EST







Hi,

I'm having a somewhat strange problem on a freshly compiled 2.6.37 kernel. The problem is that whenever I boot my system with this kernel version, my SATA DVD writer disappears in the sense that udev does not seem to make a block device (/dev/sr0) in /dev. Messages from dmesg indicate that it detects my drive, but udev does not seem to want to make entries for it in /dev. My system isn't old at all (openSUSE 11.3) and my udev version is udev-157-3.1.x86_64. If I boot back to 2.6.36.3, all works fine so I'm not really sure where to look or which to blame (kernel or udev). Below is my "persistent-cd.rules" file of udev, which works on 2.6.36.x but not on 2.6.37. When I configured this .37 kernel, I did not mess around with the char/block options in the config and when I look at them, I do not find anything outstanding that should cause this behavior. Any pointers on where to look or how to fix this issue?

# DVD_RW_AD-7260S (pci-0000:00:11.0-scsi-1:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"

PS: please CC me as I'm not subscribed to the list
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/