Bug 183652
Summary: | udev-0.84-10 cd/dvd scheme is a mess | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sammy <umar> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-01-31 12:01:10 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
Sammy
2006-03-02 15:14:58 UTC
which kernel do you use? I am using 2.6.15.3 based kernel, everything else is at daily rawhide level. you should have with kernel-2.6.15-1.1975_FC5: $ cat /sys/block/hda/device/media cdrom $ cat /sys/block/hdb/device/media cdrom Hi, I have the kernel 2.6.15-1.1826.2.14_FC5 which is 2.10 recompiled with 2.6.15.4 patch. For this kernel there is no media in /sys but in /proc : cat /proc/ide/ide0/hda/media cdrom cat /proc/ide/ide0/hdb/media cdrom I don't have 1.1975 but I guess you are telling me that I some point kernel moved these to /sys interface. If you need me to try out let me know. Using 2.6.15-1.1996_FC5 from rawhide I have: IN /sys: cat /sys/devices/pci0000:00/0000:00:1f.1/ide0/0.1/media cdrom cat /sys/devices/pci0000:00/0000:00:1f.1/ide0/0.0/media cdrom AND in /proc cat /proc/ide/ide0/hda/media cdrom cat /proc/ide/ide0/hdb/media cdrom and for 2.6.15-1.1996_FC5 you should then have /dev/cdrom... So, there sould be a kernel requires for latest udev's? It seems like it because I have another problem with older kernels and udev-0.84-10, namely SCSI tape logical link is not created with -10 but created with -6. I have an external scsi tape nst0. The only reason I am using the old kernel is due to sound problems with intel-hda on the 2.6.16 based kernels. As soon as kernel people fix this I will update (I hope they will for 2.6.16 final). Again, a recap with a 2.6.15.6 based kernel and udev-0.84-13: The system has a CDRW as hda and a DVD/RW as hdb, as well as an external scsi tape drive nst0. Missing logical links are cdrom and tape. Also, I think cdwriter should point to hda while dvdwriter correctly points to hdb. Here is what I have: lrwxrwxrwx 1 root root 3 Mar 9 08:46 cdrw -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 cdrw-hda -> hda lrwxrwxrwx 1 root root 3 Mar 9 08:46 cdrw-hdb -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 cdwriter -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 cdwriter-hda -> hda lrwxrwxrwx 1 root root 3 Mar 9 08:46 cdwriter-hdb -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 dvd -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 dvd-hdb -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 dvdrw -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 dvdrw-hdb -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 dvdwriter -> hdb lrwxrwxrwx 1 root root 3 Mar 9 08:46 dvdwriter-hdb -> hdb please use a Fedora kernel or patch the Fedora kernel... I am using the latest FC4 kernel update recompiled on FC5. What would be the patch? I can deal with this by putting logical links into /etc/udev/devices but I was wondering if the latest udev requires a Fedora kernel greater than certain version. I'll switch to 2.6.16 base when alsa people solve the hda-intel sound (or no sound) problem, which is not making it into the final 2.6.16 because the changes are too big. |