LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   USB automount doesn't work (https://www.linuxquestions.org/questions/suse-opensuse-60/usb-automount-doesnt-work-613386/)

lambchops468 01-13-2008 10:15 PM

USB automount doesn't work
 
OS is opensuse 10.3 64bit.

The story:

When I plugged in a USB stick, openSUSE used to be happy and mount it automatically and pop up a window asking me what I wanted to do.

Starting this morning, it doesn't do that. Nothing happens.
Can someone help me fix this?

(potential changes that might have messed it up include installing gparted and enabling cfq...but i don't see how either of these affect the automounter - if anybody has time, could you please explain to me the automounting system?)

cds mount ok.

something intersting is that if I mount it manually, log out, and log back in, the drive will show up in the kicker menu and media:/

however, after I unmount it manually, the usb entry is still there, but the mount arrow isn't, so I click the drive to mount it with the automounter.

It comes back with a permission problem. wtf?


Thanks for helping me.

jschiwal 01-14-2008 03:13 PM

Which desktop are you using? For KDE, there is a helper service involved that could be involved. If you see a requester popup when inserting a pen drive, it is probably working. I assume the same is true for Gnome.

Also make sure that the hald, udevd, resmgrd & dbusd daemons are running. Check your kernel boot options in /boot/grub/menu.lst. You need acpi enabled for dbusd to work.

Also check if /etc/resmgr.conf contains the lines:
Code:

# generic libusb access
class usb

Also verify that you can mount the pendrive manually as root. If there is a problem with the filesystem on the drive, you won't be able to mount it. Also remove any entries for that device in /etc/fstab. It will take precedence.

Before trying to automount the pendrive, in a terminal, like konsole, enter:
sudo tail -f /var/log/messages
Then insert the drive. There may be further details on why it isn't working.

There are also a couple of files; /media/.hal-mtab and /media/.hal-mtab-lock. When the device isn't mounted, it shouldn't be listed.

lambchops468 01-14-2008 04:56 PM

Thanks for replying.

yes, I am using KDE, and the helper does pop up for optical drives.

those daemons are running, but dbusd is running under the name dbus-daemon.

the resmgr.conf contains the proper lines, fstab is ok, the kernel sees the usb drives properly.

I tried to delete .hal-mtab, but that didn't work.

edit: found another guy with my same exact problem (it pertains to gparted!)
http://ubuntuforums.org/showthread.p...01#post4136501

and manual mounting works.

edit2: found a solution: https://bugs.launchpad.net/gparted/+bug/134712

jschiwal 01-15-2008 03:36 AM

I would never have thought of that. I hope I can imprint this into my memory bank.


All times are GMT -5. The time now is 12:27 AM.