USB Festplatte und udev will nicht

Christian Menssen c.menssen at web.de
Wed Aug 2 22:01:10 CEST 2006


Zitat von Jan-Benedict Glaw <jbglaw at lug-owl.de>:
>> Yapp. Vermutlich fehlt das entsprechende Device unter /dev.
>> Die legen sich naemlich nicht selber an sondern sind meistens
>> schon von der Distribution angelegt. Wenn es allerdings fehlt
>> dann muss es noch erzeugt werden:
>
> Die Zeiten sind lange schon Geschichte. udev läuft nicht richtig. Das
> ist dazu da, beim Plug-In entsprechende device nodes und eventuell
> auch symlinks anzulegen.

Weißt du/jemand denn woran es genau liegen könnte?
Das ist das Standard udev Paket von Debian (wurde bei dem neuen Kernel
mitinstalliert). udev daemon läuft auch. Habe eben auch noch usbmount
installiert, was allerdings lediglich rules zu udev hinzufügt.
Ich habe mal das Loglevel von udev auf info umgestellt, log siehe
Anhang. Kann daraus irgentwie nichts erkennen, aber ihr vielleicht
*hoff* :-)
Interessant ist auch, dass ein Prozess namens usb-storage läuft. Ist  
das normal? :)

Gruß
Chris

-------------- next part --------------
Aug  2 21:52:25 pc-server kernel: usb 5-6: new high speed USB device using ehci_hcd and address 6
Aug  2 21:52:25 pc-server udevd[19286]: udev_event_run: seq 2489 forked, pid [23606], 'add' 'usb', 0 seconds old
Aug  2 21:52:25 pc-server kernel: usb 5-6: configuration #1 chosen from 1 choice
Aug  2 21:52:25 pc-server kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Aug  2 21:52:25 pc-server kernel: usb-storage: device found at 6
Aug  2 21:52:25 pc-server kernel: usb-storage: waiting for device to settle before scanning
Aug  2 21:52:25 pc-server udevd-event[23606]: wait_for_sysfs: file '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-6/bus' appeared after 0 loops
Aug  2 21:52:25 pc-server udevd-event[23606]: pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor', 
Aug  2 21:52:25 pc-server udevd-event[23606]: run_program: 'udev_run_hotplugd usb'
Aug  2 21:52:25 pc-server udevd-event[23606]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Aug  2 21:52:25 pc-server udevd-event[23606]: run_program: 'udev_run_devd usb'
Aug  2 21:52:25 pc-server udevd-event[23606]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Aug  2 21:52:25 pc-server udevd-event[23606]: udev_event_run: seq 2489 finished
Aug  2 21:52:25 pc-server udevd[19286]: udev_done: seq 2489, pid [23606] exit with 0, 0 seconds old
Aug  2 21:52:25 pc-server udevd[19286]: udev_event_run: seq 2490 forked, pid [23612], 'add' 'usb', 0 seconds old
Aug  2 21:52:25 pc-server udevd-event[23612]: wait_for_sysfs: file '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-6/5-6:1.0/bus' appeared after 0 loops
Aug  2 21:52:25 pc-server udevd-event[23612]: pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor', 
Aug  2 21:52:25 pc-server udevd-event[23612]: run_program: '/sbin/modprobe usb:v067Bp3507d0100dc00dsc00dp00ic08isc06ip50'
Aug  2 21:52:26 pc-server udevd-event[23612]: run_program: '/sbin/modprobe' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23612]: run_program: 'udev_run_hotplugd usb'
Aug  2 21:52:26 pc-server udevd-event[23612]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23612]: run_program: 'udev_run_devd usb'
Aug  2 21:52:26 pc-server udevd-event[23612]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23612]: udev_event_run: seq 2490 finished
Aug  2 21:52:26 pc-server udevd[19286]: udev_done: seq 2490, pid [23612] exit with 0, 1 seconds old
Aug  2 21:52:26 pc-server udevd[19286]: udev_event_run: seq 2491 forked, pid [23616], 'add' 'scsi_host', 1 seconds old
Aug  2 21:52:26 pc-server udevd[19286]: udev_event_run: seq 2492 forked, pid [23617], 'add' 'usb_device', 1 seconds old
Aug  2 21:52:26 pc-server udevd-event[23616]: pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor', 
Aug  2 21:52:26 pc-server udevd-event[23616]: run_program: 'udev_run_hotplugd scsi_host'
Aug  2 21:52:26 pc-server udevd-event[23616]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23616]: run_program: 'udev_run_devd scsi_host'
Aug  2 21:52:26 pc-server udevd-event[23616]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23616]: udev_event_run: seq 2491 finished
Aug  2 21:52:26 pc-server udevd[19286]: udev_done: seq 2491, pid [23616] exit with 0, 1 seconds old
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: '/bin/sh -c 'K=usbdev5.6; K=${K#usbdev}; printf bus/usb/%03i/%03i ${K%%.*} ${K#*.}''
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: '/bin/sh' (stdout) 'bus/usb/005/006'
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: '/bin/sh' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23617]: udev_rules_get_name: rule applied, 'usbdev5.6' becomes 'bus/usb/005/006'
Aug  2 21:52:26 pc-server udevd-event[23617]: udev_db_get_device: no db file to read /dev/.udev/db/class at usb_device@usbdev5.6: No such file or directory
Aug  2 21:52:26 pc-server udevd-event[23617]: udev_node_add: creating device node '/dev/bus/usb/005/006', major = '189', minor = '517', mode = '0664', uid = '0', gid = '0'
Aug  2 21:52:26 pc-server udevd-event[23617]: pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor', 
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: 'udev_run_hotplugd usb_device'
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: 'udev_run_devd usb_device'
Aug  2 21:52:26 pc-server udevd-event[23617]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Aug  2 21:52:26 pc-server udevd-event[23617]: udev_event_run: seq 2492 finished
Aug  2 21:52:26 pc-server udevd[19286]: udev_done: seq 2492, pid [23617] exit with 0, 1 seconds old
Aug  2 21:52:30 pc-server udevd[19286]: udev_event_run: seq 2493 forked, pid [23624], 'add' 'scsi', 0 seconds old
Aug  2 21:52:30 pc-server kernel:   Vendor: Maxtor 6  Model: Y160P0            Rev: YAR4
Aug  2 21:52:30 pc-server kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Aug  2 21:52:30 pc-server udevd-event[23624]: wait_for_sysfs: wait for '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-6/5-6:1.0/host5/target5:0:0/5:0:0:0/bus' for 20 mseconds
Aug  2 21:52:30 pc-server kernel: SCSI device sdc: 320173057 512-byte hdwr sectors (163929 MB)
Aug  2 21:52:30 pc-server kernel: sdc: Write Protect is off
Aug  2 21:52:30 pc-server kernel: sdc: Mode Sense: 03 00 00 00
Aug  2 21:52:30 pc-server kernel: sdc: assuming drive cache: write through
Aug  2 21:52:30 pc-server kernel: SCSI device sdc: 320173057 512-byte hdwr sectors (163929 MB)
Aug  2 21:52:30 pc-server kernel: sdc: Write Protect is off
Aug  2 21:52:30 pc-server kernel: sdc: Mode Sense: 03 00 00 00
Aug  2 21:52:30 pc-server kernel: sdc: assuming drive cache: write through
Aug  2 21:52:30 pc-server udevd-event[23624]: wait_for_sysfs: wait for '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-6/5-6:1.0/host5/target5:0:0/5:0:0:0/bus' for 20 mseconds
Aug  2 21:52:30 pc-server kernel:  sdc: sdc1
Aug  2 21:52:30 pc-server kernel: sd 5:0:0:0: Attached scsi disk sdc
Aug  2 21:52:30 pc-server kernel: usb-storage: device scan complete
Aug  2 21:52:31 pc-server udevd-event[23624]: wait_for_sysfs: file '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-6/5-6:1.0/host5/target5:0:0/5:0:0:0/bus' appeared after 2 loops
Aug  2 21:52:31 pc-server udevd-event[23624]: wait_for_sysfs: file '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-6/5-6:1.0/host5/target5:0:0/5:0:0:0/ioerr_cnt' appeared after 0 loops
Aug  2 21:52:31 pc-server udevd-event[23624]: pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor', 
Aug  2 21:52:31 pc-server udevd-event[23624]: run_program: 'udev_run_hotplugd scsi'
Aug  2 21:52:31 pc-server udevd-event[23624]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Aug  2 21:52:31 pc-server udevd-event[23624]: run_program: 'udev_run_devd scsi'
Aug  2 21:52:31 pc-server udevd-event[23624]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Aug  2 21:52:31 pc-server udevd-event[23624]: udev_event_run: seq 2493 finished
Aug  2 21:52:31 pc-server udevd[19286]: udev_done: seq 2493, pid [23624] exit with 0, 1 seconds old
Aug  2 21:52:31 pc-server udevd[19286]: udev_event_run: seq 2494 forked, pid [23627], 'add' 'block', 1 seconds old
Aug  2 21:52:31 pc-server udevd[19286]: udev_event_run: seq 2496 forked, pid [23628], 'add' 'scsi_device', 1 seconds old
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: 'usb_id -x'
Aug  2 21:52:31 pc-server udevd-event[23628]: pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor', 
Aug  2 21:52:31 pc-server udevd-event[23628]: run_program: 'udev_run_hotplugd scsi_device'
Aug  2 21:52:31 pc-server udevd-event[23628]: run_program: '/lib/udev/udev_run_hotplugd' returned with status 0
Aug  2 21:52:31 pc-server udevd-event[23628]: run_program: 'udev_run_devd scsi_device'
Aug  2 21:52:31 pc-server udevd-event[23628]: run_program: '/lib/udev/udev_run_devd' returned with status 0
Aug  2 21:52:31 pc-server udevd-event[23628]: udev_event_run: seq 2496 finished
Aug  2 21:52:31 pc-server udevd[19286]: udev_done: seq 2496, pid [23628] exit with 0, 1 seconds old
Aug  2 21:52:31 pc-server usb_id[23629]: usb_id: /devices/pci0000:00/0000:00:10.4/usb5/5-6/5-6:1.0: if_class 8 protocol 6 
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' (stdout) 'ID_VENDOR=Maxtor_6'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' (stdout) 'ID_MODEL=Y160P0'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' (stdout) 'ID_REVISION=YAR4'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' (stdout) 'ID_SERIAL=Maxtor_6_Y160P0'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' (stdout) 'ID_TYPE=disk'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' (stdout) 'ID_BUS=usb'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/usb_id' returned with status 0
Aug  2 21:52:31 pc-server udevd-event[23627]: udev_node_mknod: preserve file '/dev/.tmp-8-32', because it has correct dev_t
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: 'edd_id --export /dev/.tmp-8-32'
Aug  2 21:52:31 pc-server edd_id[23632]: main: no kernel EDD support
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/edd_id' (stderr) 'no kernel EDD support'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/edd_id' returned with status 2
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: 'path_id /block/sdc'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/path_id' (stdout) 'ID_PATH=pci-0000:00:10.4-usb-0:6:1.0-scsi-0:0:0:0'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: '/lib/udev/path_id' returned with status 0
Aug  2 21:52:31 pc-server udevd-event[23627]: udev_rules_get_name: add symlink 'disk/by-id/usb-Maxtor_6_Y160P0'
Aug  2 21:52:31 pc-server udevd-event[23627]: udev_rules_get_name: add symlink 'disk/by-path/pci-0000:00:10.4-usb-0:6:1.0-scsi-0:0:0:0'
Aug  2 21:52:31 pc-server udevd-event[23627]: run_program: 'vol_id --export /dev/.tmp-8-32'
Aug  2 21:52:31 pc-server vol_id[23638]: volume_id.c:45 probing at offset 0x0, size 0x262ae80200
Aug  2 21:52:31 pc-server vol_id[23638]: linux_raid.c:58 probing at offset 0x0, size 0x262ae80200
Aug  2 21:52:31 pc-server vol_id[23638]: util.c:183 get buffer off 0x262ae70000(163928539136), len 0x800
Aug  2 21:52:31 pc-server vol_id[23638]: util.c:232 read seekbuf off:0x262ae70000 len:0x800
Aug  2 21:52:31 pc-server vol_id[23638]: isw_raid.c:47 probing at offset 0x0, size 0x262ae80200
Aug  2 21:52:31 pc-server vol_id[23638]: util.c:183 get buffer off 0x262ae7fe00(163928604160), len 0x200
Aug  2 21:52:31 pc-server vol_id[23638]: util.c:232 read seekbuf off:0x262ae7fe00 len:0x200
Aug  2 21:52:31 pc-server vol_id[23638]: lsi_raid.c:42 probing at offset 0x0, size 0x262ae80200
Aug  2 21:52:31 pc-server vol_id[23638]: util.c:183 get buffer off 0x262ae80000(163928604672), len 0x200
Aug  2 21:52:31 pc-server vol_id[23638]: util.c:232 read seekbuf off:0x262ae80000 len:0x200


More information about the Linux mailing list