You are not logged in.
Pages: 1
When I try mount or unmount it gives me an error saying, "Cannot obtain lock on media/.hal-mtab"
Offline
Offline
I've already read that a couple of times
Offline
- how does your fstab look like ?
- what are the daemons running ?
- which groups is your user member of ?
Offline
#
# /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 rw,user,auto,unhide 0 0
/dev/dvd /media/dvd auto rw,user,auto,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
Daemons running: (syslog-ng network netfs crond portmap fam hal) ... I installed autoFS before this and had it run as a daemon a couple of times before taking it off. Would that create any conflicts with HAL?
My user is in groups: audio optical storage users
EDIT - I've also tried commenting out my devices on fstab but that didn't work either. Its not that big of a deal, its just really annoying having to manually umount it before pressing the eject button.
Last edited by Xherziu (2008-05-20 20:04:11)
Offline
# # /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 rw,user,auto,unhide 0 0 /dev/dvd /media/dvd auto rw,user,auto,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
Daemons running: (syslog-ng network netfs crond portmap fam hal) ... I installed autoFS before this and had it run as a daemon a couple of times before taking it off. Would that create any conflicts with HAL?
My user is in groups: audio optical storage users
http://bbs.archlinux.org/viewtopic.php? … 31#p369931 means you should try:
#
# /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 rw,user,auto,unhide 0 0
#/dev/dvd /media/dvd auto rw,user,auto,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
Offline
Just commenting out the devices? I've tried that, doesn't do anything
Last edited by Xherziu (2008-05-20 20:21:50)
Offline
which de/wm+file manager are you using out of curiosity ?
Offline
Im not sure, when I boot udev is what starts
Offline
/dev/cdrom /media/cdrom auto rw,user,auto,unhide 0 0
/dev/dvd /media/dvd auto rw,user,auto,unhide 0 0
/dev/fd0 /media/fd0 auto user,noauto 0 0
if commenting this 3 lines doesn't work...
Show us your /etc/groups file. Make sure you are in the optical group and you have permissions. Try to mount a cd as root using mount command. If this works, you have a permission problem.
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
The problem is unmounting, when I insert a cd it mounts fine. When I push the eject button it gives me the error. I have to manually unmount before I can take the cd out.
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root
ftp::11:
mail::12:
uucp::14:
log::19:root
smmsp::25:
games::50:
network:x:90:
video:x:91:
audio::92:xherziu
optical::93:hal,xherziu
floppy:x:94:hal
storage:x:95:hal,xherziu
power:x:98:
nobody::99:
users::100:
locate:x:21:
dbus:x:81:
hal:x:82:
avahi:x:84:
gdm:x:101:
camera:x:97:
Offline
Are you using XFCE? In xfce there is a bug that prevent CD unit to be unmounted.
Also, make sure that the CD is not used by any process of your PC (including console). I.E: If in your yakuake (terminal emulator extremely recommended for me) you have done (suposing disk mounted on /media/disk):
~$ cd /media/disk
/media/disc~$ sudo eject
If you try to do this, for example, you cannot eject disk cause your terminal is ocuppiying the /media/disk folder, reserving system resources for the unit.
Try again
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Im using gnome. Nothing seems to work, I will keep twinking with it. Thanks for the help so far everyone.
Offline
add you to disk group. Maybe it will works.
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Now it lets me eject but still gives me the error, something is wrong with with .hal-mtab
Well, at least it lets me eject the cd now I can live with this. The only problem is clicking ok on the error.. Thanks for that suggestion Davi
Offline
Pages: 1