Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot mount CD/DVD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
annaphase
n00b
n00b


Joined: 28 Aug 2006
Posts: 8
Location: Lawrence, KS

PostPosted: Fri Jun 15, 2007 6:46 pm    Post subject: Cannot mount CD/DVD Reply with quote

I checked out the posts on similar topics, but none seems to have the exact problem I'm having...

When I put a CD or DVD in the appropriate drive (both my CDRW and DVD drives do this) I get an error message thusly: Error org.freedesktop.Hal.PermissionDenied.

This is new. I used to be able to do things with removable media, and it doesn't (strangely) seem to be associated with any updates.

I have tried movie DVDs, data DVDs, audio and data CDs, and blank media. None of it is recognized. The system recognizes the drives and up until I try to put media in them claims that they are working correctly. I am a user in all relevant groups (cdrom, cdrw...)

Any help is much appreciated. Thanks!
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat Jun 16, 2007 7:11 am    Post subject: Re: Cannot mount CD/DVD Reply with quote

annaphase wrote:
I am a user in all relevant groups (cdrom, cdrw...)

plugdev?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
annaphase
n00b
n00b


Joined: 28 Aug 2006
Posts: 8
Location: Lawrence, KS

PostPosted: Sat Jun 16, 2007 7:29 pm    Post subject: Reply with quote

yes
Back to top
View user's profile Send private message
qeldroma
Guru
Guru


Joined: 17 Oct 2002
Posts: 370

PostPosted: Sun Jun 24, 2007 3:51 pm    Post subject: Reply with quote

I've got the same!

HALD isn't working normally? I did a complete installation of gentoo with all corresponding use-flags(hal, dbus, ..) set.
Trying now out devices, i can't access cdrom or usb-devices via "kde-automount".

I get following message after the "what shall i do" dialog appears and i clicked on "open it":
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")

I reemerged kde-base, i re-emerged hal... nothing helped. And this user is now part of nearly every damned group on that host, it is nearly impossible, that there's a conjunction to the group-membership in here :?

Is it possible, that i now have to do something in the /etc/hal-directory? If yes, this is new to me. I never before did anything there...

Kind regards, Florian
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Jun 24, 2007 6:55 pm    Post subject: Reply with quote

do you have pmount installed?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
qeldroma
Guru
Guru


Joined: 17 Oct 2002
Posts: 370

PostPosted: Mon Jun 25, 2007 9:34 am    Post subject: Reply with quote

yngwin wrote:
do you have pmount installed?

No. Just the same as my previous system:
hald and dbus, that's all...

AFAIK pmount is not needed at all, KDE self should be able to manage the mounting directly...

Florian
Back to top
View user's profile Send private message
qeldroma
Guru
Guru


Joined: 17 Oct 2002
Posts: 370

PostPosted: Fri Jun 29, 2007 9:29 am    Post subject: Reply with quote

**PUSH**
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Fri Jun 29, 2007 4:53 pm    Post subject: Reply with quote

Can you mount as root?
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Fri Jun 29, 2007 4:56 pm    Post subject: Reply with quote

Try with pmount ;)
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
longhorn49
n00b
n00b


Joined: 16 Feb 2007
Posts: 21

PostPosted: Fri Jun 29, 2007 6:28 pm    Post subject: Reply with quote

Make sure the cdrom lisitng in /etc/fstab has the users option and iso9600 fs
Back to top
View user's profile Send private message
sian
Apprentice
Apprentice


Joined: 26 Jan 2004
Posts: 288

PostPosted: Fri Jul 13, 2007 7:17 pm    Post subject: Reply with quote

I do have the same problem. I can mount as root but not as regular user.

As user, I belong to the group plugdev, audio, cdrom.

I noticed that /mnt/cdrom belongs to root:root. I changed it to root:cdrom but nothing changed.

I am sure this is not difficult...
_________________
Kernel : 2.6.32 - E17 - OpenRC-0.61 - gcc-4.4.3
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jul 13, 2007 7:25 pm    Post subject: Reply with quote

Quote:
I noticed that /mnt/cdrom belongs to root:root. I changed it to root:cdrom but nothing changed.
ownership of the mount point is not the problem, OTOH who owns the cdrom device (i.e /dev/hdX, /dev/sdX, /dev/sr#).
Back to top
View user's profile Send private message
STEDevil
Apprentice
Apprentice


Joined: 24 Apr 2003
Posts: 156

PostPosted: Sat Jul 14, 2007 11:45 am    Post subject: Reply with quote

Latest HAL seems quite broken. https://forums.gentoo.org/viewtopic-p-4143242.html#4143242

I tried the solution there of downgrading to previous version and everything works for me again.
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Sat Jul 14, 2007 1:13 pm    Post subject: Reply with quote

Dunno if this will help
but i got this error sometime ago and checked and saw that i was actually mounting something in the directory where HAL mounts disks.
So i umonuted and it worked like a charm
Back to top
View user's profile Send private message
sian
Apprentice
Apprentice


Joined: 26 Jan 2004
Posts: 288

PostPosted: Sun Jul 15, 2007 8:06 am    Post subject: Reply with quote

Unfortunately, this did not the trick for me. It works well as root but not for users :-(
_________________
Kernel : 2.6.32 - E17 - OpenRC-0.61 - gcc-4.4.3
Back to top
View user's profile Send private message
kekccc
n00b
n00b


Joined: 06 Aug 2007
Posts: 2

PostPosted: Mon Aug 06, 2007 10:58 pm    Post subject: Reply with quote

I has the same problem.
It was /etc/fstab configuration trick.
By default the cdrom record is:
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0

You must add user option if you want users to be able to mount device:
/dev/cdrom /mnt/cdrom auto user,noauto,ro 0 0

I hope that this is helpful.
Back to top
View user's profile Send private message
the_blackraider
n00b
n00b


Joined: 22 Aug 2007
Posts: 1

PostPosted: Wed Aug 22, 2007 7:23 pm    Post subject: Reply with quote

Add your regular user to plugdev group and things should go normal again. This works for me.

Regards. blackraider.
Back to top
View user's profile Send private message
pycior
n00b
n00b


Joined: 21 Aug 2007
Posts: 11

PostPosted: Wed Aug 22, 2007 7:48 pm    Post subject: Reply with quote

try emerging ~x86/~amd64/~whatever dbus hal kdebase-kioslaves
and get rid of the cdrom line in you fstab; worked for me like a charm ;]



http://img297.imageshack.us/my.php?image=automountnofstabob9.jpg
Back to top
View user's profile Send private message
pytooli
n00b
n00b


Joined: 14 Nov 2004
Posts: 48
Location: lucca italy

PostPosted: Sat Aug 25, 2007 1:42 pm    Post subject: Reply with quote

Hey kekccc I put
Code:
You must add user option if you want users to be able to mount device:
/dev/cdrom /mnt/cdrom auto user,noauto,ro 0 0

and it works fine!
Thanks
_________________
Magento, PHP, etc...
Back to top
View user's profile Send private message
bobber205
Guru
Guru


Joined: 23 Aug 2006
Posts: 561
Location: Oregon

PostPosted: Sat Aug 25, 2007 11:13 pm    Post subject: Reply with quote

Making sure I was in plugdev (wasn't before) and adding the users options sure helped!
_________________
Never Forget The Expat 2.0!
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Mon Aug 27, 2007 8:50 am    Post subject: Reply with quote

check the permissions of your mount-command, it should look like this

Code:
-rws--x--x 1 root root 96328 28. Jul 14:37 /bin/mount


mount shoud be setuid!
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum