Unable to mount any media in nautilus.

Bug #393051 reported by Robert Hooker
120
This bug affects 24 people
Affects Status Importance Assigned to Milestone
devicekit-disks (Ubuntu)
Fix Released
Low
Unassigned
gvfs (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gvfs

All mounts are disappearing when I try to click on one (SD card, or NTFS partition for example) to mount it in nautilus.

/usr/lib/gvfs/gvfsd-computer --debug gives this error when I manually start it:

Added new job source 0x9bd1810 (GVfsBackendComputer)
Queued new job 0x9bd3418 (GVfsJobMount)
send_reply, failed: 0
register_mount_callback, mount_reply: 0x9bcc618, error: (nil)

(process:10187): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.3606 of volume monitor org.gtk.Private.GduVolumeMonitor disconnected from the bus; removing drives/volumes/mounts

Manually running /usr/lib/gvfs/gvfs-gdu-volume-monitor beforehand and then starting another gvfds-computer gives this error when the prior error happens in gvfsd-computer.

/usr/lib/gvfs/gvfs-gdu-volume-monitor: symbol lookup error: /usr/lib/gvfs/gvfs-gdu-volume-monitor: undefined symbol: gdu_error_check_polkit_not_authorized

This started in the past few days, some time around when devicekit-disks and gnome-disk-utility got updated. I see that there is a bug on gnome's bugzilla regarding the gvfs-gdu-volume-monitor undefined symbol error if it is relevant.

http://bugzilla.gnome.org/show_bug.cgi?id=583704

ps aux | grep gvfs after a fresh boot:
robert 4218 0.0 0.1 6256 2212 ? S 21:22 0:01 /usr/lib/gvfs/gvfsd
robert 4225 0.0 0.1 30084 2460 ? Ssl 21:22 0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/robert/.gvfs
robert 4346 0.0 0.1 6468 2840 ? S 21:22 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.6 /org/gtk/gvfs/exec_spaw/0
robert 4532 0.0 0.1 7272 2472 ? S 21:22 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
robert 4547 0.0 0.1 6124 2284 ? S 21:23 0:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.6 /org/gtk/gvfs/exec_spaw/1

My gvfs packages are 1.3git20090512-0ubuntu2
gnome-disk-utility 0.4-0ubuntu1
devicekit-disks 005-0ubuntu1
policykit 0.9-4ubuntu1
policykit-gnome 0.9-1ubuntu3

Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

We just need to gvfs package to be upgraded! This seems patched in

http://git.gnome.org/cgit/gvfs/commit/?id=384b3a679e3cf5138ada51338d613df517e0658a

Revision history for this message
Robert Hooker (sarvatt) wrote :

Indeed, the patch does fix it. I applied the 2 patches attached here, disabled 90_relibtoolize.patch from the series, then fakeroot debian/rules binary to build the packages and rebooted after installing them. All mounts are working again via nautilus.

ps aux | grep gvfs

robert 4205 0.0 0.1 6124 2168 ? S 21:46 0:00 /usr/lib/gvfs/gvfsd
robert 4211 0.0 0.1 30084 2456 ? Ssl 21:46 0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/robert/.gvfs
robert 4347 0.0 0.1 6468 2840 ? S 21:47 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.6 /org/gtk/gvfs/exec_spaw/0
robert 4524 0.0 0.2 16052 3188 ? S 21:47 0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
robert 4526 0.0 0.1 7272 2468 ? S 21:47 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
robert 4541 0.0 0.1 6124 2288 ? S 21:47 0:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.6 /org/gtk/gvfs/exec_spaw/1

Revision history for this message
Robert Hooker (sarvatt) wrote :

I dont know how to integrate these changes into the patch series properly so I didn't include a debdiff.

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

Perhaps it is expected that this bug will disappear in next gnome synchronization?

Changed in gvfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

In the meantime - for those who do not know and need an external drive while testing karmic - you can mount your drive by hand:

sudo -s
mkdir /media/volumename
mount /dev/sdb1 /media/volumename

where /dev/sdb1 is replaced by your partition, and volumename is a directory of your choice.

To see what partitions are on a device, you can do tail -f /var/log/messages and *then* connect the drive. In the log you will see information on the drive itself including a list of partitions. Then you can terminate tail -f by hitting ctrl+c.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed with gvfs 1.3.1 in karmic

Changed in gvfs (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: Confirmed → Fix Released
Changed in devicekit-disks (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

Its not fixed yet :( but the error changed to:

Not Authorized: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files

Revision history for this message
Robert Hooker (sarvatt) wrote :

It works fine here. Perhaps you need to manually install policykit-1 and policykit-1-gnome judging by the error?

Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

Indeed ! After installing policykit-1 & policykit-1-gnome it worked! Missing depends ?

Revision history for this message
Christopher (soft-kristal) wrote :

Worked for me too after a reboot and entering my password for the external and flash drives. The other partition (Jaunty) mounted without needing a password.

Revision history for this message
Areia (musicareia) wrote :

Me too, after installing policykit-1-gnome, works with password.

Revision history for this message
Christopher (soft-kristal) wrote :

After another reboot one drive will not mount. I have a 160GB Seagate Free Agent drive and a 16GB Kingston flash drive. I have policykit-1 and policykit-1-gnome installed.

Since the second reboot, the Seagate drive will not mount. The original message 'Cannot get volume.fstype.alternative' is displayed.

Revision history for this message
Christopher (soft-kristal) wrote :

A further note - the Seagate drive is formatted as NTFS while the 16GB drive (mounted) is fat32.

Revision history for this message
Francesco Marella (francesco-marella) wrote : Re: [Bug 393051] Re: Unable to mount any media in nautilus.

you need to:
- install ntfs-config- start ntfs-config as root
- select the hard drive or partition of interest and enable support for both
internal and external devices.

2009/6/29 Christopher <email address hidden>

> A further note - the Seagate drive is formatted as NTFS while the 16GB
> drive (mounted) is fat32.
>
> --
> Unable to mount any media in nautilus.
> https://bugs.launchpad.net/bugs/393051
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “devicekit-disks” package in Ubuntu: Fix Released
> Status in “gvfs” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: gvfs
>
> All mounts are disappearing when I try to click on one (SD card, or NTFS
> partition for example) to mount it in nautilus.
>
> /usr/lib/gvfs/gvfsd-computer --debug gives this error when I manually start
> it:
>
> Added new job source 0x9bd1810 (GVfsBackendComputer)
> Queued new job 0x9bd3418 (GVfsJobMount)
> send_reply, failed: 0
> register_mount_callback, mount_reply: 0x9bcc618, error: (nil)
>
> (process:10187): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.3606 of
> volume monitor org.gtk.Private.GduVolumeMonitor disconnected from the bus;
> removing drives/volumes/mounts
>
>
> Manually running /usr/lib/gvfs/gvfs-gdu-volume-monitor beforehand and then
> starting another gvfds-computer gives this error when the prior error
> happens in gvfsd-computer.
>
> /usr/lib/gvfs/gvfs-gdu-volume-monitor: symbol lookup error:
> /usr/lib/gvfs/gvfs-gdu-volume-monitor: undefined symbol:
> gdu_error_check_polkit_not_authorized
>
>
> This started in the past few days, some time around when devicekit-disks
> and gnome-disk-utility got updated. I see that there is a bug on gnome's
> bugzilla regarding the gvfs-gdu-volume-monitor undefined symbol error if it
> is relevant.
>
> http://bugzilla.gnome.org/show_bug.cgi?id=583704
>
>
> ps aux | grep gvfs after a fresh boot:
> robert 4218 0.0 0.1 6256 2212 ? S 21:22 0:01
> /usr/lib/gvfs/gvfsd
> robert 4225 0.0 0.1 30084 2460 ? Ssl 21:22 0:00
> /usr/lib/gvfs//gvfs-fuse-daemon /home/robert/.gvfs
> robert 4346 0.0 0.1 6468 2840 ? S 21:22 0:00
> /usr/lib/gvfs/gvfsd-trash --spawner :1.6 /org/gtk/gvfs/exec_spaw/0
> robert 4532 0.0 0.1 7272 2472 ? S 21:22 0:00
> /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
> robert 4547 0.0 0.1 6124 2284 ? S 21:23 0:00
> /usr/lib/gvfs/gvfsd-burn --spawner :1.6 /org/gtk/gvfs/exec_spaw/1
>
>
> My gvfs packages are 1.3git20090512-0ubuntu2
> gnome-disk-utility 0.4-0ubuntu1
> devicekit-disks 005-0ubuntu1
> policykit 0.9-4ubuntu1
> policykit-gnome 0.9-1ubuntu3
>

Revision history for this message
Christopher (soft-kristal) wrote :

Thank you - it and a reboot did the trick.

Revision history for this message
Glendon Solsberry (gms8994) wrote :

I have the same problem trying to mount my iPhone under Maverick:

[318361.916075] usb 1-5: new high speed USB device using ehci_hcd and address 5
[318362.084199] ipheth 1-5:4.2: Apple iPhone USB Ethernet device attached

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.