Public bug reported:

USB removable flash/harddisk storage drives won't automatically mount. It seems 
that the hald does it's work, the devices are added and all the information can 
be read in the Hardware Information application. Also fdisk agrees that the 
device is created as seen in the 'fdisk -l' output below.
The only time when the gnome-volume-manager does correctly mount these devices 
is on it starts up.

I've attached two outputs of the gvm. The first scenario is as following:
Flash device is not connected -> gvm is started -> flash device is plugged in 
-> waiting a bit -> flash device is unplugged
result: flash device was not mounted
gvm output:
manager.c/647: setting[0]: bool: autobrowse = 1
manager.c/647: setting[1]: bool: autoburn = 1
manager.c/642: setting[2]: string: autoburn_audio_cd_command = serpentine
manager.c/642: setting[3]: string: autoburn_data_cd_command = nautilus 
--no-desktop burn:
manager.c/647: setting[4]: bool: autoipod = 1
manager.c/642: setting[5]: string: autoipod_command = rhythmbox
manager.c/647: setting[6]: bool: autokeyboard = 0
manager.c/642: setting[7]: string: autokeyboard_command = 
manager.c/647: setting[8]: bool: automount_drives = 1
manager.c/647: setting[9]: bool: automount_media = 1
manager.c/647: setting[10]: bool: automouse = 0
manager.c/642: setting[11]: string: automouse_command = 
manager.c/647: setting[12]: bool: autoopen = 0
manager.c/642: setting[13]: string: autoopen_path = .autoopen:autoopen
manager.c/647: setting[14]: bool: autophoto = 1
manager.c/642: setting[15]: string: autophoto_command = 
gnome-volume-manager-gthumb %h
manager.c/647: setting[16]: bool: autopalmsync = 0
manager.c/642: setting[17]: string: autopalmsync_command = 
gpilotd-control-applet
manager.c/647: setting[18]: bool: autoplay_cda = 1
manager.c/642: setting[19]: string: autoplay_cda_command = sound-juicer -d %d
manager.c/647: setting[20]: bool: autoplay_dvd = 1
manager.c/642: setting[21]: string: autoplay_dvd_command = totem %m
manager.c/647: setting[22]: bool: autoplay_vcd = 1
manager.c/642: setting[23]: string: autoplay_vcd_command = totem %m
manager.c/647: setting[24]: bool: autopocketpc = 0
manager.c/642: setting[25]: string: autopocketpc_command = multisync
manager.c/647: setting[26]: bool: autoprinter = 0
manager.c/642: setting[27]: string: autoprinter_command = gnome-cups-add 
hal://%h
manager.c/647: setting[28]: bool: autorun = 0
manager.c/642: setting[29]: string: autorun_path = .autorun:autorun:autorun.sh
manager.c/647: setting[30]: bool: autotablet = 0
manager.c/642: setting[31]: string: autotablet_command = 
manager.c/656: settings[32]: float: percent_threshold = 0.050000
manager.c/656: settings[33]: float: percent_used = 0.010000
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/3306: gvm_user_active_at_console: check-foreground-console returned 
with 1
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0_scsi_host_scsi_device_lun0_scsi_generic
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/volume_uuid_272E_5E9F
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0_scsi_host_scsi_device_lun0
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0_scsi_host
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/storage_serial_USB2_0_USB_Flash_Disk_0_0
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_usbraw
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial

The second scenario is as following:
Flash device is connected -> gvm is started -> flash device is manually 
unmounted -> flash device is unplugged
result: flash device is mounted at gvm start
gvm output:
manager.c/647: setting[0]: bool: autobrowse = 1
manager.c/647: setting[1]: bool: autoburn = 1
manager.c/642: setting[2]: string: autoburn_audio_cd_command = serpentine
manager.c/642: setting[3]: string: autoburn_data_cd_command = nautilus 
--no-desktop burn:
manager.c/647: setting[4]: bool: autoipod = 1
manager.c/642: setting[5]: string: autoipod_command = rhythmbox
manager.c/647: setting[6]: bool: autokeyboard = 0
manager.c/642: setting[7]: string: autokeyboard_command = 
manager.c/647: setting[8]: bool: automount_drives = 1
manager.c/647: setting[9]: bool: automount_media = 1
manager.c/647: setting[10]: bool: automouse = 0
manager.c/642: setting[11]: string: automouse_command = 
manager.c/647: setting[12]: bool: autoopen = 0
manager.c/642: setting[13]: string: autoopen_path = .autoopen:autoopen
manager.c/647: setting[14]: bool: autophoto = 1
manager.c/642: setting[15]: string: autophoto_command = 
gnome-volume-manager-gthumb %h
manager.c/647: setting[16]: bool: autopalmsync = 0
manager.c/642: setting[17]: string: autopalmsync_command = 
gpilotd-control-applet
manager.c/647: setting[18]: bool: autoplay_cda = 1
manager.c/642: setting[19]: string: autoplay_cda_command = sound-juicer -d %d
manager.c/647: setting[20]: bool: autoplay_dvd = 1
manager.c/642: setting[21]: string: autoplay_dvd_command = totem %m
manager.c/647: setting[22]: bool: autoplay_vcd = 1
manager.c/642: setting[23]: string: autoplay_vcd_command = totem %m
manager.c/647: setting[24]: bool: autopocketpc = 0
manager.c/642: setting[25]: string: autopocketpc_command = multisync
manager.c/647: setting[26]: bool: autoprinter = 0
manager.c/642: setting[27]: string: autoprinter_command = gnome-cups-add 
hal://%h
manager.c/647: setting[28]: bool: autorun = 0
manager.c/642: setting[29]: string: autorun_path = .autorun:autorun:autorun.sh
manager.c/647: setting[30]: bool: autotablet = 0
manager.c/642: setting[31]: string: autotablet_command = 
manager.c/656: settings[32]: float: percent_threshold = 0.050000
manager.c/656: settings[33]: float: percent_used = 0.010000
manager.c/3022: mount_all: mounting /dev/sdb1
manager.c/1783: mounting /org/freedesktop/Hal/devices/volume_uuid_272E_5E9F...
manager.c/798: executing command: /usr/bin/gnome-mount --no-ui 
--hal-udi=/org/freedesktop/Hal/devices/volume_uuid_272E_5E9F
gnome-mount 0.6
manager.c/2680: Mounted: /org/freedesktop/Hal/devices/volume_uuid_272E_5E9F
manager.c/2702: Unmounted: /org/freedesktop/Hal/devices/volume_uuid_272E_5E9F
manager.c/2603: Removing ripped out 
/org/freedesktop/Hal/devices/volume_uuid_272E_5E9F from mounted list
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0_scsi_host_scsi_device_lun0_scsi_generic
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/volume_uuid_272E_5E9F
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0_scsi_host_scsi_device_lun0
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0_scsi_host
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_if0
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial_usbraw
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/storage_serial_USB2_0_USB_Flash_Disk_0_0
manager.c/2622: Device removed: 
/org/freedesktop/Hal/devices/usb_device_457_151_noserial

$ fdisk -l
Disk /dev/sdb: 131 MB, 131072000 bytes
16 heads, 32 sectors/track, 500 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         499      127728    6  FAT16

** Affects: gnome-volume-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
USB storage not automatically mounted
https://bugs.launchpad.net/bugs/172759
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to