LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-20-2013, 07:55 PM   #1
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Rep: Reputation: Disabled
DVDs won't play; I may have unmounted the drive by mistake


I'm running Ubuntu 13.04 on a home-built Shuttle barebones system. My CD/DVD drive is an Asus, model DRW-24B1STA BLACK/BULK (according to Amazon).

I'm trying to watch video DVDs on VLC, which usually works. These DVDs are plain old commercial ones, just like I always use. When I start VLC, with the disk in the drive, and tell it to play the disk, there's a moment of green-light activity of the drive, followed by nothing. The screen just continues to show the VLC logo.

I recently downloaded Knoppix to a live CD, for use with a tutorial, and it was a messy process. Things kept not working as described, so I did a bunch of things I didn't really understand. I did finally get a functional live CD, but by then my launcher showed about three different icons called "KNOPPIX." I couldn't tell which one referred to what; I'm a little confused by how Ubuntu identifies files and things. They were still there even after I was done with the whole Knoppix procedure, after the live CD was in another machine. I was trying to shake off the difficult experience, and get rid of the visual traces, and it seemed that "Unmount" was the only way to get rid of the KNOPPIX icons. Now, by the way, unlike before, I have a "DVD" icon locked to my launcher. I don't know why, of course.

I'm not entirely sure that the inability to play videos began right after unmounting whatever was represented by the KNOPPIX icons, but I think it did, and so I suspect my wanton unmounting is the culprit.

I don't know how to mount things. In the tutorial for which I've been using the Knoppix CD, there is a bit about mounting, but I wasn't able to understand it. I tried "mount" in the terminal, and this is the output:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/kirsten/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=kirsten)
/dev/sr0 on /media/kirsten/WEDDNG43 type udf (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,uhelper=udisks2)
I don't know what to do with that information.

lspci output is:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
Again, I'm lost.

My questions are:
Is my DVD player mounted?
If not, how can I mount it?
If it is, what's a good next step? Should I try uninstalling and reinstalling VLC?

Thanks.
 
Old 09-20-2013, 08:13 PM   #2
gregalink
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: 3
Mounting CD/DVD drive under linux

Try the following and see if it works for you:

The below command will output info about your CD/DVD drives.

glink@server1:~$ cat /var/log/dmesg | egrep 'CD|DVD'

[ 1.960394] ata3.00: ATAPI: PLEXTOR DVDR PX-755A, 1.08, max UDMA/66
[ 1.963245] scsi 2:0:0:0: CD-ROM PLEXTOR DVDR PX-755A 1.08 PQ: 0 ANSI: 5
[ 1.964512] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.964725] sr 2:0:0:0: Attached scsi CD-ROM sr0

Also, to check and see that your drive is mounted it should be listed under /media or /mnt.

Here is an example of my output.

glink@server1:/media$ ls
cdrom

If you don't see anything mounted you can then mount it manually, below is an example command.

mkdir -p /mnt/cdrom && mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom

This will mount your drive to the /mnt/cdrom location (I believe).

I edited my post because the other command just didn't make sense. I'm a linux newbie as well but hope I can help.

Last edited by gregalink; 09-20-2013 at 08:58 PM.
 
1 members found this post helpful.
Old 09-20-2013, 09:34 PM   #3
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
Thanks, gregalink.

I input
cat /var/log/dmesg | egrep 'CD|DVD'
and got
[ 2.697651] scsi 3:0:0:0: CD-ROM ASUS DRW-24B1ST c 1.05 PQ: 0 ANSI: 5
[ 2.700612] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 2.700711] sr 3:0:0:0: Attached scsi CD-ROM sr0
[ 12.065785] sr 3:0:0:0: [sr0] CDB:
[ 12.099120] sr 3:0:0:0: [sr0] CDB:
When I changed directories to /media and ran ls, I got my own name as a directory as the only output. When I changed to /mnt, there was no output for ls.

I went back to my login prompt and entered the command you suggested, but I got "Permission denied." I'm also very hazy on root, which is where I assume I must be to execute that command. Is that right? How do I get to root?

Thanks again for your help.
 
Old 09-20-2013, 09:48 PM   #4
gregalink
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: 3
DVDs won't play; I may have unmounted the drive by mistake

You can run a command as root by typing sudo before the command at which point it should prompt you for your password. You can also run sudo su which will switch you to the root user. You should see the prompt change from <username>@<hostname> to root@<hostname>. At which point you can run commands as root without issueing the sudo command.
 
1 members found this post helpful.
Old 09-21-2013, 09:06 AM   #5
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
Right. I almost knew that. Now I think I know it for real. Thanks!

So I input
mkdir -p /mnt/cdrom && mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
and got
mount: /dev/sr0 already mounted or /mnt/cdrom busy
mount: according to mtab, /dev/sr0 is mounted on /media/kirsten/ABOUT_A_BOY
(About a Boy is the video disk I had in the drive, though it's not in there now.)

So I guess it's not being unmounted that's the problem. Right?

Thank you!
 
Old 09-21-2013, 11:48 AM   #6
gregalink
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: 3
Try to unmount your CD-ROM and then once it's unmounted put another disc in the drive and see if it will play for you.

# cd /
# sudo umount /cdrom
 
1 members found this post helpful.
Old 09-21-2013, 01:45 PM   #7
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
Here's the output:
umount: /cdrom: not mounted
Hm.

??
 
Old 09-21-2013, 03:08 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 12,949

Rep: Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719
Quote:
About a Boy is the video disk I had in the drive, though it's not in there now.)
so this is a store bought dvd

you do have libdvdcss installed and the H.264 codec installed ?
otherwise you will NOT be able to decode the encryption on the dvd and read the video file
 
1 members found this post helpful.
Old 09-21-2013, 03:16 PM   #9
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
Thanks for your help, John VV.

This is a DVD I borrowed from the library. Most of the DVDs I watch are borrowed from the library, and I've never had this trouble before.

I don't know whether I have libdvdcss and the H.264 codec installed, nor how to check, but I'm assuming they must be installed, since I've watched DVDs on this machine, via this OS, and with this media player as recently as two days ago, and I don't think I've done anything that might have uninstalled them.

How can I check to make sure I have them installed?
 
Old 09-21-2013, 05:59 PM   #10
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,880

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
In your initial post you have the following information posted:

Quote:
/dev/sr0 on /media/kirsten/WEDDNG43 type udf (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,uhelper=udisks2)
That is your DVD mounted under /media/kirsten/... The media directory is where Ubuntu usually mounts CDs and DVDs as well as flash drives.
You can open the Software Center/Manager and in the search box type libdvdcss and see what show. I don't actually use Ubuntu so can't check.
 
1 members found this post helpful.
Old 09-21-2013, 07:03 PM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,531

Rep: Reputation: 238Reputation: 238Reputation: 238
$ eject -r

A quick way to eject a disk that takes care of, or tells you hints about the other tidbits involved. And it can be run as root or as a user.

As previously said you need libdvdcss to play encrypted DVDs. As in the commercially made DVDs. Plus other housekeeping things that go hand in hand with optical discs. Make sure the disc is clean with minimal scratches. Some drives can get a dirty lens over time. More so with smokers or pets. But these things are independent of software or the operating systems that run the software.

If it doesn't play in VLC, you might try xine, mplayer, ogle, kaffiene, or any of the other players available in many distros.
 
1 members found this post helpful.
Old 09-22-2013, 12:04 AM   #12
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,004

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Your disk is mounted:
Code:
/dev/sr0 on /media/kirsten/WEDDNG43 type udf (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,uhelper=udisks2)
(1)
Is this happening with all DVDs, or just one? Does that specific problem DVD play in a normal DVD player? Have you washed the DVD? (Just use sink water, your fingers, and liquid dish soap and give it a good, but gentle, scrubbing. Then dry it with a soft cloth (not paper towels) by wiping it radially (from the center directly outwards). You don't want to dry it by wiping in a circular pattern around it's center. Always dry with straight lines going from the center straight out. I get DVDs from my library too. They are, without a doubt, to dirtiest and most scratched things I've ever seen. Some won't play for me due to their bad physical condition. Others I refuse to even spin up in my DVD drive if I look at the center hole and see cracks and chips missing from the plastic (these can self-destruct when they hit high spin speeds and destroy your DVD drive).

(2)
When you start VLC, are you telling it to "open disk" and pointing it to "/dev/sr0"? If not, what are you telling it to open? Probably something like /dev/dvd, or /dev/cdrom, or similar. If so, what does "ls -l /dev/dvd" say? Is it a symlink to /dev/sr0? Substitute "/dev/cdrom" or whatever you are telling VLC to open in that "ls -l" command.

(3)
From the Linux commandline, what does "ls -l /media/kirsten/*/VIDEO_TS" say? Note that your mountpoint from your initial post was "/media/kirsten/WEDDNG43", but that "WEDDNG43" part will change as you insert different DVD's, hence my use of a "*" in the "ls -l" command which should match whatever DVD you happen to insert.

Last edited by haertig; 09-22-2013 at 12:05 AM.
 
1 members found this post helpful.
Old 09-25-2013, 07:53 AM   #13
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
In your initial post you have the following information posted:

You can open the Software Center/Manager and in the search box type libdvdcss and see what show. I don't actually use Ubuntu so can't check.
Software Center says there's nothing there by that name. "Did you mean libdvdcss2?" it asked, and suggested Brasero Disc Burner. So I need to install libdvdcss, right? Only, I just tried inserting a DVD I'd already played successfully, the last one before this situation developed, and it still plays. It sounds like, from what John VV said, that without libdvdcss, no DVD would play.


Shadow 7: eject -r gave this output:
eject: unable to eject, last error: Input/output error
I have tried a couple of the other media players, but the result is the same: The disk keeps spinning, and there are those rhythmic sounds that signal to me that a disk is trying to be read, but there's no video.
 
Old 09-25-2013, 08:08 AM   #14
Kirsten
Member
 
Registered: Aug 2012
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: Disabled
haertig: This is with five DVDs in a row. I sometimes struggle with dirty, damaged DVDs too, but for me they usually wait until the climax of the story before seizing up; they've never just failed to play right from the start. I have wiped these down; they're not in the best shape, but they're certainly no worse than others.

Quote:
Originally Posted by haertig View Post
(2) When you start VLC, are you telling it to "open disk" and pointing it to "/dev/sr0"? If not, what are you telling it to open? Probably something like /dev/dvd, or /dev/cdrom, or similar. If so, what does "ls -l /dev/dvd" say? Is it a symlink to /dev/sr0? Substitute "/dev/cdrom" or whatever you are telling VLC to open in that "ls -l" command.
Usually VLC starts playing the DVD automatically when I insert it. If it doesn't, I use GUI; I open VLC, right-click on the black screenspace, select "Open Media," select "Open Disc," and click "Play" on the new window. That's what I've been doing since this trouble started, since the discs aren't playing automatically.

ls -l /dev/dvd gets:
lrwxrwxrwx 1 root root 3 Sep 25 08:28 /dev/dvd -> sr0
I can't quite figure out how to substitute like you said. What exactly should I substitute into the ls -l command?

Quote:
Originally Posted by haertig View Post
(3) From the Linux commandline, what does "ls -l /media/kirsten/*/VIDEO_TS" say? Note that your mountpoint from your initial post was "/media/kirsten/WEDDNG43", but that "WEDDNG43" part will change as you insert different DVD's, hence my use of a "*" in the "ls -l" command which should match whatever DVD you happen to insert.
Here's the output of ls -l /media/kirsten/*/VIDEO_TS:
ls: cannot access media/kirsten/*/VIDEO_TS: No such file or directory
Thanks, all of you, for your input. I had to step away from the machine for a couple of days, and it was good to find you here when I returned.
 
Old 09-25-2013, 08:32 AM   #15
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,880

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
"Did you mean libdvdcss2?"
If you got that message in the Software Center, did it show libdvdcss2 installed when you entered it in the Search box. If so, that's not the problem. The 2 at the end just means a newer version of that software.

Quote:
Only, I just tried inserting a DVD I'd already played successfully, the last one before this situation developed, and it still plays
So it played the video?? Do you mean some DVDs now work and others don't?
Put one of your DVDs you want to play with VLC in the drive. Wait a short time and then run the ls command: ls -l /media/ to see what output you get if any. I don't know why your user name shows under /media for your DVDS. I have Ubuntu installed and it is usually just a UUID or the movie name/label.

You might also check the cable connections on the drive.
 
1 members found this post helpful.
  


Reply

Tags
dvd, mount, unmounted, video player


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
Lubuntu won't play dvds ubuntu.fan Linux - Newbie 5 10-01-2012 02:22 PM
audio cds won't mount/play but dvds in same drives play. Running SW12.2current. lestoil Slackware 6 05-28-2009 07:33 PM
DVD won't play DVDs Bazzaah Linux - Software 3 03-19-2007 01:33 AM
Newer Dvds won't play - drive just spins and cuts out lrt2003 Linux - Software 4 04-17-2004 03:19 PM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration