You are not logged in.

#1 2011-08-18 17:49:05

ScannerDarkly
Member
From: UK
Registered: 2010-07-24
Posts: 20
Website

Unable to mount DVD, CD

I don't have /dev/cd or /dev/dvd -- just /dev/sr0. I cannot manually mount DVDs or CDs. My drive works fine -- I can boot live DVDs/CDs from it. USB Flash drives work flawlessly and are automounted on the desktop.

I am running an XFCE4 system with Thunar, and I have gvfs installed. I am using SLiM login manager and .xinitrc.

I can shutdown, reboot, etc -- so PolicyKit and group permissions are working nicely because in /etc/slim.conf I have:

login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session

and therefore I leave .xinitrc as plain as possible as recommended here
.xinitrc

exec start xfce4

WIth root permissions, trying to mount the disc in the DVD drive returns:

mount /dev/sr0 /media/dvd

Returns

no medium found on /dev/sr0

Whether this be a data DVD, or a DVD movie.

I have researched for various solutions on Google and searched the forum. Adding sr0 to fstab makes little difference. Occassionally I can see the DVD title in Thunar, but I can't access any files.  Example for /etc/fstab entry (when I try to use it):

# DVD drive
/dev/sr0 /media/dvd auto rw,user, 00
$ uname -r
3.0-ARCH

/etc/rc.conf

MODULES=(powernow-k8 cpufreq_ondemand fuse)

# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

DAEMONS=(syslog-ng network netfs @crond @sshd @hal @dbus @sensors @slim @alsa @s
amba @smbnetfs @mpd)

I would welcome any suggestions you may have.

Offline

#2 2011-08-18 18:06:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Unable to mount DVD, CD

Why do you mount it rw in fstab?

I get 'no medium found on /dev/sr0' when the drive hasn't been spun yet.

Edit: On my second computer I too have this issue

[karol@black test]$ sudo mount /dev/sr0 /media/cd
mount: no medium found on /dev/sr0

... but only when trying to mount a DVD - because it's a CD-ROM.

[karol@black test]$ cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		sr0
drive speed:		40
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		0
Can write DVD-R:	0
Can write DVD-RAM:	0
Can read MRW:		1
Can write MRW:		1
Can write RAM:		1

Can you post the output of 'cat /proc/sys/dev/cdrom/info'?

Last edited by karol (2011-08-18 18:22:15)

Offline

#3 2011-08-19 23:14:11

ScannerDarkly
Member
From: UK
Registered: 2010-07-24
Posts: 20
Website

Re: Unable to mount DVD, CD

I've tried lots of fstab options. None have worked.

Output of cat /proc/sys/dev/cdrom/info

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		sr0
drive speed:		48
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		1
Can write DVD-R:	1
Can write DVD-RAM:	1
Can read MRW:		1
Can write MRW:		1
Can write RAM:		1

Remember, the drive can boot live medium and works find in other OS'.

Thanks

EDIT: Shameless bump. I've tried multiple fstab options, but again, if I comment out fstab completely, I'm still unable to manually mount the device.

Last edited by ScannerDarkly (2011-08-24 16:13:52)

Offline

Board footer

Powered by FluxBB