You are not logged in.
Two days ago I deleted gnome DE and dependcies and installed fvwm-crystal.
Using pcmanfm as file manager now. In the side panel I can see an entry that says:
CD-RW/DVD+-RW Drive
when I click to acces drive it says directory does not exist.
accessing it from CLI not working either.
fam and hal are installed and running.
Looked through pacman.log to see if I deleted something that it needed but nothing stands out.
Any ideas?
Thanks ahead of time
Last edited by completist (2009-03-25 22:31:13)
Offline
And have you tried to mount it _manually_ ??
ie. mount /dev/whatever /mount/point
Offline
yes tried all that also but nothing still
also just plugged in a usb stick and it shows up it pcmanfm but no access it says directory does not exist.
What am I doing wrong here?
Last edited by completist (2009-03-25 15:59:57)
Offline
'directory does not exist' probably means that it cannot find the mount-point, so let's make absolutely sure it _is_ there and then do a _manual_ mount.
assuming your cd/dvd-drive is /dev/hdc (it could also be /dev/hda or /dev/sr0 - you need to check with 'dmesg')
as 'root':
mkdir /mnt/media
mount -o ro /dev/hdc /mnt/media
Otherwise - have you checked the entries in the policy-kit?? (there must be dozen of references to it by now)
Offline
Similar has been reported recently after an udev update.
Do the /dev links still exist? In my system there are:
bp:~$ ls /dev/{c,dv}d*
/dev/cdrom /dev/cdrom0 /dev/cdrw /dev/cdrw0 /dev/dvd /dev/dvd0
/dev/cd:
cdrom-0:0:0:0 cdrw-0:0:0:0 dvd-0:0:0:0
bp:~$ ls -l /dev/{c,dv}d*
lrwxrwxrwx 1 root root 21 25. Mär 11:00 /dev/cdrom -> /dev/cd/cdrom-0:0:0:0
lrwxrwxrwx 1 root root 21 25. Mär 11:00 /dev/cdrom0 -> /dev/cd/cdrom-0:0:0:0
lrwxrwxrwx 1 root root 20 25. Mär 11:00 /dev/cdrw -> /dev/cd/cdrw-0:0:0:0
lrwxrwxrwx 1 root root 20 25. Mär 11:00 /dev/cdrw0 -> /dev/cd/cdrw-0:0:0:0
lrwxrwxrwx 1 root root 19 25. Mär 11:00 /dev/dvd -> /dev/cd/dvd-0:0:0:0
lrwxrwxrwx 1 root root 19 25. Mär 11:00 /dev/dvd0 -> /dev/cd/dvd-0:0:0:0
/dev/cd:
insgesamt 0
lrwxrwxrwx 1 root root 6 25. Mär 11:00 cdrom-0:0:0:0 -> ../sr0
lrwxrwxrwx 1 root root 6 25. Mär 11:00 cdrw-0:0:0:0 -> ../sr0
lrwxrwxrwx 1 root root 6 25. Mär 11:00 dvd-0:0:0:0 -> ../sr0
It appears the /dev/cd* links are not created any more in certain circumstances.
Last edited by bernarcher (2009-03-25 17:34:19)
To know or not to know ...
... the questions remain forever.
Offline
'directory does not exist' probably means that it cannot find the mount-point, so let's make absolutely sure it _is_ there and then do a _manual_ mount.
assuming your cd/dvd-drive is /dev/hdc (it could also be /dev/hda or /dev/sr0 - you need to check with 'dmesg')
as 'root':
mkdir /mnt/media
mount -o ro /dev/hdc /mnt/mediaOtherwise - have you checked the entries in the policy-kit?? (there must be dozen of references to it by now)
Sorry for the delay was at work for a while
Thanks perbh
used this to fix
mount -o ro /dev/sr0 /mnt/media
did the trick
Just curious was it broke because of the update to udev or my changing from gnome to fvwm?
Also checked the /dev links bernacher they were all intact? thanks both of you
Offline
Are your groups set correctly? I had a similar problem and it turned out that i "lost" some groups for my main-user
Offline
To use /mount/media was just an example - but you do need an existing mount-point - this was obviously your initial trouble.
Personally I prefer /mnt/cd or /mnt/dvd, but it doesn't matter as long as it exists.
In order to mount it as a normal user, you could put the following in your /etc/fstab:
/dev/sr0 /mnt/cd auto defaults,noauto,users,ro 0 0
Then make sure /mnt/cd exists - and you can use
mount /mnt/cd
or even
pmount /mnt/cd
Offline
@perbh
Obviously it is not sufficient to make sure /mnt/cd exists.
There were several posts lately where the chain down to /dev/srX was broken inmidst, mostly missing links of the form
cdrw-0:0:0:0 -> ../sr0
Last edited by bernarcher (2009-03-26 11:24:45)
To know or not to know ...
... the questions remain forever.
Offline
I have the same kind of broken links:
22:02:19 ~ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 21 2009-03-26 22:00 /dev/cdrom -> /dev/cd/cdrom-0:0:1:0
22:02:31 ~ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 21 2009-03-26 22:00 /dev/cdrom -> /dev/cd/cdrom-0:0:1:0
22:06:22 ~ ls -l /dev/cd
total 0
lrwxrwxrwx 1 root root 6 2009-03-26 22:00 cdrom- -> ../sr0
lrwxrwxrwx 1 root root 6 2009-03-26 22:00 cdrw- -> ../sr0
lrwxrwxrwx 1 root root 6 2009-03-26 22:00 dvd- -> ../sr0
22:06:49 ~
I fixed them but they reverted back after a boot.
Over the last few days I've done some updates, but I've also loaded kernel 2.6.29 from testing.
I need to downgrade things one at a time to find the culprit, I'll post my results tomorrow.
edit: here's the answer http://bugs.archlinux.org/task/13950
jdb
Last edited by jdb (2009-03-27 02:17:54)
Offline
Hi...
I have the same trouble.. And I am now able to mount CDs or DVDs using this line in fstab,
/dev/sr0 /mnt/cd auto defaults,noauto,users,ro 0 0
I went through the bug threads, but there does not seem to be any solution in those pages.
ls -l /dev/{c,dv}d*
lrwxrwxrwx 1 root root 21 2009-03-27 23:01 /dev/cdrom -> /dev/cd/cdrom-3:0:0:0
lrwxrwxrwx 1 root root 21 2009-03-27 23:01 /dev/cdrom0 -> /dev/cd/cdrom-3:0:0:0
lrwxrwxrwx 1 root root 20 2009-03-27 23:01 /dev/cdrw -> /dev/cd/cdrw-3:0:0:0
lrwxrwxrwx 1 root root 20 2009-03-27 23:01 /dev/cdrw0 -> /dev/cd/cdrw-3:0:0:0
lrwxrwxrwx 1 root root 19 2009-03-27 23:01 /dev/dvd -> /dev/cd/dvd-3:0:0:0
lrwxrwxrwx 1 root root 19 2009-03-27 23:01 /dev/dvd0 -> /dev/cd/dvd-3:0:0:0/dev/cd:
total 0
lrwxrwxrwx 1 root root 6 2009-03-28 01:08 cdrom- -> ../sr0
lrwxrwxrwx 1 root root 6 2009-03-28 01:08 cdrw- -> ../sr0
lrwxrwxrwx 1 root root 6 2009-03-28 01:08 dvd- -> ../sr0
that seems to be the relevant output.
It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead
Offline
I updated yesterday & am working again, I think it's fixed.
jdb
Offline
Was triggling to mount dvds, tried the manual methods but didn't succeed. Just added the following line into fstab file and it does the trick, thank you guys !!!
/dev/sr0 /media/dvd auto ro,user,noauto,unhide 00
Offline
Sorry to revive this thread that's been quiet for a while, but the problems here aren't totally solved with the suggested answers.
When Arch was recently updated, the config file for Hal was replaced. So if anyone edited their hal.conf file, it was overwritten by the updated config file when Hal was upgraded through a pacman -Syu. Basically if you are using a file manager and want to mount your devices through it (using pcmanFM, dolphin, nautilus, etc) then you need to change your config file.
Open your /etc/dbus-1/system.d/hal.conf file and look for the following line:
<!-- Only allow users at the local console to manipulate devices -->
<policy at_console="true">
This option is the default when hal is installed, meaning that you can only mount devices from a terminal prompt. Change the value from true to false and then you'll need to restart your machine, or restart hal, and then you should be able to mount from your file manager. Also make sure you are member of the appropriate group for the medium you are trying to use ('optical' for cd/dvd drives, 'storage' for removable media).
Offline