SD Card mounts multiple times

Bug #258969 reported by johank
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Everytime I go into hibernate or standby my SD card will remount, and the original mount will be non functional.

I tried to add a script to the suspend.d folder to unmount the SD card, but this only works sometimes. The drive is usually called KINGSTON, so in my small script I have umount /media/KINGSTON. But sometimes it is called 4.0 GB Media, and even when it is named KINGSTON it does not always seem to work.

I would expect that if the card was already mounted it would not remount again.

Description: Ubuntu 8.04.1
Release: 8.04

Revision history for this message
johank (johansen-keith) wrote :

To further explain, all the mounts, functioning or not, will be displayed on my desktop and if i try to manually unmount them it fails. Only the most recent mount remains functioning.

Revision history for this message
David Meier (droebbel-melta) wrote :

I can confirm the problem under the following conditions:

1. Suspend to disk is used.
2. the media is in use, e.g. by a nautilus window. This will frequently happen with the default nautilus setting to "browse new media when inserted".

In that case, it seems the media is not properly unmounted. That toes not happen with suspend to ram or if no nautilus window is open, in both cases, unmount seems to work fine.

On resume, the device is assigned a new name (e.g. /dev/sdc1 instead of /dev/sdb1) and mounted again. So, if it was not unmounted before, there are two or more mounts per device, and only the last one will work.

Normally, an open nautilus window will not prevent a device from being unmounted. Which seems even more strange to me: it works well with suspend to ram.

So as the unmount is not impossible, I conclude that there is a weird problem with it not happening in time and / or being forgotten then.

At first glance, I conld not find anything relevant in /etc/acpi, and I do not even know if gnome-power-manager uses the configs there. Will try to inverstigate further asap.

Revision history for this message
Bachsau (bachsau) wrote :

For me, this happens with CD-Roms and when I supend to ram.

Revision history for this message
penalvch (penalvch) wrote :

johank, thank you for reporting this bug to Ubuntu. Hardy Desktop reached EOL on May 12, 2011.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Is this an issue in a supported release? If so, could you please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 258969

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.