Hi,
I recently noticed weird behaviour with my USB memorystick. This is on AMD64 unstable, with: linux-image-2.6.22-2-amd64 udev 0.114-2 I have defined the following udev rule: ATTRS{idVendor}=="13e0", ATTRS{idProduct}=="2517", KERNEL=="sd*", SYMLINK+="usb/stick%n", OPTIONS+="all_partitions" The memorystick has one primary partition (vfat). When the stick is inserted while booting, udev correctly creates the desired symlinks: # ls -l /dev/usb lrwxrwxrwx 1 root root 6 2007-09-30 17:30 stick -> ../sda lrwxrwxrwx 1 root root 6 2007-09-30 17:30 stick1 -> ../sda1 However, when I insert the same memorystick after the computer is booted, only the symlink to /dev/sda is created. Also, the kernel messages are quit different in these two cases. When I insert the stick after booting, the kernel log shows the following: Sep 30 17:54:15 casper kernel: usb 1-5: new high speed USB device using ehci_hcd and address 10 Sep 30 17:54:15 casper kernel: usb 1-5: configuration #1 chosen from 1 choice Sep 30 17:54:15 casper kernel: hub 1-5:1.0: USB hub found Sep 30 17:54:15 casper kernel: hub 1-5:1.0: 1 port detected Sep 30 17:54:15 casper kernel: usb 1-5.1: new high speed USB device using ehci_hcd and address 11 Sep 30 17:54:15 casper kernel: usb 1-5.1: configuration #1 chosen from 1 choice Sep 30 17:54:15 casper kernel: scsi6 : SCSI emulation for USB Mass Storage devices Sep 30 17:54:15 casper kernel: usb-storage: device found at 11 Sep 30 17:54:15 casper kernel: usb-storage: waiting for device to settle before scanning Sep 30 17:54:20 casper kernel: usb-storage: device scan complete Sep 30 17:54:20 casper kernel: scsi scan: INQUIRY result too short (5), using 36 Sep 30 17:54:20 casper kernel: scsi 6:0:0:: Direct-Access USB 2.0 Flash Drive 1.00 PQ: 0 ANSI: 0 Sep 30 17:54:20 casper kernel: sd 6:0:0:0: [sda] Attached SCSI disk However, looking back in the kernel boot log (that is, with the memorystick inserted), I see: [snip] Sep 30 17:03:15 casper kernel: usb-storage: device scan complete Sep 30 17:03:15 casper kernel: scsi scan: INQUIRY result too short (5), using 36 Sep 30 17:03:15 casper kernel: scsi 4:0:0:0: Direct-Access USB 2.0 Flash Drive 1.00 PQ: 0 ANSI: 0 Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] 256000 512-byte hardware sectors (131 MB) Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Write Protect is off Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Mode Sense: 03 00 00 00 Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Assuming drive cache: write through Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] 256000 512-byte hardware sectors (131 MB) Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Write Protect is off Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Mode Sense: 03 00 00 00 Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Assuming drive cache: write through Sep 30 17:03:15 casper kernel: sda: sda1 Sep 30 17:03:15 casper kernel: sd 4:0:0:0: [sda] Attached SCSI disk Does this problem sound familiar to anyone on this list? Thanks, Iwan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]