Bug 159820 - usb-storage automount only works once
usb-storage automount only works once
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-08 06:21 EDT by Menno Smits
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-15 07:56:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Menno Smits 2005-06-08 06:21:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050504 Fedora/1.0.3-4 Firefox/1.0.3

Description of problem:
The first time I plug in a usb-storage device it is detected and automounts correctly. If I umount the device, unplug it and plug it back in, it will be detected but will not automount.

I see this problem with a iPod (on USB) and a USB memory stick.

This problem did not occur in Fedora Core 3 with the same devices and same PC hardware.

Version-Release number of selected component (if applicable):
kernel-2.6.11-1.1286_FC4

How reproducible:
Always

Steps to Reproduce:
1. Start from a fresh reboot and login.
2. Plug-in a USB storage device.
3. Wait for device's icon to appear.
4. Umount the device (either via the command line or through Gnome).
5. Unplug the device and plug it back in.

  

Actual Results:  Device is not auto-mounted the second time and subsequent times. No device icon appears on the desktop but logs indicate the device is detected ok.

At this point mounting the device manually (eg. mount /dev/sda2 /mnt/ipod) does work and causes an icon to appear on the desktop. The device can then be used.


Expected Results:  The usb-storage device should automount each time it is plugged in.

Additional info:

I've found that uninstalling the usb-storage driver (modprobe -r usb-storage) and then plugging a usb-storage device back in will result in automount working, again just for one time. 

If I use the eject command to umount the device or select Unmount Volume in Gnome GUI I receive an error like: "eject: unable to open `/dev/sda2' in dialog" although the umount seems to work. If I just use umount on the command line I don't see any errors. Not sure if this is related but thought I'd mention it.
Comment 1 Menno Smits 2005-06-15 07:56:44 EDT
Seems to be fixed in FC4.

Note You need to log in before you can comment on or make changes to this bug.