You are not logged in.

#1 2008-05-19 23:39:06

Xherziu
Member
Registered: 2008-04-16
Posts: 58

Unable to mount CD [Solved]

I got a CD that contains drivers for my wireless USB adapter.  When I put the CD in the drive it seems to try and mount automatically but I get an error.

Error org.freedesktop.DBus.Error.AccessDenied

Details:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

Im in gnome and I thought it would be a group error so I added myself to optical but still same thing.

Last edited by Xherziu (2008-05-20 03:46:55)

Offline

#2 2008-05-20 00:27:38

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Unable to mount CD [Solved]

did you log your user out and back in after adding to optical?

Offline

#3 2008-05-20 00:49:30

Xherziu
Member
Registered: 2008-04-16
Posts: 58

Re: Unable to mount CD [Solved]

yea, doesn't work

Offline

#4 2008-05-20 03:11:14

Xherziu
Member
Registered: 2008-04-16
Posts: 58

Re: Unable to mount CD [Solved]

I just installed and configured autoFS from the wiki and it appears to be working.  When I pop a cd in it gives me the same error but afterwards it mounts successfully (I guess from autoFS), When I try to eject the cd it gives me the error except saying it cannot unmount. 

Does anyone know what program is giving me the error when I pop the cd in.

Here are my current daemons:  syslog-ng, network, netfs, crond, portmap, fam, dbus, hal, ifplugd, autofs

And here is my fstab if you need it:

# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
/dev/fd0 /media/fd0   auto    user,noauto   0      0
/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext3 defaults 0 1
/dev/sda4 /home ext3 defaults 0 1

Last edited by Xherziu (2008-05-20 03:19:31)

Offline

#5 2008-05-20 03:38:27

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Unable to mount CD [Solved]

for hal to properly mount cd/dvds you need to comment out those lines in your fstab.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#6 2008-05-20 03:46:21

Xherziu
Member
Registered: 2008-04-16
Posts: 58

Re: Unable to mount CD [Solved]

I just got it to work I think.  The problem was with HAL and Dbus, I was getting the error because my user was not part of the storage group which I fixed with..

gpasswd -a username storage

Are you sure I should comment those lines out?  It seems to be working ok now.  Thanks anyway rson451.

EDIT - Right now I'm trying to figure out why it will not unmount when I push the eject button on the CD drive.  If I press the eject button before unmounting it manually then nothing happens.  I can only eject it by unmounting it first and this is kind of a hassle.  Does anyone know of a fix?

Last edited by Xherziu (2008-05-20 03:51:28)

Offline

#7 2008-05-20 04:32:29

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Unable to mount CD [Solved]

if it's working i'd leave it alone, but the hal wiki says

If inserted CDs/DVDs are not recognized by hal (no icon on the desktop), check the /etc/fstab and remove the lines for the optical drives.

archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

Board footer

Powered by FluxBB