← Back to team overview

desktop-packages team mailing list archive

[Bug 792085] Re: Automatic remount of safely removed drive

 

I am having this bug on Xubuntu 14.10 (Thunar 1.6.3) when trying to unmount a USB 3.0 Seagate 1TB HDD from a USB 3.0 port.  I also experience one second off and remounting after that.
I don't have this bug when using USB 2.0 pendrive in USB 3.0 port.

dmesg | grep USB

#after plugged in a USB 2.0 port
[ 1955.357740] usb 1-1.2: new high-speed USB device number 8 using ehci-pci
[ 1955.512198] usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=a013
[ 1955.512205] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1

#unmounting with Thunar, the device starts spinning again but cannot be seen in /dev/sd*
[ 2109.543249] usb 1-1.2: USB disconnect, device number 8

#after plugged in a USB 3.0 port
[ 2335.126791] usb 4-4: new SuperSpeed USB device number 12 using xhci_hcd
[ 2335.143475] usb 4-4: New USB device found, idVendor=0bc2, idProduct=a013
[ 2335.143482] usb 4-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1

#unmounting with Thunar, the device starts spinning again and Thunar opens the remounted media
[ 2439.351726] usb 4-4: USB disconnect, device number 12
[ 2439.739404] usb 4-4: new SuperSpeed USB device number 13 using xhci_hcd
[ 2439.756138] usb 4-4: New USB device found, idVendor=0bc2, idProduct=a013
[ 2439.756146] usb 4-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1

USB 2.0 pendrive
#automount in USB 3.0 port
[ 3045.472256] usb 3-4: new high-speed USB device number 3 using xhci_hcd
[ 3045.601106] usb 3-4: New USB device found, idVendor=08ec, idProduct=2038
[ 3045.601115] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3045.601698] usb-storage 3-4:1.0: USB Mass Storage device detected
#/dev contents
ata@ata-HP-ProBook-6470b:~$ ls /dev/sdb*
/dev/sdb   /dev/sdb1  

#Thunar gives this error message when unmounting: "Error opening /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/remove: No such file or directory."
#Nothing new in dmesg
#/dev contents
ata@ata-HP-ProBook-6470b:~$ ls /dev/sdb*
/dev/sdb

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/792085

Title:
  Automatic remount of safely removed drive

Status in “nautilus” package in Ubuntu:
  Confirmed
Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: nautilus

  When I choose "Safely remove drive" context menu entry for an external
  USB drive within a nautilus window or directly clicking on the desktop
  icon, after about 10 seconds the drive is automatically remounted and
  a Nautilus window showing the root folder opens.

  I have noticed that similar already happened with a very old Ubuntu
  version - Bug #110589 and as that is so long time ago I thought it is
  better to open a new bug. Reason of the problem might even be
  completely different.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: nautilus 1:2.32.2.1-0ubuntu13
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
  Uname: Linux 2.6.38-8-generic-pae i686
  Architecture: i386
  Date: Thu Jun  2 23:40:08 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/+subscriptions