Description of problem: On first insert of a usb-storage compactflash card reader, the hotplug scripts properly (mkdir /mnt/flash) and update the fstab. On unmount and removal, the hotplug scripts properly reverse this process. On second and subsequent inserts, hotplug activity seems to run, but no (mkdir /mnt/flash) and no fstab changes. The dmesg doesn't seem to be any different. Version-Release number of selected component (if applicable): kernel 2.6.5-356 How reproducible: Every reboot. Steps to Reproduce: 1. Reboot system. 2. Plug usb-storage device. Note proper /mnt/flash. Unmount. 3. Plug usb-storage device again. Note no /mnt/flash. Additional Info: Worked okay on 2.4 kernel series. Not sure if it's a hotplug, usb-storage, or kernel issue.
Odd. What happens if you manually run updfstab after the second insertion?
Now installed to final FC2 without any additional updates or software. Running updfstab does the proper (mkdir /mnt/flash) and the device can then be mounted. Here is dmesg tail for the first iteration and the second iteration. First iteration: insert, mount, examine, umount, yank. ---- usb 4-2: new full speed USB device using address 2 Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices Vendor: eUSB Model: Compact Flash Rev: Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 251904 512-byte hdwr sectors (129 MB) sda: assuming Write Enabled sda: assuming drive cache: write through sda: sda1 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 USB Mass Storage device found at 2 usbcore: registered new driver usb-storage USB Mass Storage support registered. usb 4-2: USB disconnect, address 2 ---- Second iteration: insert. ---- usb 4-2: new full speed USB device using address 3 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: eUSB Model: Compact Flash Rev: Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 251904 512-byte hdwr sectors (129 MB) sda: assuming Write Enabled sda: assuming drive cache: write through sda: sda1 Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 USB Mass Storage device found at 3 ---- Notice no "usbcore: registered new driver usb-storage" and no "USB Mass Storage support registered." After updfstab, the /mnt/flash was created and mountable. After umount and yank, "usb 4-2: USB disconnect, address 3".
Modifying the /etc/hotplug/usb.agent file (hotplug-2004_04_01-1) thus: 434a435,437 > if [ -x /usr/sbin/updfstab ]; then > /usr/sbin/updfstab > fi seems to fix the problem.
*** This bug has been marked as a duplicate of 119140 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.