Bug 106604 - Unplug of USB mass storage device did not remove mount
Summary: Unplug of USB mass storage device did not remove mount
Status: VERIFIED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Beta 2
Hardware: i586 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Danny Kukawka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 06:41 UTC by o.stoyke
Modified: 2006-01-02 12:21 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Output of lsusb & mount *after* the device has been removed (805 bytes, text/plain)
2005-08-23 06:42 UTC, o.stoyke
Details
Output of 'lshal' (37.03 KB, text/plain)
2005-08-23 08:04 UTC, o.stoyke
Details
"/var/log/messages" after ladt reboot (14.85 KB, text/plain)
2005-08-23 08:04 UTC, o.stoyke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description o.stoyke 2005-08-23 06:41:50 UTC
I noticed this during attempts to write to /media/MOVING_CHIP (the volume name
is ok) which did not work. Instead, the hotplug system created and mounted
/media/MOVING_CHIP_1 for the second, third, etc. plugin events, no errors on that.

The device itself is ok, works properly on 9.3, Windows, ...
Comment 1 o.stoyke 2005-08-23 06:42:29 UTC
Created attachment 47073 [details]
Output of lsusb & mount *after* the device has been removed
Comment 2 o.stoyke 2005-08-23 06:52:30 UTC
I removed the mount point manually and replugged the device: No reaction (the
devices's LEDs flashed a couple of times...)

Manual mount works fine, the problem is cured with a reboot.

BTW, the storage device is a 0c76:0005.
Comment 3 Danny Al-Gaaf 2005-08-23 07:39:16 UTC
Can you reproduce that? If: please add output of lshal and the part of /var/log/
messages since the last (re)boot. If you can't reproduce this behavior, please 
close the bug
Comment 4 o.stoyke 2005-08-23 08:04:14 UTC
Created attachment 47084 [details]
Output of 'lshal'
Comment 5 o.stoyke 2005-08-23 08:04:41 UTC
Created attachment 47086 [details]
"/var/log/messages" after ladt reboot
Comment 6 o.stoyke 2005-08-23 08:06:26 UTC
Slightly different behaviour this time: The mount point existed after unplugging
the device as described. This time, the next plugin event re-used the mountpoint
and I could access the device.
Comment 7 Danny Al-Gaaf 2005-08-23 10:53:12 UTC
Please plugout the device. If the mountpoint is already present, please remove 
them manually. 

The correct behavior should be: If the device is added a mountpoit should be 
created if needed. If you remove this device, also all from hald-subfs-mount 
created mountpoints for this device get removed. If you shut down and plugout 
the device and reboot hald-subfs-mount should remove normally the unneeded 
mountpoints with the next mount/call.

Please test this (plug out, remove (if not removed automatically) the 
mountpoint, replug the device, check for new mount points. if you now plugout 
all new created mountpoints should be removed.).
Comment 8 Ihno Krumreich 2006-01-02 12:21:54 UTC
closed.