Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2006 22:42:12 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Brian Gruber <knightbg@yahoo.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: problems with hal and removable media
Message-ID:  <1163734932.11889.45.camel@shumai.marcuscom.com>
In-Reply-To: <475890.78382.qm@web32403.mail.mud.yahoo.com>
References:  <475890.78382.qm@web32403.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-h+g9q5qbqECWvqXNIqzC
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2006-11-16 at 19:08 -0800, Brian Gruber wrote:
> Hi,
>=20
> Like I guess a number of others, I've been having
> problems with removable media and hal.
>=20
> 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...
>=20
> First I tried the flash drive at /dev/da0:
> ---
> bgruber@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.
>=20
> ** (gnome-mount:1262): WARNING **: Drive /dev/da0 does
> not contain media.
> ---
>=20
> And then I tried /dev/da0s1 (i'm not sure which one
> nautilus is doing):
> ---
> bgruber@calvin:~>gnome-mount -v -t -d /dev/da0s1=20
> 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=3D'BRIANGRUBER', fstype=3D'',
> num_options=3D0
>=20
> ** (gnome-mount:1263): WARNING **: Mount failed for
> /org/freedesktop/Hal/devices/volume_uuid_18E2_2763
> org.freedesktop.Hal.Device.UnknownError : An
> unexpected error occured
> ---
>=20
> As for the CD (the volume name on the cd is Choosy):
> ---
> bgruber@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=3D'Choosy', fstype=3D'', num_options=3D0
>=20
> ** (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.
> ---
>=20
> So I tried commenting the cdrom's line out of my
> fstab. Now...
> ---
> bgruber@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=3D'Choosy', fstype=3D'', num_options=3D0
>=20
> ** (gnome-mount:1291): WARNING **: Mount failed for
> /org/freedesktop/Hal/devices/volume_label_Choosy
> org.freedesktop.Hal.Device.UnknownError : An
> unexpected error occured
> ---
>=20

Try running hald in debugging mode:

/usr/local/sbin/hald --daemon=3Dno --verbose=3Dyes

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

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-h+g9q5qbqECWvqXNIqzC
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFXS+Ub2iPiv4Uz4cRAk1OAJ9GB+QPDHDhiGyYiwElYLZ8ioiy0gCglnsX
rtooyAeCRl+4Advd7KWh5tM=
=neun
-----END PGP SIGNATURE-----

--=-h+g9q5qbqECWvqXNIqzC--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1163734932.11889.45.camel>