desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #126954
[Bug 1239087] Re: Safely remove is not working (or broken) in Gnome Disks
Launchpad has imported 10 comments from the remote bug at
https://bugzilla.novell.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 Lmedina 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/gnome-disk-
utility/+bug/1239087/comments/48
------------------------------------------------------------------------
On 2015-04-09T22:37:43+00:00 Lmedina 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/gnome-disk-
utility/+bug/1239087/comments/49
------------------------------------------------------------------------
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/gnome-disk-
utility/+bug/1239087/comments/50
------------------------------------------------------------------------
On 2015-06-24T04:16:19+00:00 Lmedina 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/gnome-disk-
utility/+bug/1239087/comments/51
------------------------------------------------------------------------
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/gnome-disk-
utility/+bug/1239087/comments/52
------------------------------------------------------------------------
On 2015-06-29T16:28:42+00:00 Lmedina 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/gnome-disk-
utility/+bug/1239087/comments/53
------------------------------------------------------------------------
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/gnome-disk-
utility/+bug/1239087/comments/54
------------------------------------------------------------------------
On 2015-06-30T18:22:11+00:00 Lmedina 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/gnome-disk-
utility/+bug/1239087/comments/55
------------------------------------------------------------------------
On 2015-06-30T18:49:57+00:00 Lmedina wrote:
*** Bug 859374 has been marked as a duplicate of this bug. ***
Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-disk-
utility/+bug/1239087/comments/56
------------------------------------------------------------------------
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/gnome-disk-
utility/+bug/1239087/comments/57
** Changed in: oem-workaround-xhci-quirk-dkms (openSUSE)
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-disk-utility in Ubuntu.
https://bugs.launchpad.net/bugs/1239087
Title:
Safely remove is not working (or broken) in Gnome Disks
Status in GNOME Disks:
Fix Released
Status in abstraction for enumerating and managing block devices:
Confirmed
Status in gnome-disk-utility package in Ubuntu:
Fix Released
Status in gnome-disk-utility package in Fedora:
Unknown
Status in gnome-disk-utility package in openSUSE:
Confirmed
Status in oem-workaround-xhci-quirk-dkms package in openSUSE:
Unknown
Bug description:
In 12.04 I was able to safely remove USB-stick (make its LED off) and USB-HDD (do a spin down).
In 13.04 this option is missed.
In 13.10 it is appeared again, but not working as expected:
+ Gnome Disks normally powers off the USB flash (tested on 4 different flashes and 2 USB cardreaders).
- Gnome Disks does not spin down USB HDD (but udisks --detach does)
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-disk-utility 3.8.2-1ubuntu2
ProcVersionSignature: Ubuntu 3.10.0-1.8-generic 3.10.0-rc7
Uname: Linux 3.10.0-1-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2
Architecture: i386
Date: Sat Oct 12 13:39:21 2013
InstallationDate: Installed on 2013-03-06 (219 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130306)
MarkForUpload: True
SourcePackage: gnome-disk-utility
UpgradeStatus: Upgraded to saucy on 2013-06-23 (110 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-disk-utility/+bug/1239087/+subscriptions