Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues ejecting CDs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alex_g
n00b
n00b


Joined: 08 Apr 2008
Posts: 5

PostPosted: Sun Jul 20, 2008 1:37 pm    Post subject: Issues ejecting CDs Reply with quote

I've currently got some issues when ejecting CDs under Gnome. When I press the eject button on the drive the disc ejects, but a window pops up saying "Cannot eject volume <volume-name>".

Trying to solve this I discovered that I'm not supposed to have the cdrom in /etc/fstab. So I removed the entry and tried again, and now when the eject button is pressed two windows pop saying "Cannot eject volume" (it doesn't mention the volume name now), but the CD doesn't eject. I then have to press the eject button again to make it eject.

There are no problems with the mounting of discs when I put them in the drive.

Any suggestions for how I can fix this issue?
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3403
Location: Rasi, Finland

PostPosted: Sun Jul 20, 2008 3:13 pm    Post subject: Reply with quote

Maybe your user isn't in cdrom group?

execute as root:
Code:
usermod -G -a cdrom <your username>

_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
alex_g
n00b
n00b


Joined: 08 Apr 2008
Posts: 5

PostPosted: Thu Jul 24, 2008 7:45 pm    Post subject: Reply with quote

My user is in the cdrom group, so that's not the issue, sorry.

When cdrom isn't in fstab then inserting a cd results in a link to it appearing on the Gnome desktop, and it's possible to access the device via that. However it isn't accessible through the file browser.

When ejecting I also get this message:

"Device to unmount is not found in /media/.hal-mtab so is not mounted by hal"

So it appears that something other than Hal is automounting the drive, but what would that be? And which should I be using for that purpose, Hal or the other thing?

Cheers
Back to top
View user's profile Send private message
Leon_UK
Tux's lil' helper
Tux's lil' helper


Joined: 06 Dec 2006
Posts: 128
Location: London

PostPosted: Thu Jul 24, 2008 8:31 pm    Post subject: Reply with quote

i thought it was the plugdev group to eject, because it goes through hal, but since yours says hal is not mounting it, i doubt that will fix anything.

but anyway, have you tried running
Code:
tail -vf /var/log/messages
to see if it tells you what is mounting the device
Back to top
View user's profile Send private message
alex_g
n00b
n00b


Joined: 08 Apr 2008
Posts: 5

PostPosted: Thu Jul 24, 2008 8:44 pm    Post subject: Reply with quote

Okay, this what the log contains:

Jul 24 21:41:27 meles ISO 9660 Extensions: Microsoft Joliet Level 3
Jul 24 21:41:27 meles ISO 9660 Extensions: RRIP_1991A
Jul 24 21:41:27 meles hald: mounted /dev/hda on behalf of uid 1000
Jul 24 21:41:27 meles gnome-keyring-daemon[5884]: adding removable location: volume_label_DVD at /media/DVD

So it seems that gnome-keyring is what's mounting the disc, but I didn't even know it was supposed to that and it seems to be conflicting with hal.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3403
Location: Rasi, Finland

PostPosted: Wed Jul 30, 2008 3:46 pm    Post subject: Reply with quote

Hm. I have no experience with gnome, but with KDE.
With KDE I had to install dbus and hal and it worked. But, on my older laptop I had to install pmount also...
You can check which packages you have installed and which aren't installed by executing:
Code:
emerge -s '%^(dbus|hal|pmount)'


Also, you might want to view this: http://gentoo-wiki.com/HOWTO_gnome-volume-manager
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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