LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2012, 02:34 PM   #1
ColinBo
LQ Newbie
 
Registered: Jul 2012
Posts: 7

Rep: Reputation: Disabled
DVDs won't mount (I have done the libdvdcss thing)


My history:
  1. Fresh 12.04 installation
  2. I was able to mount and play a commercial DVD
  3. I inserted a DVD that was apparently scratched. It didn't work
  4. Now DVDs won't even mount

Drive: Optiarc DDU1681S
3.2.0-26-generic x86_64

With the DVD drive open. trying to 'eject' it closed:
eject: unable to eject, last error: Inappropriate ioctl for device

Manually close the drive. In dmesg:
Buffer I/O error on device sr0, logical block 0

The light on the drive blinks steadily, and the hardware eject button is ineffective. 'sudo eject' works.

I also used regionset to set the region to 1 (my region). Putting in a CD works normally.

Thanks for any advice!
 
Old 07-15-2012, 03:18 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,320
Blog Entries: 6

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Did you mount it manually or auto mount it with udev or hal?
Is the DVD still mounted, even though you took the disk out?
Code:
mount
Will show you what's mounted. /dev/sr0
If it's still mounted try a force umount on the mounting point. That's where ever you mounted it to.
Code:
umount -f /mounting/point
You might put it right by reboot
 
Old 07-15-2012, 04:02 PM   #3
ColinBo
LQ Newbie
 
Registered: Jul 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
(No disc in drive)

$ eject
eject: unable to eject, last error: Inappropriate ioctl for device
$ sudo eject
eject: unable to eject, last error: Inappropriate ioctl for device

(Use physical button to eject and put in a DVD)

$ mount | grep sr
$ mount /dev/sr0 /dev/dvd
mount: only root can do that
$ sudo mount /dev/sr0 /dev/dvd
mount: /dev/sr0 already mounted or /dev/dvd busy
$ mkdir ~/dvd
$ sudo mount /dev/sr0 ~/dvd
mount: no medium found on /dev/sr0
 
Old 07-16-2012, 01:22 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,320
Blog Entries: 6

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Quote:
mount: /dev/sr0 already mounted or /dev/dvd busy
Looks like it wasn't unmounted last time. Umount it manually.
Don't open the DVD drive until the disk is unmounted. You may have to force umount it. The drive may be hung do to ejecting the disk without umounting first.

http://linux.die.net/man/1/eject
http://linux.die.net/man/8/umount

I you are auto mounting you'll have to look at what your distro is doing, you may ask in your distos sub forum. If you are mounting manually, umount the disk, then open the drive. If you have a junk DVD, it may need to be force umounted, or the drive may get in a confused state. I'm not sure that eject will umount the file system before it opens the door.
Also a reboot may cure the whole problem.
 
Old 07-16-2012, 01:34 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I may be wrong but isn't trying to mount /dev/sr0 on /dev/dvd always going to fail? To manually mount a DVD I would aleays do something like:
Code:
# mount /dev/sr0 /media/dvd
That's assuming that your DVD is /dev/sr0 and not /dev/dvd and that you have an appropriate folder in /media/.
 
Old 07-16-2012, 08:00 PM   #6
ColinBo
LQ Newbie
 
Registered: Jul 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for the advice! How can I look at what my distro (Stock Ubuntu) is doing? Here's a log from just now. let me know what else may help:

Restarted my system. Nothing in the drive.
Quote:
$ mount | grep sr
$ sudo mount /dev/sr0 ~/foo/
mount: no medium found on /dev/sr0
$ eject
Drive opens. I put a CD in the drive and press the physical button to close. I see the CD show up on my desktop and mounted at /media/cd-name.
Quote:
$ mount | grep sr
/dev/sr0 on /media/cd-name type iso9660 (ro,nosuid,nodev,uid=1001,gid=1001,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
$ sudo umount /media/cd-name/
$ mount | grep sr
$ eject
Drive opens. I replace it with a commercial DVD. The light on the drive blinks steadily. Nothing appears on the desktop or under /media
Quote:
$ mount | grep sr
$ sudo mount /dev/sr0 ~/foo
mount: /dev/sr0 already mounted or /home/me/foo busy
$ mount | grep sr
$ eject
The drive opens.

Thanks for any help - let me know what might help. It definitely seems to be DVD-specific.
 
Old 07-16-2012, 08:13 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Are you 100% sure you installed the non-free packages to read CSS DVDs?
I ask because I've done this before and installed Ubuntu and missed the specific codecs.
 
Old 07-16-2012, 08:29 PM   #8
ColinBo
LQ Newbie
 
Registered: Jul 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
I'm not sure

Quote:
$ dpkg -l | grep css
ii libdvdcss2 1.2.12-0.0medibuntu1 Simple foundation for reading DVDs - runtime libraries
Then I also ran the install-css.sh script

What else may do the trick?
 
Old 07-16-2012, 08:45 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
That ought to do it. It's worth double-checking is all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
autofs on gentoo won't mount dvds pgb205 Gentoo 1 08-24-2008 10:49 PM
libdvdcss -- I can play some DVDs, but not others! Adrohak Linux - Software 38 05-10-2007 10:53 AM
Libdvdcss errors on unencrypted DVDs cothrige Linux - Software 0 08-27-2006 03:13 AM
System won't mount DVDs Kropotkin Fedora 1 11-10-2004 03:33 PM
Cannot play DVDs even with libdvdcss! BlueCarrot Linux - Software 8 12-29-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration