Re: sid: USB-stick - /dev/disk/by-id/ not populated
Florian Kulzer wrote:
Thanks for your reply!
> Has the "hotplug" package been purged (not just removed) on the old
> system?
>
Yes, I purged it as advised by the NEWS.
> In any case, you can use "udevtest" to see which rules are applied. Here
> is an example for a usb stick at /dev/sdc:
>
> $ udevtest /block/sdc/sdc1 | egrep 'persistent\.rules|by-id'
> parse_file: reading '/etc/udev/rules.d/z20_persistent.rules' as rules file
> udev_rules_get_name: add symlink 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1'
> udev_node_update_symlinks: update symlink 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' of '/block/sdc/sdc1'
> udev_db_get_devices_by_name: found index directory '/dev/.udev/names/disk\x2fby-id\x2fusb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1'
> update_link: found 1 devices with name 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1'
> update_link: found '/block/sdc/sdc1' for 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1'
> update_link: 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' with target 'sdc1' has the highest priority 0, create it
>
>
Only the first line is shown:
root@host:~# udevtest /block/uba/uba1 | egrep 'persistent\.rules|by-id'
parse_file: reading '/etc/udev/rules.d/z20_persistent.rules' as rules file
I'm using a selfcompiled kernel 2.6.25.4 (previosuly 2.6.24.4),
are there any special config options needed ?
Here is a excerpt from the syslog after plugging the stick:
May 27 23:47:38 host kernel: usb 1-1: new high speed USB device using
ehci_hcd and address 4
May 27 23:47:38 host kernel: usb 1-1: configuration #1 chosen from 1 choice
May 27 23:47:38 host kernel: uba: uba1
May 27 23:47:38 host kernel: usb 1-1: New USB device found,
idVendor=0781, idProduct=5151
May 27 23:47:38 host kernel: usb 1-1: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
May 27 23:47:38 host kernel: usb 1-1: Product: Cruzer Micro
May 27 23:47:38 host kernel: usb 1-1: Manufacturer: SanDisk Corporation
May 27 23:47:38 host kernel: usb 1-1: SerialNumber: SNDKB749E40AD9708702
WR,
Bruno
Reply to: