[Bug 792085] Re: Automatic remount of safely removed usb 3.0 drive
Bug Watch Updater
792085 at bugs.launchpad.net
Tue Oct 11 09:26:52 UTC 2016
Launchpad has imported 21 comments from the remote bug at
https://bugzilla.suse.com/show_bug.cgi?id=922634.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2015-03-17T02:53:50+00:00 Luis-medina-1 wrote:
Created attachment 627090
Output of systemd-journalctl
Powering usb drive ("Safely Remove Drive") isn't working, the HDD gets
reattached again.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/80
------------------------------------------------------------------------
On 2015-04-09T22:37:43+00:00 Luis-medina-1 wrote:
Same bug as:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/748151
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/81
------------------------------------------------------------------------
On 2015-06-19T13:27:58+00:00 Tiwai-r wrote:
Does "Eject" also behave same? It should really detach without re-probe.
If "Eject" works, it's the answer -- why there are two distinct entries.
(Maybe there aren't on GNOME... It exists on XFCE4, at least.)
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/86
------------------------------------------------------------------------
On 2015-06-24T04:16:19+00:00 Luis-medina-1 wrote:
The "Eject" button works (Gnome) but it only unmount the partition and
does not actually deactivate the disk.
If the disk is connected to an usb 2.0 port "Safely Remove Drive" works,
turning off the disk.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/87
------------------------------------------------------------------------
On 2015-06-29T08:13:01+00:00 Tiwai-r wrote:
Oliver, this seems like a regression with xhci (with respect to ehci).
Is there a known fix / workaround?
I also remember that one of my USB disks behaves like this.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/88
------------------------------------------------------------------------
On 2015-06-29T16:28:42+00:00 Luis-medina-1 wrote:
(In reply to Takashi Iwai from comment #4)
> Oliver, this seems like a regression with xhci (with respect to ehci). Is
> there a known fix / workaround?
>
> I also remember that one of my USB disks behaves like this.
One workaround is to attach the HDD to an USB 2.0 port.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/89
------------------------------------------------------------------------
On 2015-06-30T06:29:29+00:00 Oneukum wrote:
What does the eject command on a terminal do?
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/90
------------------------------------------------------------------------
On 2015-06-30T18:22:11+00:00 Luis-medina-1 wrote:
(In reply to Oliver Neukum from comment #6)
> What does the eject command on a terminal do?
Hi Oliver,
The eject command just unmount the partitions.
medina:~ # eject /dev/sdb
systemd-journalctl log:
Jun 30 13:12:50 medina.novell.com udisksd[2047]: Cleaning up mount point /run/media/luis/LUIS (device 8:17 is not mounted)
Jun 30 13:12:50 medina.novell.com ntfs-3g[4472]: Unmounting /dev/sdb1 (LUIS)
Jun 30 13:12:50 medina.novell.com udisksd[2047]: Cleaning up mount point /run/media/luis/ALBERTO (device 8:18 is not mounted)
However, if detach the hdd it gets remounted in my USB 3.0 port.
medina:~ # udisksctl power-off -b /dev/sdb
systemd-journalctl log:
Jun 30 13:13:01 medina.novell.com udisksd[2047]: Powering off /dev/sdb - successfully sent SCSI command START STOP UNIT
Jun 30 13:13:01 medina.novell.com kernel: sd 7:0:0:0: [sdb] Synchronizing SCSI cache
Jun 30 13:13:01 medina.novell.com udisksd[2047]: Powered off /dev/sdb - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/remove
Jun 30 13:13:01 medina.novell.com kernel: sd 7:0:0:0: [sdb]
Jun 30 13:13:01 medina.novell.com kernel: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: USB disconnect, device number 5
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: new SuperSpeed USB device number 6 using xhci_hcd
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: New USB device found, idVendor=0bc2, idProduct=2321
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: Product: Expansion
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: Manufacturer: Seagate
Jun 30 13:13:01 medina.novell.com kernel: usb 3-1: SerialNumber: NA4BQHLX
Jun 30 13:13:01 medina.novell.com kernel: scsi8 : uas
Jun 30 13:13:01 medina.novell.com kernel: scsi 8:0:0:0: Direct-Access Seagate Expansion 0502 PQ: 0 ANSI: 6
Jun 30 13:13:01 medina.novell.com kernel: sd 8:0:0:0: Attached scsi generic sg1 type 0
Jun 30 13:13:01 medina.novell.com kernel: sd 8:0:0:0: [sdb] 3907029167 512-byte logical blocks: (2.00 TB/1.81 TiB)
Jun 30 13:13:01 medina.novell.com kernel: sd 8:0:0:0: [sdb] 4096-byte physical blocks
Jun 30 13:13:01 medina.novell.com kernel: sd 8:0:0:0: [sdb] Write Protect is off
Jun 30 13:13:01 medina.novell.com kernel: sd 8:0:0:0: [sdb] Mode Sense: 4f 00 00 00
Jun 30 13:13:01 medina.novell.com kernel: sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jun 30 13:13:01 medina.novell.com mtp-probe[4516]: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Jun 30 13:13:01 medina.novell.com mtp-probe[4516]: bus: 3, device: 6 was not an MTP device
Jun 30 13:13:03 medina.novell.com kernel: sdb: sdb1 sdb2 sdb3
Jun 30 13:13:03 medina.novell.com kernel: sd 8:0:0:0: [sdb] Attached SCSI disk
Jun 30 13:13:03 medina.novell.com kernel: hfsplus: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only.
Jun 30 13:13:03 medina.novell.com udisksd[2047]: Mounted /dev/sdb2 at /run/media/luis/ALBERTO on behalf of uid 1000
Jun 30 13:13:03 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2504]: disc.c:332: error opening file BDMV/index.bdmv
Jun 30 13:13:03 medina.novell.com gnome-session[2458]: (gnome-shell:2609): Clutter-CRITICAL **: clutter_layout_manager_get_child_meta: assertion 'CLUTTER_IS_LAYOUT_MANAGER (manager)' failed
Jun 30 13:13:03 medina.novell.com gnome-session[2458]: (gnome-shell:2609): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Jun 30 13:13:03 medina.novell.com gnome-session[2458]: (gnome-shell:2609): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Jun 30 13:13:03 medina.novell.com gnome-session[2458]: (gnome-shell:2609): Clutter-CRITICAL **: clutter_layout_manager_get_child_meta: assertion 'CLUTTER_IS_LAYOUT_MANAGER (manager)' failed
Jun 30 13:13:03 medina.novell.com gnome-session[2458]: (gnome-shell:2609): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Jun 30 13:13:03 medina.novell.com gnome-session[2458]: (gnome-shell:2609): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Jun 30 13:13:03 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2504]: disc.c:332: error opening file BDMV/BACKUP/index.bdmv
Jun 30 13:13:04 medina.novell.com ntfs-3g[4551]: Version 2014.2.15 external FUSE 29
Jun 30 13:13:04 medina.novell.com ntfs-3g[4551]: Mounted /dev/sdb1 (Read-Write, label "LUIS", NTFS 3.1)
Jun 30 13:13:04 medina.novell.com ntfs-3g[4551]: Cmdline options: rw,nodev,nosuid,uid=1000,gid=100,dmask=0077,fmask=0177,uhelper=udisks2
Jun 30 13:13:04 medina.novell.com ntfs-3g[4551]: Mount options: rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdb1,blkdev,blksize=4096
Jun 30 13:13:04 medina.novell.com udisksd[2047]: Mounted /dev/sdb1 at /run/media/luis/LUIS on behalf of uid 1000
Jun 30 13:13:04 medina.novell.com ntfs-3g[4551]: Global ownership and permissions enforced, configuration type 1
Jun 30 13:13:04 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2504]: disc.c:332: error opening file BDMV/index.bdmv
Jun 30 13:13:04 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2504]: disc.c:332: error opening file BDMV/BACKUP/index.bdmv
Jun 30 13:13:04 medina.novell.com gnome-session[2458]: (gnome-shell:2609): Clutter-CRITICAL **: clutter_layout_manager_get_child_meta: assertion 'CLUTTER_IS_LAYOUT_MANAGER (manager)' failed
Jun 30 13:13:04 medina.novell.com gnome-session[2458]: (gnome-shell:2609): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Jun 30 13:13:04 medina.novell.com gnome-session[2458]: (gnome-shell:2609): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
This is what happens in my USB 2.0 port.
medina:~ # eject /dev/sdb
systemd-journalctl log:
Jun 30 13:17:53 medina.novell.com udisksd[2047]: Cleaning up mount point /run/media/luis/LUIS (device 8:17 is not mounted)
Jun 30 13:17:53 medina.novell.com ntfs-3g[4732]: Unmounting /dev/sdb1 (LUIS)
Jun 30 13:17:53 medina.novell.com udisksd[2047]: Cleaning up mount point /run/media/luis/ALBERTO (device 8:18 is not mounted)
medina:~ # udisksctl power-off -b /dev/sdb
systemd-journalctl log:
Jun 30 13:18:01 medina.novell.com udisksd[2047]: Powering off /dev/sdb - successfully sent SCSI command START STOP UNIT
Jun 30 13:18:01 medina.novell.com kernel: sd 9:0:0:0: [sdb] Synchronizing SCSI cache
Jun 30 13:18:01 medina.novell.com udisksd[2047]: Powered off /dev/sdb - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/remove
Jun 30 13:18:01 medina.novell.com kernel: sd 9:0:0:0: [sdb]
Jun 30 13:18:01 medina.novell.com kernel: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jun 30 13:18:01 medina.novell.com kernel: usb 2-3: USB disconnect, device number 4
P.S.
medina:~ # uname -a
Linux medina.novell.com 3.16.7-21-desktop #1 SMP PREEMPT Tue Apr 14 07:11:37 UTC 2015 (93c1539) x86_64 x86_64 x86_64 GNU/Linux
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/91
------------------------------------------------------------------------
On 2015-06-30T18:49:57+00:00 Luis-medina-1 wrote:
*** Bug 859374 has been marked as a duplicate of this bug. ***
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/92
------------------------------------------------------------------------
On 2015-07-01T12:53:54+00:00 Oneukum wrote:
This is currently handled upstream. The patches are not yet ready.
Something is wrong with the port state machine.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/93
------------------------------------------------------------------------
On 2015-08-13T13:06:04+00:00 Jslaby-h wrote:
It's perhaps ready now :).
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/94
------------------------------------------------------------------------
On 2015-08-13T13:36:20+00:00 Oneukum wrote:
(In reply to Jiri Slaby from comment #12)
> It's perhaps ready now :).
Indeed. Please test KOTD.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/95
------------------------------------------------------------------------
On 2015-08-13T15:51:09+00:00 Luis-medina-1 wrote:
Same results with 4.2.rc6-1.1.g4a2cf4a
medina:~ # eject /dev/sdb
systemd-journalctl log:
Aug 13 10:45:10 medina.novell.com udisksd[1953]: Cleaning up mount point /run/media/luis/LUIS (device 8:17 is not mounted)
Aug 13 10:45:10 medina.novell.com ntfs-3g[3278]: Unmounting /dev/sdb1 (LUIS)
Aug 13 10:45:10 medina.novell.com udisksd[1953]: Cleaning up mount point /run/media/luis/ALBERTO (device 8:18 is not mounted)
medina:~ # udisksctl power-off -b /dev/sdb
systemd-journalctl log:
Aug 13 10:45:21 medina.novell.com bluetoothd[997]: Endpoint unregistered: sender=:1.28 path=/MediaEndpoint/A2DPSource
Aug 13 10:45:21 medina.novell.com bluetoothd[997]: Endpoint unregistered: sender=:1.28 path=/MediaEndpoint/A2DPSink
Aug 13 10:45:21 medina.novell.com systemd[1321]: pam_unix(systemd-user:session): session closed for user gdm
Aug 13 10:45:22 medina.novell.com udisksd[1953]: Powering off /dev/sdb - successfully sent SCSI command START STOP UNIT
Aug 13 10:45:22 medina.novell.com kernel: sd 6:0:0:0: [sdb] Synchronizing SCSI cache
Aug 13 10:45:23 medina.novell.com kernel: sd 6:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Aug 13 10:45:23 medina.novell.com udisksd[1953]: Powered off /dev/sdb - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/remove
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: USB disconnect, device number 4
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: new SuperSpeed USB device number 5 using xhci_hcd
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: New USB device found, idVendor=0bc2, idProduct=2321
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: Product: Expansion
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: Manufacturer: Seagate
Aug 13 10:45:23 medina.novell.com kernel: usb 3-1: SerialNumber: NA4BQHLX
Aug 13 10:45:23 medina.novell.com kernel: scsi host7: uas
Aug 13 10:45:23 medina.novell.com kernel: scsi 7:0:0:0: Direct-Access Seagate Expansion 0502 PQ: 0 ANSI: 6
Aug 13 10:45:23 medina.novell.com kernel: sd 7:0:0:0: Attached scsi generic sg1 type 0
Aug 13 10:45:23 medina.novell.com kernel: sd 7:0:0:0: [sdb] 3907029167 512-byte logical blocks: (2.00 TB/1.81 TiB)
Aug 13 10:45:23 medina.novell.com kernel: sd 7:0:0:0: [sdb] 4096-byte physical blocks
Aug 13 10:45:23 medina.novell.com kernel: sd 7:0:0:0: [sdb] Write Protect is off
Aug 13 10:45:23 medina.novell.com kernel: sd 7:0:0:0: [sdb] Mode Sense: 4f 00 00 00
Aug 13 10:45:23 medina.novell.com kernel: sd 7:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Aug 13 10:45:23 medina.novell.com mtp-probe[3392]: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Aug 13 10:45:23 medina.novell.com mtp-probe[3392]: bus: 3, device: 5 was not an MTP device
Aug 13 10:45:25 medina.novell.com kernel: sdb: sdb1 sdb2 sdb3
Aug 13 10:45:25 medina.novell.com kernel: sd 7:0:0:0: [sdb] Attached SCSI disk
Aug 13 10:45:25 medina.novell.com kernel: iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-7265D-11.ucode' failed.
Aug 13 10:45:25 medina.novell.com kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-10.ucode failed with error -2
Aug 13 10:45:25 medina.novell.com kernel: iwlwifi 0000:03:00.0: Falling back to user helper
Aug 13 10:45:25 medina.novell.com kernel: hfsplus: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only.
Aug 13 10:45:25 medina.novell.com ntfs-3g[3421]: Version 2014.2.15 external FUSE 29
Aug 13 10:45:25 medina.novell.com ntfs-3g[3421]: Mounted /dev/sdb1 (Read-Write, label "LUIS", NTFS 3.1)
Aug 13 10:45:25 medina.novell.com ntfs-3g[3421]: Cmdline options: rw,nodev,nosuid,uid=1000,gid=100,dmask=0077,fmask=0177,uhelper=udisks2
Aug 13 10:45:25 medina.novell.com ntfs-3g[3421]: Mount options: rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdb1,blkdev,blksize=4096
Aug 13 10:45:25 medina.novell.com ntfs-3g[3421]: Global ownership and permissions enforced, configuration type 1
Aug 13 10:45:25 medina.novell.com udisksd[1953]: Mounted /dev/sdb2 at /run/media/luis/ALBERTO on behalf of uid 1000
Aug 13 10:45:25 medina.novell.com udisksd[1953]: Mounted /dev/sdb1 at /run/media/luis/LUIS on behalf of uid 1000
Aug 13 10:45:25 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2161]: disc.c:332: error opening file BDMV/index.bdmv
Aug 13 10:45:25 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2161]: disc.c:332: error opening file BDMV/BACKUP/index.bdmv
Aug 13 10:45:25 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2161]: disc.c:332: error opening file BDMV/index.bdmv
Aug 13 10:45:25 medina.novell.com org.gtk.Private.UDisks2VolumeMonitor[2161]: disc.c:332: error opening file BDMV/BACKUP/index.bdmv
P.S.
medina:~ # uname -a
Linux medina.novell.com 4.2.0-rc6-1.g4a2cf4a-default #1 SMP Mon Aug 10 01:50:31 UTC 2015 (4a2cf4a) x86_64 x86_64 x86_64 GNU/Linux
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/96
------------------------------------------------------------------------
On 2015-09-03T08:04:53+00:00 Oneukum wrote:
Ok, then this is not the port status issue.
Please activate dynamic debugging of xhci
echo "modules xhci_hcd +p" > /sys/kernel/debug/dynamic_debug/control
and retest.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/97
------------------------------------------------------------------------
On 2015-09-03T19:44:18+00:00 Luis-medina-1 wrote:
Created attachment 646177
systemd-journalctl output
Oliver,
Started "systemd-journalctl -f" and then the following commands and/or
actions where ejecuted:
{1.- Activate dynamic debugging of xhci}
medina:~ # date; echo "modules xhci_hcd +p" > /sys/kernel/debug/dynamic_debug/control
Thu Sep 3 14:35:29 CDT 2015
-bash: echo: write error: Invalid argument
medina:~ # date; echo "module xhci_hcd +p" > /sys/kernel/debug/dynamic_debug/control
Thu Sep 3 14:35:37 CDT 2015
{2.- Inserted HDD}
{3.- Eject HDD}
medina:~ # date; eject /dev/sdb
Thu Sep 3 14:36:17 CDT 2015
{4.- PowerOff HDD (with automatic remouting)}
medina:~ # date; udisksctl power-off -b /dev/sdb
Thu Sep 3 14:36:29 CDT 2015
{5.- Disable dynamic debugging of xhci}
medina:~ # date; echo "module xhci_hcd -p" > /sys/kernel/debug/dynamic_debug/control
Thu Sep 3 14:36:56 CDT 2015
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/98
------------------------------------------------------------------------
On 2015-09-08T09:44:27+00:00 Oneukum wrote:
Could you please redo and split the logs when you do something?
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/99
------------------------------------------------------------------------
On 2015-09-08T14:56:07+00:00 Luis-medina-1 wrote:
Created attachment 646529
systemd-journalctl divided by action
Sure,
I attached a tar.gz with three files:
01-insertHDD.log, inserting the HDD...
02-ejectHDD.log, execution of the command "eject /dev/sdb"
03-powerOffHDD.log, powering off and automatic remounting, command
"udisksctl power-off -b /dev/sdb"
medina:~ # date; eject /dev/sdb
Tue Sep 8 09:44:07 CDT 2015
medina:~ # date; udisksctl power-off -b /dev/sdb
Tue Sep 8 09:44:33 CDT 2015
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/100
------------------------------------------------------------------------
On 2015-09-23T12:36:17+00:00 Oneukum wrote:
Inconclusive. Something crashes the drive. Possibly LPM is too much for
your device. Please try this kernel disabling it:
https://build.opensuse.org/project/monitor?project=home%3Aoneukum%3Abnc922634_disableLPM
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/101
------------------------------------------------------------------------
On 2015-12-22T13:20:56+00:00 Oneukum wrote:
Ping?
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/108
------------------------------------------------------------------------
On 2016-10-10T09:37:28+00:00 Oneukum wrote:
Upstream has provided a fix:
commit 91ff70db0c49d22fac1b249bd16949978406c271
Author: Mathias Nyman <mathias.nyman at linux.intel.com>
Date: Mon Aug 29 14:45:17 2016 +0300
usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
USB-3 does not have any link state that will avoid negotiating a connection
with a plugged-in cable but will signal the host when the cable is
unplugged.
For USB-3 we used to first set the link to Disabled, then to RxDdetect to
be able to detect cable connects or disconnects. But in RxDetect the connected
device is detected again and eventually enabled.
Instead set the link into U3 and disable remote wakeups for the device.
This is what Windows does, and what Alan Stern suggested.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/128
------------------------------------------------------------------------
On 2016-10-10T13:04:13+00:00 Oneukum wrote:
fix added to kernel trees
Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/comments/129
** Changed in: opensuse
Status: Unknown => Fix Released
** Changed in: opensuse
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/792085
Title:
Automatic remount of safely removed usb 3.0 drive
Status in Nautilus:
New
Status in thunar:
Unknown
Status in nautilus package in Ubuntu:
Confirmed
Status in thunar package in Ubuntu:
Confirmed
Status in udev package in Ubuntu:
Confirmed
Status in Fedora:
Unknown
Status in openSUSE:
Fix Released
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/nautilus/+bug/792085/+subscriptions
More information about the foundations-bugs
mailing list