Alan Stern wrote:
On Tue, 23 Nov 2004, Yannick Beynet wrote:
Hello,
I'm using kernel 2.6.9 and I have some problems with udev (or with kernel)
I need to remove usbstorage module and sd_mod before plugging my key. If I
don't do that, i see in my logs creation of /dev/sda and /dev/sg0 but the
kernel does not create /dev/sda1.
I give you my logs (with usbstorage debug mode).
One more point is that if I touch /.dev/sda1 (not /dev but /.dev) udev
seems to awake and create /dev/sda1
Can you try using kernel 2.6.10-rc2? Maybe it will work better. The usb-storage driver was changed to delay device scanning, and it may be that your key needs the extra time delay. That would explain it works when you remove those modules beforehand; the time required to load them again could be sufficient for the key to start working.
Alan Stern
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Sorry forgot the attachments!!
Hi,
I have tried the latest kernel with both my USB storage devices, one fixed (detected at boot) and one removable (plug into USB port when used). The Devices are a SanDisk SDDR-75 and a Carry Computer 8-in-one fixed reader. When either of these devices used it is necessary to run 'touch' or 'fdisk -l' or 'cat' on the device node before the partition(s) appear(s). This bug has been around on my system since at least 2.6.8 there was never a problem with 2.4 kernel with the SanDisk and the Carry Computer device worked if I enabled MAX_SCSI_LUNS=8 in the kernel. I have tried to diagnose this problem but with little success the only conclusion I could draw was that the hotplug system was not being invoked as on my Mandrake system hotplug triggers a script which automatically mounts the partition(s). This bit works as soon as I run 'touch' or the like on the device node. I attach the tail of my syslog before and after the 'touch' command was run.
Regards,
Colin Close
Nov 25 14:09:44 PASSMACHE kernel: usb 2-1: new full speed USB device using address 6 Nov 25 14:09:44 PASSMACHE kernel: scsi2 : SCSI emulation for USB Mass Storage devices Nov 25 14:09:44 PASSMACHE kernel: Vendor: SanDisk Model: ImageMate CF-SM Rev: 0100 Nov 25 14:09:44 PASSMACHE kernel: Type: Direct-Access ANSI SCSI revision: 02 Nov 25 14:09:44 PASSMACHE kernel: Attached scsi removable disk sdf at scsi2, channel 0, id 0, lun 0 Nov 25 14:09:44 PASSMACHE kernel: Vendor: SanDisk Model: ImageMate CF-SM Rev: 0100 Nov 25 14:09:44 PASSMACHE kernel: Type: Direct-Access ANSI SCSI revision: 02 Nov 25 14:09:44 PASSMACHE kernel: Attached scsi removable disk sdg at scsi2, channel 0, id 0, lun 1 Nov 25 14:09:44 PASSMACHE kernel: USB Mass Storage device found at 6 Nov 25 14:09:45 PASSMACHE scsi.agent[5653]: disk at /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host2/2:0:0:0 Nov 25 14:09:45 PASSMACHE scsi.agent[5673]: disk at /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host2/2:0:0:1
Nov 25 14:11:54 PASSMACHE kernel: SCSI device sdf: 15680 512-byte hdwr sectors (8 MB) Nov 25 14:11:54 PASSMACHE kernel: sdf: Write Protect is off Nov 25 14:11:54 PASSMACHE kernel: sdf: Mode Sense: 43 00 00 00 Nov 25 14:11:54 PASSMACHE kernel: sdf: assuming drive cache: write through Nov 25 14:11:54 PASSMACHE kernel: SCSI device sdf: 15680 512-byte hdwr sectors (8 MB) Nov 25 14:11:54 PASSMACHE kernel: sdf: Write Protect is off Nov 25 14:11:54 PASSMACHE kernel: sdf: Mode Sense: 43 00 00 00 Nov 25 14:11:54 PASSMACHE kernel: sdf: assuming drive cache: write through Nov 25 14:11:54 PASSMACHE kernel: /dev/scsi/host2/bus0/target0/lun0: p1 Nov 25 14:11:54 PASSMACHE perl: drakupdate_fstab called with --auto --add /dev/sdf1
