#608671 gvfs: Error message while umounting an USB volume

Package:
gvfs
Source:
gvfs
Description:
userspace virtual filesystem - GIO module
Submitter:
"Jean-Luc Coulon \(f5ibh\)"
Date:
2021-11-05 06:42:02 UTC
Severity:
normal
#608671#5
Date:
2011-01-02 15:11:55 UTC
From:
To:
Hi,

I use the gnome desktop.
I insert a mass storage volume (USB disk, USB "key", Compact flash card, ...).
The system mount it.
After using and before removing the media I umont it via a right clic on the
desktop icon then -> Safely remove disk (I've a French desktop so the message is
"Retirer le volume sans risque").

I got a popup with the following message:

Error detaching: helper exited with exit code 1: Detaching
device /dev/sdd
USB device:/sys/devices/pci0000:00/0000:00/0000:00:13.2/usb2/2-4)
SYNCHRONIZE CACHE:OK
STOP UNIT: OK
Unbinding USB interface driver: OK
Syspending USB device: FAILED: Cannot open
/sys/devices/pci0000/0000:00:13.2/2-4/power/level for writing:
No such file or directory

The device is normally unmounted.
As far as I know, there is no suspend action supported by the device (USB Card
reader with a compact flash inserted) I used to report this error.

If I use the "Eject' option, the device is normally unmounted and I've not this
error popup.

Regards

Jean-Luc


- -- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-rc7-k8-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gvfs depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-4   simple interprocess messaging syst
ii  libexpat1                     2.0.1-7    XML parsing C library - runtime li
ii  libgconf2-4                   2.32.1-2   GNOME configuration database syste
ii  libgdu0                       2.30.1-2   GObject based Disk Utility Library
ii  libglib2.0-0                  2.27.5-1   The GLib library of C routines
ii  libgnome-keyring0             2.30.1-1   GNOME keyring services library
ii  libudev0                      164-3      libudev shared library
ii  x11-utils                     7.6~1      X11 utilities

Versions of packages gvfs recommends:
ii  dbus                          1.2.24-4   simple interprocess messaging syst
ii  policykit-1-gnome             0.96-3     GNOME authentication agent for Pol

Versions of packages gvfs suggests:
ii  gvfs-backends                 1.6.4-3    userspace virtual filesystem - bac

- -- no debconf information
iD8DBQFNIJW7UdGGXzzGnNARAkRZAJ4ib9++ZACiJebnJWf3WcPV2iYLCwCfSD64
X7XJotxrf2FulHXEtDMnKzE=
=vnmM
-----END PGP SIGNATURE-----

#608671#10
Date:
2013-03-27 10:05:57 UTC
From:
To:
Dear Maintainer,

This still happens in Wheezy:
When trying to "Safely remove drive" (an HTC One S), I got the error message :

Safely remove drive

Unable to stop drive
Error detaching: helper exited with exit code 1: Detaching device /dev/sdc
USB device: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.4)
SYNCHRONIZE CACHE: OK
STOP UNIT: FAILED: No such file or directory

After that, the drive is unmounted.

Best regards,
Jean-Christophe

#608671#15
Date:
2014-03-12 00:07:17 UTC
From:
To:
Hey,

Could you please still reproduce this issue with newer gvfs version
like 1.16.3-2 ?

thanks
regards
althaser

#608671#20
Date:
2014-03-23 08:56:49 UTC
From:
To:
I don't know for the author but I have a similar problem.
Mounting USB volumes threw gnome 3 works well, but unmounting them (ie
threw nautilus) does not work at all.

The error window says that the volume is busy (even if no program use
it: nautilus directory is located somewhere else).
Clicking on cancel close the window for one second but raise it again.

I am obliged to unplug the volume, which can lead to data corruption. So
I now propose to raise the priority to grave.

Current gvfs version: 1.16.3-2

Also, please note that sometimes, trying to force the unmount of the
volume (threw the gnome gvfs error window) could lead gnome to display
an error window which cannot be closed. We are then obliged to hardly
restart gnome, which can lead to other data corruption (all opened
programs are hardly killed).
In some other tests, even the ctrl-alt-F1 combination might not work,
then we must reset the computer...

So, the priority might even be critical.

#608671#25
Date:
2021-11-04 18:22:28 UTC
From:
To:
-- 
Hey, sorry to press you and sorry for already sending you a message, but I
have this important [appointment/etc.] and I do need to find an arrangement
soon, Looking forward.

Sincerely,
Ms. Elah Donan.

#608671#30
Date:
2021-11-05 06:39:30 UTC
From:
To:
My dear,

How are you today? I'm yours Sgt. Elah Dohan, military IDF officer
Currently in Libya. I appreciate your response to my message and I hope to
establish a trusting friendship with you. I am 30 years old, I would like
to know you. I'm well known in Jerusalem. I joined the military academy
when I was eleven years old, used to be one of the best students in the
graduate programs of army officers in the center of student success in
Jerusalem at my nineteen years. I do not have a criminal record; I got
involved in an event that reminds me of my mission here in Libya.

Here I have to tell you more about myself, I am an orphan, I do not know my
biological parents, I observed that the people I am living with were not my
right parents at the age of 19. You know every citizen of Israel is trained
from the school to be a soldier but after 18 years, you choose yourself to
remain a soldier or to have other professions, so I have been a soldier
since my youth! I have no one as my biological brother or sister, I want to
invest my money into fashion trading, I have United Nations clearance
issued to me under the Israeli government, so both of us can travel to
Canada or the United States if you desire. Your honest assistant I desire
most.

For your information, I have to disguise my name on social networks, please
understand that it is for my safety. My real name is (Elah Dohan) you must
prove your honesty and kind attention to my request, I do not want to make
transactions with anyone in Israel for my safety. I have friends who know
me in my city, but if I inform them about this agreement, the government of
Israel could be aware, I choose that you are my guide and my future
commercial partner. I will visit your country when we finish our work here.

Currently, we are in the city of Tobruk, but we are moving to Benghazi, I
need your confidential guarantee to protect me from any Israeli citizens. I
can not make transactions with someone who is in Israel to protect my
image. I will give you more information about how we can help each other,
but the most important thing is the trust and confidence that I have
decided to place in you. Honestly, I need your goodwill to protect each
other.

But due to the high risk i have passed through in army field and my
assignment with them here will soon be completed, i have decided to resign
from being a military woman after this contract assignment and get married
to build my own happy family, But i have some money which i am intending to
invest outside my country when i have resigned from duty because i can not
live in my country as a civilian any more because of all the terrorist and
bad people i and my group have dealt with before in Israel, so please i
need a sincere and trustworthy person that will help me and stand as a
business partner to me and receive the fund for future investment in a
lucrative business and in a country that has peace, The money is presently
deposited under a reliable security company here in Libya, So please if you
are interested to be my business partner, kindly let me know for us to move
ahead on planning, attached here is my pictures for you to know whom you
are dealing with, i wish you send some photo of you dear to me while
replying this mail for me to know you in person.

I hope my message comes to you in good health and I need your prayers.

I'm waiting for your quick response.

Sargent Elah Dohan