LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2003, 06:51 PM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
DVD Mounting


OK, this may be a stupid question but why won't a DVD movie disc be mounted? I have a slot loading DVD-ROM drive and everytime I put in a movie it ejects it. I try to use mplayer but with the command mplayer -dvd 1-dvd-device /mnt/dvd and nothings happens. Any help would be appreciated.
 
Old 04-09-2003, 07:30 PM   #2
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
First, dvds can be mounted. Check your /etc/fstab.

Second mounting the dvd isn't necessary to view it with mplayer. If you can't watch your dvds check the permissions on your /dev/dvd. Mine are 2660 and the device belongs to the "dvd" group which my username is a member of. You might also check to make sure you have the latest libdvdcss library.

You can brute force it first by logging in as root and running
Code:
# mplayer -dvd 1
(from the mplayer manpage)

Last edited by footfrisbee; 04-09-2003 at 07:32 PM.
 
Old 04-09-2003, 07:39 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
-dvd-device /mnt/dvd isn't the device
-dvd-device /dev/hdx is

/dev/hdx or /dev/scdx is a device, /mnt/whatever is a mount point.

SO to specify a device, you have to select from the /dev options

Cool
 
Old 04-09-2003, 07:39 PM   #4
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
i have the newest version of MPlayer. I even put the DVD drive on supermount and still, it spits it back out after about 8 seconds.
 
Old 04-09-2003, 07:56 PM   #5
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
open a xterm and type
Code:
$  dmesg | less
then tell us what you see.
 
Old 04-09-2003, 07:58 PM   #6
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
empt to access beyond end of device
02:00: rw=0, want=5, (=0x5), limit=4
bread in fat_access failed
attempt to access beyond end of device
02:00: rw=0, want=5, (=0x5), limit=4
bread in fat_access failed
attempt to access beyond end of device
02:00: rw=0, want=5, (=0x5), limit=4
bread in fat_access failed
attempt to access beyond end of device
02:00: rw=0, want=5, (=0x5), limit=4
bread in fat_access failed
attempt to access beyond end of device
02:00: rw=0, want=5, (=0x5), limit=4
 
Old 04-09-2003, 08:02 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Is this on mandrake 9.0?

What does:
ls -l /dev/dvd
show you (post it up)?

Cool
 
Old 04-09-2003, 08:10 PM   #8
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Actually, I just changed to MDK 9.1 I changed my permissions from 700 on /mnt/dvd to 755 just for fun to see what it would do, it did nothing. That was just FYI. Here is the post:

lr-xr-xr-x 1 root root 30 Apr 5 19:01 /dev/dvd -> ide/host0/bus0/target0/lun0/cd
 
Old 04-09-2003, 08:37 PM   #9
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Another thing, why is the dvd automatically ejecting itself?
 
Old 04-09-2003, 08:41 PM   #10
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
I guess it has something to do with MPlayer's error message: can't open device /dev/dvd for reading
 
Old 04-09-2003, 09:23 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So this is even as root then?

mplayer -vo xv -dvd 1 -dvd-device /dev/dvd

And it gives you what? Post up the error message (or just the full output from mplayer).

Cool
 
Old 04-09-2003, 09:27 PM   #12
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
The error message is below. The main thing is that as soon as I put the dvd movie in the drive it gets ejected by the drive.

MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing DVD title 1
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd
 
Old 04-09-2003, 10:37 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Even without running mplayer?

If so, disable "supermount" for this drive and try again. How? Simply by placing a # in front of the line referring to this drive in /etc/fstab and creating a new generic one:
/dev/hdx /mnt/dvd iso9660 users,auto,ro 0 0

Or something along those lines. Then, put the disc in and see what happens.

Cool
 
Old 04-09-2003, 10:41 PM   #14
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Here's my entry in fstab:

/dev/hda /mnt/dvd auto user,iocharset=iso9660,codepage=850,noauto,ro,umask=0 0 0
 
Old 04-09-2003, 11:07 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hmmm...

It shouldn't spit out your disk unless you tell it to. Does it eject regardless of whether you run mplayer or not?
 
  


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
Mounting DVD to a CDR/DVD combo drive f34r7h1s Slackware 38 05-16-2005 08:50 PM
Mounting DVD RW megadeth Slackware 1 05-03-2005 04:18 PM
Mounting a DVD in Fedora xamdbz01 Fedora 1 07-27-2004 03:08 AM
Mounting a DVD chrisk5527 Linux - General 14 03-27-2004 05:01 PM
Mounting a CD-R on a DVD drive Pwcca Linux - Hardware 2 07-27-2003 05:53 PM


All times are GMT -5. The time now is 02:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration