LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-13-2008, 10:15 PM   #1
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
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.
 
Old 01-14-2008, 03:13 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 01-14-2008 at 03:17 PM.
 
Old 01-14-2008, 04:56 PM   #3
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Original Poster
Rep: Reputation: 30
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

Last edited by lambchops468; 01-14-2008 at 05:05 PM.
 
Old 01-15-2008, 03:36 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

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


Reply

Tags
automount, drive, opensuse, permission, stick, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after update HAL automount doesn't work eddiep Linux - Hardware 4 02-26-2007 01:58 PM
USB Automount: /media/USB Disk morxy Linux - Hardware 3 10-20-2006 08:08 AM
usb automount: how does it work? iam whoiam Linux - General 1 08-12-2006 02:44 AM
automount didnt work PinRojas Debian 7 07-05-2005 11:29 AM
how to make automount work? jaan kaer Linux - Hardware 3 02-21-2004 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration