[SOLVED] Re: udev: /dev/hdc fehlt immer noch
Am Sonntag 09 Januar 2005 21:54 schrieb Gerhard Gaußling:
> Ich kompiliere gerade den auf 2.6.10 gepatchten (ehemals) 2.6.10-rc3
> neu. Mal sehen, ob das hilft. Sonst noch Vorschläge
Hallo,
Das hat's gebracht!
$ wget
http://www.kernel.org/pub/linux/kernel/v2.6/testing/incr/patch-2.6.10-rc3-final.bz2
$ bunzip2 patch-2.6.10-rc3-final.bz2
$ cd /usr/src/linux
$ patch -p1 < patch-2.6.10-rc3-final
$ fakeroot make-kpkg clean && make-kpkg --append-to-version=.20050109
--revision="10.00.Custom.gg" kernel_image modules_image
$ sudo dpkg
-i ../kernel-image-2.6.10.20050109_10.00.Custom.gg_i386.deb ../nvidia-kernel-2.6.10.20050109_1.0.6629+1-1+10.00.Custom.gg_i386.deb
$ reboot
$ uname -a
Linux debian 2.6.10.20050109n #1 Sun Jan 9 20:58:06 CET 2005 i686
GNU/Linux
$ udevinfo -a -p /sys/block/hdc
udevinfo starts with the device the node belongs to and then walks up
the
device chain, to print for every device found, all possibly useful
attributes
in the udev key format.
Only attributes within one device section may be used together in one
rule,
to match the device for which the node will be created.
device '/sys/block/hdc' has major:minor 22:0
looking at class device '/sys/block/hdc':
SYSFS{dev}="22:0"
SYSFS{range}="1"
SYSFS{removable}="1"
SYSFS{size}="1404984"
SYSFS{stat}=" 19 0 76 2395 0 0
0 0 0 2395 2395"
follow the class device's "device"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:07.1/ide1/1.0':
BUS="ide"
ID="1.0"
SYSFS{detach_state}="0"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:07.1/ide1':
BUS=""
ID="ide1"
SYSFS{detach_state}="0"
looking at the device chain at '/sys/devices/pci0000:00/0000:00:07.1':
BUS="pci"
ID="0000:00:07.1"
SYSFS{class}="0x01018a"
SYSFS{detach_state}="0"
SYSFS{device}="0x0571"
SYSFS{irq}="0"
SYSFS{local_cpus}="1"
SYSFS{subsystem_device}="0x0000"
SYSFS{subsystem_vendor}="0x0000"
SYSFS{vendor}="0x1106"
looking at the device chain at '/sys/devices/pci0000:00':
BUS=""
ID="pci0000:00"
SYSFS{detach_state}="0"
yepp!
ciao
Gerhard
Reply to: