Bug 25657 - Safely removing device generates error
Summary: Safely removing device generates error
Status: RESOLVED INVALID
Alias: None
Product: udisks
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 10:13 UTC by Sense Hofstede
Modified: 2012-09-28 15:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
hwinfo dump (510.60 KB, text/plain)
2010-09-22 21:19 UTC, Léa Gris
Details
Fail to stop the volume dialog window (17.07 KB, image/png)
2010-09-22 21:24 UTC, Léa Gris
Details

Description Sense Hofstede 2009-12-15 10:13:19 UTC
When safely removing a device with the option from the context menu the following error is generated.

"Unable to stop device
Error detaching: helper exited with exit code 1: sense buffer empty
Error SYNCHRONIZE CACHE for /dev/sdc: Success sense buffer empty
Error STOP UNIT for /dev/sdc: No such file or directory"

A screenshot of the warning dialogue, taken from a downstream duplicate: http://launchpadlibrarian.net/36693130/USB_Flash_Memory_error.png
This image says:
"Unable to stop USB Flash Memory
Error detaching: helper exited with error code 1: synchronize
cache(10): Fixed format, current; Sense key: Key=9
 Additional sense: Logical unit not ready, cause not reportable
  Info fld=0x0 [0]
Error SYNCHRONIZE CACHE for /dev/sdd: Success
start stop unit: transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x00 [DRIVER_OK, SUGGEST_OK]

Error STOP UNIT for /dev/sdd: No such file or directory"

This bug was reported originally by Martin Thoma at Launchpad in Ubuntu at <https://launchpad.net/bugs/466575>.
Comment 1 Léa Gris 2010-09-22 21:19:22 UTC
Created attachment 38891 [details]
hwinfo dump

Same problem here Ubuntu 10.04

<code>Error detaching: helper exited with exit code 1: Detaching device /dev/sdc</code>
Kernel 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux
USB3 hdd Bus 002 Device 005: ID 174c:5106 ASMedia Technology Inc.
Ext4 partition on external hard drive
Automatic mount unmount appear to be ok but get this error when "safe remove" it.

Here is a hwinfo if it can help.
Comment 2 Léa Gris 2010-09-22 21:24:34 UTC
Created attachment 38892 [details]
Fail to stop the volume dialog window

<code>
Error detaching: helper exited with exit code 1: Detaching device /dev/sdc
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2)
SYNCHRONIZE CACHE: FAILED: No such file or directory
(Continuing despite SYNCHRONIZE CACHE failure.)
STOP UNIT: FAILED: No such file or directory
</code>
Comment 3 Dmitry Shachnev 2011-05-09 07:53:57 UTC
Just got this on Ubuntu 11.04

Nautilus message:

Method "DriveEject" with signature "as" on interface "org.freedesktop.UDisks.Device" doesn't exist
Comment 4 David Zeuthen (not reading bugmail) 2012-09-28 15:23:22 UTC
We no longer do this so closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.