usb stick will not stay unmounted with safely remove

Bug #608508 reported by sojourner
122
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

when you have a usb stick mounted and wish to remove it the RT click menu shows an entry for eject and an entry for safely remove . Selecting safely remove does not work because it immediately remounts automatically and opens a nautilus window . This is confusing and counter intuitive since you do not "eject" a usb stick you remove it . eject works as you would expect safely remove to work , eject unmounts the drive and it stays unmounted . NOTE! this also applies to usb hard drives . I have a vanilla maverick install and do not have either usbmount or pmount installed , usb drives are automatically mounted when plugged in and a nautilus window opens on the root dir of the drive .

Revision history for this message
vmc (vmclark) wrote :

This same behavior also happens with a usb hard drive.

Revision history for this message
Doug McMahon (mc3man) wrote :

Don't see that behaviour at all on a stock maverick, fully updated thru 07/21

All flash and ext. usb drives are removed (safely remove,,), with no issue, have various types and file systems inc. Fat 16, 32, ext2, ntfs

Overall the eject command has become somewhat worthless and does leave an icon behind in 'Computer' (unusable

the only apparent value to eject is to 'eject' the isofs (cdrom) on sandisk U3 drives while leaving the storage device mounted and addressable.

Revision history for this message
Tom Pino (metalsmith-rangeweb) wrote :

I run on a usb HDD with several testing OS' installed. Using "safely remove drive" is very handy. Use it and the entire HDD is removed.

It is easy to tell that it is removed as the screen goes blank when the OS that I am using is also removed.

A simple fix would be to put the unmount option back in the menu.

vmc (vmclark)
Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Khaosaming (borai) wrote :

I can confirm this behaviour on a clean installation of Maverick final. My USB stick remounts (Nautilus window popping up) when I select Safely Remove Drive on right-click menu. I miss the old unmount option, too. I'm running Ubuntu 10.10 32-Bit on ASRock Ion 330.

Revision history for this message
Ubfan (ubfan1) wrote :

Maverick remounts the "Safely removed" usb device before it can be pulled out (< 1/2 sec)
at the first remove. The second remove attempt works properly on the usb
device.
Fully patched 32 bit Maverick to 20-Oct-2010, Running
Linux Maverick 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux
HP Presario V3000 laptop, running root off another USB device (not the one removed).

[ 119.929129] sd 6:0:0:0: [sdd] Write Protect is off
[ 119.929139] sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 119.929147] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 119.932144] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 119.932172] sdd: sdd1
[ 120.732564] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 120.732582] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[ 490.756726] WARNING! power/level is deprecated; use power/control instead
[ 490.908311] usb 1-5: USB disconnect, address 5
[ 491.368076] usb 2-5: new full speed USB device using ohci_hcd and address 3
[ 491.568933] usb 2-5: not running at top speed; connect to a high speed hub
[ 491.590373] scsi7 : usb-storage 2-5:1.0
[ 492.594000] scsi 7:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2
[ 492.595467] sd 7:0:0:0: Attached scsi generic sg3 type 0
[ 492.608970] sd 7:0:0:0: [sdd] 3944448 512-byte logical blocks: (2.01 GB/1.88 GiB)
[ 492.612957] sd 7:0:0:0: [sdd] Write Protect is off
[ 492.612966] sd 7:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 492.612974] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 492.630955] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 492.630981] sdd: sdd1
[ 493.622995] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 493.623013] sd 7:0:0:0: [sdd] Attached SCSI removable disk
[ 506.676069] usb 2-5: USB disconnect, address 3

I waited 5 seconds and pulled out the stick.
I haven't waited longer to see if it eventually remounts.

Revision history for this message
macaque (macaque) wrote :

My USB stick remounts when I select Safely Remove Drive on right-click menu. I'm running Ubuntu 10.10 Maverick 32-Bit on Zotac nForce 610i ITX.

Please See http://www.youtube.com/watch?v=UMKrwSECx9E

Revision history for this message
Ubfan (ubfan1) wrote :

The remount does not occur until after the first time update-manager is run on a new Maverick install.

Revision history for this message
Sam Pearson (sagepe) wrote :

I see the same behaviour as Ubfan - first attempt at using the "Safely remove" context-menu option results in an immediate re-mount, the second attempt sees the device remain un-mounted.

Revision history for this message
Mark Janney (markjanney) wrote :

I also see the same behavior as Ubfan - it takes two repetitions of "Safely Remove Drive" to actually remove the device. I have tested this on several flash drives and an external usb hardrive that I use for backup.

Revision history for this message
Olivier PONCET (ponceto) wrote :

Same behaviour for me on my ASUS M2NPV-VM motherboard.

Using safe remove remounts the usb key a few seconds after the action.

dmesg says:

[ 1262.979951] WARNING! power/level is deprecated; use power/control instead

hummmm, not really what we want :-(

Revision history for this message
david (david-kabelverhau) wrote :

I also have this problem. I can "safely remove" external drives (usb sticks, usb drives, encrypted or not) as often as I want, they keep reappearing. I have this problem on three completely different hardware platforms, so I don't think this is hardware related.

As dmesg shows, as soon as the device is disconnected by the kernel, it is detected as a new device.

[ 3126.770755] EXT3-fs (dm-2): mounted filesystem with ordered data mode
later:
[ 3554.942457] usb 1-4.1: USB disconnect, address 10
[ 3561.030818] usb 1-4.1: new high speed USB device using ehci_hcd and address 11

Revision history for this message
Anthony Martinez (comeheresam) wrote :

Same for me on Zotac GeForce 9300 mobo running 10.10. First time for this anomaly after many prior releases on same platform. Safely remove remounts drive just as though it were just plugged in.

Revision history for this message
DynamicMan (mattias-swing) wrote :

This problem currently exists in Linux Mint Debian Edition (LMDE) as well.

Revision history for this message
Chethan S. (chethan) wrote :

I have a Western Digital USB 3.0 hard drive which remounts almost immediately when I click 'Safely Remove Drive'. I use Ubuntu 10.10.

Revision history for this message
torstenaf (afguy) wrote :

Behavior confirmed on natty 11.04. I read that this may be related to NVidia USB chipsets, which I have in my computer.

Partial output from lspci:

00:04.0 USB Controller: nVidia Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
00:04.1 USB Controller: nVidia Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
00:06.0 USB Controller: nVidia Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
00:06.1 USB Controller: nVidia Corporation MCP89 EHCI USB 2.0 Controller (rev a2)

Revision history for this message
Olivier PONCET (ponceto) wrote :

This problem persists with Natty 11.04 with my ASUS M2NPV-VM which is based on Nvidia chipset

I think that there is a little problem with Nvidia's USB chipsets.

I always have this message on my dmesg:

[10420.100709] WARNING! power/level is deprecated; use power/control instead

Does anybody knows how to switch on power/control instead of power/level (to see if the problem persists) ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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