Bug 122868
| Summary: | hotplug of usb-storage compactflash only works once | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ed Halley <ed> |
| Component: | hotplug | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:03:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ed Halley
2004-05-09 16:46:40 UTC
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. |