USB Mass Storage device not automounted

Bug #478770 reported by Colin Marquardt
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Binary package hint: gvfs

When I attach USB Mass Storage devices, the don't get automounted. I can mount them fine with e.g. Palimpsest. This report is generated with the ubuntu-bug utility as requested in Bug 429257. My specific device in this case is a Garmin GPSmap 60Cx in Mass Storage mode.

ProblemType: Bug
Architecture: i386
Date: Sun Nov 8 23:58:44 2009
DistroRelease: Ubuntu 9.10
HotplugNewDevices: /dev/sdb /dev/sdb1
HotplugNewMounts:

Package: gvfs 1.4.1-0ubuntu1
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gvfs
Symptom: storage
Tags: ubuntu-unr
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Colin Marquardt (ubuntu-marquardt-home) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Can you confirm that you are running GNOME? Does this happen with other USB storage devices (like USB sticks) as well?

devkit-disks looks fine. Can you please do this:

  * Disconnect the garmin
  * Open a Terminal and do "gvfs-mount -oi"
  * Connect the garmin, wait some 10 seconds
  * Press Control-C, and copy&paste the output here.
  * Copy & paste the output of "mount".

Thanks!

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Colin Marquardt (ubuntu-marquardt-home) wrote :

Thanks for the quick response.
Yes, I'm very sure I'm running Gnome. This is a Karmic Netbook Remix, installed from the release candidate CD (and updated).

colin@snow:~$ gvfs-mount -oi
Monitoring events. Press Ctrl+C to quit.
Drive connected: 'Garmin 60x microSD'
  Drive(0): Garmin 60x microSD
    Type: GProxyDrive (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdb'
    themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
    is_media_removable=1
    has_media=1
    is_media_check_automatic=1
    can_poll_for_media=1
    can_eject=1
    can_start=0
    can_stop=1
    start_stop_type=shutdown
    Volume(0): 4,0 GB Dateisystem
      Type: GProxyVolume (GProxyVolumeMonitorGdu)
      ids:
       uuid: '3031-6130'
       unix-device: '/dev/sdb1'
      themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
      can_mount=1
      can_eject=1
      should_automount=0

Volume added: '4,0 GB Dateisystem'
  Volume(0): 4,0 GB Dateisystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '3031-6130'
     unix-device: '/dev/sdb1'
    themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
    can_mount=1
    can_eject=1
    should_automount=0

^C
colin@snow:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/home/colin/.Private on /home/colin type ecryptfs (ecryptfs_sig=123456789,ecryptfs_fnek_sig=1234567899,ecryptfs_cipher=aes,ecryptfs_key_bytes=16)
gvfs-fuse-daemon on /home/colin/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=colin)
colin@snow:~$

Revision history for this message
Martin Pitt (pitti) wrote :

> should_automount=0

Ah, that would be it then. I need to check the code and find out what could cause this.

Changed in gvfs (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Incomplete → Triaged
Changed in gvfs (Ubuntu):
importance: Undecided → Low
Revision history for this message
Colin Marquardt (ubuntu-marquardt-home) wrote :

This problem seems to have been fixed in the meantime, the Garmin is now automounted when in USB Mass Storage mode. I didn't notice it right away because it takes quite some time until that happens, but it happens eventually. Thanks guys.

Changed in gvfs (Ubuntu):
status: Triaged → Fix Released
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.