You are not logged in.

#1 2008-05-06 05:09:43

Nikke
Member
From: Sweden
Registered: 2008-04-27
Posts: 60
Website

Cant find DVD or CD

When i try to burn something in brasero i cant find any DVD or cdrom ?
I have a very new installation so i havent tought of this before, maybe it isnt mount correctly?

Offline

#2 2008-05-06 08:18:48

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

I think there is some problem on mounting cd/dvd ... I have a similar problem too.
I've tried a:

mkdir /mnt/cdrom && mount /dev/cdrom /mnt/cdrom

and it says that is mounted read only, but when I try to accede it seems not mounted ..
are we the only two having this issue?

Offline

#3 2008-05-06 08:24:30

Nikke
Member
From: Sweden
Registered: 2008-04-27
Posts: 60
Website

Re: Cant find DVD or CD

Didnt work for me either, i think the problem is that its not mounted. Like you said.
So if any kind soul out there could help us, please smile

Offline

#4 2008-05-06 08:38:50

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

my fault...
(as root):
mkdir /mnt/cdrom && mount /dev/cdrom /mnt/cdrom
ls /mnt/cdrom

mount perfectly the cdrom..
now I have to understand why gnome-mount fails...
pls tell us if it work for you too

Offline

#5 2008-05-06 08:59:04

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: Cant find DVD or CD

Are you in the optical group?

See this: http://wiki.archlinux.org/index.php/Groups

Offline

#6 2008-05-06 09:32:54

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

@vomix
yes, and I'm almost sure gnome-mount worked well in gnome 2.20...

Offline

#7 2008-05-06 09:35:17

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Cant find DVD or CD

Hello !

Try to deactivate gnome-volume-manager from your session.
See http://bugs.archlinux.org/task/10328 for more information.

Offline

#8 2008-05-06 09:41:06

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

uhm.. I had it already disabled.. (to fix another issue.. I think the double popup for an inserted drive)

edit:
I created a new user, added it to the optical group and tested if it works (to see if the problem was a previous buggy configuration) well it fail to mount the cd too, there is a file where gnome logs its events? because the dialog "unable to mount the device" (or similar I have a translated gnome) isn't very useful

Last edited by _Marco_ (2008-05-06 09:47:41)

Offline

#9 2008-05-06 09:53:36

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Cant find DVD or CD

Ok, then please post the content of /etc/fstab and tell us what are the result of the following commands :

groups
ls -l /dev/dvd
ls -lL /dev/dvd

The last command will dereference the symbolic link and list the permissions of the target to which /dev/dvd points at, so the "-L option is important"

Thank you very much !

Offline

#10 2008-05-06 10:28:48

floke
Member
Registered: 2007-09-04
Posts: 266

Re: Cant find DVD or CD

I'm having similar problems - can't mount cd's/dvd's through gnome apps - though Thunar is able to do it fine.

Very strange!

Offline

#11 2008-05-06 11:08:25

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

[user@arch ~]$ groups
network video audio optical storage power users gdm

-----------------

[user@arch ~]$ ls -l /dev/dvd
lrwxrwxrwx 1 root root 15  6 mag 12:58 /dev/dvd -> /dev/cd/dvd-sr0

-----------------
[user@arch ~]$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 17  6 mag 12:58 /dev/cdrom -> /dev/cd/cdrom-sr0

-----------------

[user@arch ~]$ ls -lL /dev/dvd
brw-rw---- 1 root optical 11, 0  6 mag 12:58 /dev/dvd

Last edited by _Marco_ (2008-05-06 11:08:46)

Offline

#12 2008-05-06 11:22:53

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Cant find DVD or CD

Thank you.
Every thing seems normal on this side.

And what about your /etc/fstab ?
According to Nautilus documentation you need an entry in /etc/fstab with option 'user'.
Nautilus is now in charge of mounting instead of gnome-volume-manager since Gnome 2.22 and the migration to GIO.

Also did you configure Gnome to automatically mount your media ? Check this in the System->Preference->File Manager or something similar.

Offline

#13 2008-05-06 11:34:04

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

wow chicha thanks for your help smile

my /etc/fstab:

# 
# /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 /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/sda3 / ext3 defaults 0 1
/dev/sda5 /home ext3 defaults 0 1
/dev/sda6 swap swap defaults 0 0

the option user is there so I think it is ok..

for the other option is "open folder" so I believe it tries to mount it and explore it..
in computer:/// I noticed that the mime type of the cd-rom is application/octet-stream and there is no application in open with is it normal?

Offline

#14 2008-05-06 11:55:23

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Cant find DVD or CD

I think I have a clue :

You defined /mnt/cdrom and /mnt/dvd as mount point for your media.
Gnome do not auto mount media with mount points in /mnt.
Use /media instead.

According to Arch's official documentation you may have the following setting in /etc/fstab :

/dev/cdrom             /media/cd     iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /media/dvd    udf       ro,user,noauto,unhide   0      0

See this post and the related thread for more info about auto mounting and Gnome.

I hope it solved your problem !

Offline

#15 2008-05-06 12:06:00

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

chicha you are the best!
your fstab fix worked... I don't understand WHY but it works tongue
thanks for your help

Offline

#16 2008-05-06 12:23:45

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Cant find DVD or CD

_Marco_ wrote:

your fstab fix worked... I don't understand WHY but it works tongue
thanks for your help

Thank you for your enthousiasm. I am glad it worked.
I am not totally happy because you did not understand why it worked tongue

Let me explain this better than I did :

Gnome 2.22 uses GIO/GVFS instead of gnome-vfs as a low level software layer to handle files and medias. Also Nautilus is now responsible for mounting things (using GIO/GVFS) instead of gnome-volume-manager (which uses gnome-vfs).

The way Nautilus handle media (dvd, usb ...) mount points changed from gnome-volume-manager : It will handle only mount points in /media.

Why ? Because it is more compliant to the Filesystem Hierarchy Standard

In your previous /etc/fstab you defined your mount points in /mnt for your cdrom/dvd drive. As mentioned above, Nautilus will only take care of mount points in /media.

Those changes occured from Gnome 2.20 to Gnome 2.22, and this is why you had this "regression".
I hope things are cleared now !

Offline

#17 2008-05-06 12:30:46

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Cant find DVD or CD

now you have to be totally happy, I've understood the problem, the solution and why it works
thanks smile

Last edited by _Marco_ (2008-05-06 12:31:20)

Offline

#18 2008-05-06 12:32:01

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Cant find DVD or CD

I am smile

Offline

Board footer

Powered by FluxBB