[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

udev: /dev/hdc fehlt Kein cdrom/dvd nach kernel und dist-upgrade



Hallo Liste,

Ich habe das Problem, dass nach einem dist-upgrade und einem Kernel 
update von 2.6.8 -> 2.6.10 meine udev Konfiguration kein cdrom 
device /dev/hdc mehr erstellt (/dev/dvd und /dev/cdrom fehlen deshalb 
ebenso).

Linux debian 2.6.10-rc3.20041218n #1 Sat Dec 18 21:35:28 CET 2004 i686 
GNU/Linux

udev/unstable uptodate 0.050-4
hal/unstable uptodate 0.4.4-1
gnome-volume-manager/testing uptodate 1.1.2-5

$ grep CONFIG_BLK_DEV_IDECD /usr/src/linux/.config
CONFIG_BLK_DEV_IDECD=y

$ grep hd /var/log/boot
Sun Jan  9 00:22:27 2005: /dev/hdc: No such file or directory
Sun Jan  9 00:22:27 2005: /dev/hdd: No such file or directory

$ grep ide /etc/udev/udev.rules
# of the different fields. They provide the following subsitutions:
BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", 
PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", 
MODE="0660", GROUP="cdrom"
BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", 
PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy*", NAME="%k", 
MODE="0660", GROUP="floppy"
[...video]

$ grep ide /etc/udev/permissions.d/udev.permissions
ide/*/cd:root:cdrom:0660
ide/*:root:disk:0660

$ ls /dev/hd[a-d]
/dev/hda  /dev/hdb

Unter kanotix 0.7 ist das cdrom ansprechbar.

Wie kann ich den Fehler finden?

Google und Liste war nicht sehr erfolgreich, da das Problem dort meist 
nur die fehlenden symlinks waren. Hier fehlt das device selbst

$ udevinfo -a -p /sys/block/hdc
couldn't get the class device

Vor dem upgrade ging alles :-(

Ich lade gerade den patch auf den stabilen 2.6.10 herunter, und gehe 
dann wohl nochmals die Konfiguration durch. Falls jemand eine andere 
Idee hat, wäre es hilfreich sie mitzuteilen.

I already read this by Jim McCloskey <mcclosk@ucsc.edu> 28.12.2004 
debian.user

Two suggestions:

[1] Maybe this is related to the problem reported as Bug #287225 
    against udev at http://bugs.debian.org 
    If your problem is (in part) the same, you'll find a workaround in 
    that correspondence.

[2] For udev to function properly, it is often important that the   
     relevant kernel module be loaded at boot time, by being listed 
     in /etc/modules. For a 2.6 series kernel, you will not want    
     ide-scsi. The relevant kernel configuration option is 
     CONFIG_BLK_DEV_IDECD. If that option is configured
     as a module, it will be called ide-cd. If that is how your kernel 
     is configured, maybe you should include ide-cd as a line 
    in /etc/modules?

zu [1]  dort geht es um symlinks, so weit ich das sehe 
zu [2]  CONFIG_BLK_DEV_IDECD ist nicht als modul sondern fest in den 
          Kernel kompiliert.

Gruß

Gerhard



Reply to: