Comment 7 for bug 151025

Revision history for this message
Dan Lenski (lenski) wrote :

Hi all, I have the same problem, but I found a fix :-) I too am running Gutsy-with-Feisty-kernel because the 2.26.22 kernel panics on boot on my system.

THE PROBLEM
------------------

Basically, the problem is with the options that gnome-mount uses. If you run gnome-mount -vt from the command line, you'll see the problem:

$ gnome-mount -vtd /dev/sdh2
gnome-mount 0.6
** (gnome-mount:1378): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_E0FD_8510
** (gnome-mount:1378): DEBUG: read default option 'shortname=mixed' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:1378): DEBUG: read default option 'uid=' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:1378): DEBUG: read default option 'utf8' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:1378): DEBUG: read default option 'umask=077' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:1378): DEBUG: read default option 'exec' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:1378): DEBUG: read default option 'usefree' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:1378): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_E0FD_8510 with mount_point='DAN LENSKI', fstype='', num_options=6
** (gnome-mount:1378): DEBUG: option='shortname=mixed'
** (gnome-mount:1378): DEBUG: option='uid=1000'
** (gnome-mount:1378): DEBUG: option='utf8'
** (gnome-mount:1378): DEBUG: option='umask=077'
** (gnome-mount:1378): DEBUG: option='exec'
** (gnome-mount:1378): DEBUG: option='usefree'

** (gnome-mount:1378): WARNING **: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_E0FD_8510
org.freedesktop.Hal.Device.Volume.UnknownFailure : mount: wrong fs type, bad option, bad superblock on /dev/sdh2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

HERE'S THE FIX:
--------------------

Go into gconf-editor and navigate to /system/storage/default_options/vfat/mount_options, and then remove the "usefree" option from the list. Exit gconf-editor, and try hotplugging your drive again. It works :-)