problems with hal and removable media

Joe Marcus Clarke marcus at marcuscom.com
Thu Nov 16 19:42:17 PST 2006


On Thu, 2006-11-16 at 19:08 -0800, Brian Gruber wrote:
> Hi,
> 
> Like I guess a number of others, I've been having
> problems with removable media and hal.
> 
> I've tried both a USB flash drive and a CD, neither
> work. Mounting them in nautilus, the flash drive just
> gives a message saying "cannot mount volume" while the
> CD tells me I'm "not privileged." Going to the command
> line...
> 
> First I tried the flash drive at /dev/da0:
> ---
> bgruber at calvin:~>gnome-mount -v -t -d /dev/da0
> gnome-mount 0.4
> libhal-storage.c 1330 : INFO: called
> LIBHAL_FREE_DBUS_ERROR but dbusError was not set.
> libhal-storage.c 1273 : INFO: called
> LIBHAL_FREE_DBUS_ERROR but dbusError was not set.
> libhal-storage.c 1274 : INFO: called
> LIBHAL_FREE_DBUS_ERROR but dbusError was not set.
> 
> ** (gnome-mount:1262): WARNING **: Drive /dev/da0 does
> not contain media.
> ---
> 
> And then I tried /dev/da0s1 (i'm not sure which one
> nautilus is doing):
> ---
> bgruber at calvin:~>gnome-mount -v -t -d /dev/da0s1 
> gnome-mount 0.4
> libhal-storage.c 1330 : INFO: called
> LIBHAL_FREE_DBUS_ERROR but dbusError was not set.
> ** (gnome-mount:1263): DEBUG: Mounting
> /org/freedesktop/Hal/devices/volume_uuid_18E2_2763
> with mount_point='BRIANGRUBER', fstype='',
> num_options=0
> 
> ** (gnome-mount:1263): WARNING **: Mount failed for
> /org/freedesktop/Hal/devices/volume_uuid_18E2_2763
> org.freedesktop.Hal.Device.UnknownError : An
> unexpected error occured
> ---
> 
> As for the CD (the volume name on the cd is Choosy):
> ---
> bgruber at calvin:~>gnome-mount -v -t -h
> /org/freedesktop/Hal/devices/volume_label_Choosy
> gnome-mount 0.4
> ** (gnome-mount:1274): DEBUG: Mounting
> /org/freedesktop/Hal/devices/volume_label_Choosy with
> mount_point='Choosy', fstype='', num_options=0
> 
> ** (gnome-mount:1274): WARNING **: Mount failed for
> /org/freedesktop/Hal/devices/volume_label_Choosy
> org.freedesktop.Hal.Device.Volume.PermissionDenied :
> Device /dev/acd0 is listed in /etc/fstab. Refusing to
> mount.
> ---
> 
> So I tried commenting the cdrom's line out of my
> fstab. Now...
> ---
> bgruber at calvin:~>gnome-mount -v -t -h
> /org/freedesktop/Hal/devices/volume_label_Choosy
> gnome-mount 0.4
> ** (gnome-mount:1291): DEBUG: Mounting
> /org/freedesktop/Hal/devices/volume_label_Choosy with
> mount_point='Choosy', fstype='', num_options=0
> 
> ** (gnome-mount:1291): WARNING **: Mount failed for
> /org/freedesktop/Hal/devices/volume_label_Choosy
> org.freedesktop.Hal.Device.UnknownError : An
> unexpected error occured
> ---
> 

Try running hald in debugging mode:

/usr/local/sbin/hald --daemon=no --verbose=yes

Then repeat the steps, and collect the output on the console.  Also, be
sure you've followed all of the steps at
http://www.freebsd.org/gnome2/docs/faq2.html#q19 .

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061117/08b18c6f/attachment.pgp


More information about the freebsd-gnome mailing list