Bug 131762
Summary: | Missing /dev/cdrom and /dev/sr0 when using kernel-2.6.8-1.541 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike <lsomike> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | anvil, bmillett, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 19:05:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike
2004-09-04 00:49:19 UTC
Not just firewire. Plain jane toshiba satellite laptop. No /dev/cd*, just /dev/hdc. For cd/dvd I have to go back to at least 2.6.7-1.517 to use k3b, but that is another bug. With 541, I get a lot of error messages at boot time about the /dev file system. Sorry, but I do not know how to capture or retain those messages as they are not written to /var/log/messages My udev & dev & MAKEDEV & initscripts are: dev-3.11-1 initscripts-7.77-1 udev-030-18 MAKEDEV-3.11-1 I see a similar issue on 541 invovling the sg module and my usb scanner I have to manually modprobe sg with 541 and then sane-find-scanner detects my scanner. I revert back to kernel 535 and the manual modprobe of sg is unneeded. All other package versions are the same and synced with rawhide as of Sep 3 noon EST. -jef I doubt this has anything to do with the actual kernel, but rather with the addition of initrd-time udev in recent mkinitrd versions. Try re-creating the initrd for the latest kernel with mkinitrd --noudev, or re-create the initrd for the older kernel, and you'll probably see the behavior change without change in the underlying kernel. Right. A solution to the udev problem for me runing 540 kernel is here at this bug https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131763 This problem resolved for me thanks to the discussion concerning udev.conf in comment #7 of Bug 131763. the new udev package creates /dev/cdrom links and renames /dev/sr? to /dev/scd? Ok, but what happened to /dev/dvd ? did that exist ever? Sure, ogle defaults to /dev/dvd as does xine. If I create the symlink, then it is gone at next boot. I tried adding this to the 50-udev.rules KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/model | cut -d' ' -f 2", RESULT="DVD", NAME="%k", SYMLINK="dvd%e" and remade the initrd, but it didn't work. please use e.g. 10-udev.rules, so that it does not get overwritten by the udev package. You do not have to remake your initrd for that. $ /bin/cat /proc/ide/hdc/model | cut -d' ' -f 2 DVD-RW your rule does not always work. You cannot rely on the second word to be DVD. /proc/sys/dev/cdrom/info is the file to parse. Thanks, That is perfect. *** This bug has been marked as a duplicate of 133841 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |