[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting error USB stick



Florian Kulzer on 26/02/08 19:28, wrote:
On Tue, Feb 26, 2008 at 00:16:36 +0000, Adam Hardy wrote:
Florian Kulzer on 25/02/08 17:39, wrote:
On Mon, Feb 25, 2008 at 00:05:44 +0000, Adam Hardy wrote:
Florian Kulzer on 24/02/08 23:05, wrote:
On Sun February 24 2008, Adam Hardy wrote:
Using xfce, Thunar used to pick up on the new usb storage device and put an
icon in its tree pane for me with the usb stick's name. Clicking on that
would then mount it to /media

[...]

That's good. My user can mount it with pmount-hal at /media/adam for one stick, and /media/usbstick for another, and pumount it again. So that is probably the command that Thunar issues.

It also gives me this message:

libhal-storage.c 1401 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError was not set. process 23617: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.

Perhaps this is an indication that there's something wrong still which prevents the system from executing pmount-hal automatically.
It seems that you are not the only one having this problem, and it is
not limited to thunar:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406390

Do you have a completely up-to-date system? (kernel, udev, hal, libhal1,
libhal-storage1, dbus, libdbus-*)
Completely up-to-date etch versions.

That bug is a year old. I couldn't work out how to see its status from that web page. Anyway, you're right, it does appear to be the same issue I'm having.

It seems to me, however, that we do not know if this message is really
related to your problem, since you never tried to run pmount-hal
yourself before thunar started acting up (if I understand you
correctly).

Maybe it is still worthwhile to check a few elementary things: What
happens if a newly-created user with clean xfce and thunar profiles runs
the xfce session and a USB stick is plugged in? If things still go
wrong, is there anything interesting logged in ~/.xsession-errors?

So hal is actually meant to mount the usb stick automatically? Not just show an
icon in thunar? How about CDs?

Plugging in a usb stick for a new user in xfce gave some interesting although in
conclusive results. First of all I noticed that the usb stick also appears as an
icon on the desktop. I just hadn't seen it with my normal user in amongst the
clutter.

Secondly, double-clicking the icon produced this message in .xsession-errors:

** (xfdesktop:14095): CRITICAL **: xfdesktop_file_icon_activated: assertion
`info' failed

and choosing the context menu 'mount' cmd pops up a dialog saying "no mount point found for /dev/sda1"

Strangely this doesn't happen for my normal user (could it be because my normal user formatted it and gave it its permissions?). With my normal user I am now back to square one: I have to go into thunar and select the icon which appears before it mounts.

In fact this is the same for cds.

Regards
Adam


Reply to: