You are not logged in.

#1 2011-12-24 22:56:49

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Error in playing DVD's/CD's [SOLVED]

Forgive me for the complete newbie question, but how do I view error logs if there is an issue I am troubleshooting, i.e. why my cd/dvd drive does not mount?

Last edited by mynameisneo (2011-12-28 02:09:56)

Offline

#2 2011-12-24 23:02:59

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

Re: Error in playing DVD's/CD's [SOLVED]

The logs are in /var/log
Not sure what you mean by "cd/dvd drive does not mount". What kind of CD/DVD are you trying to mount (AudioCD, blank disc?) and how exactly - what command etc.

Offline

#3 2011-12-25 01:23:43

Proofrific
Member
Registered: 2008-01-05
Posts: 221

Re: Error in playing DVD's/CD's [SOLVED]

The `dmesg` command is also useful.

Offline

#4 2011-12-25 03:19:36

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Error in playing DVD's/CD's [SOLVED]

Are you referring to the errors.log file in /var/log? It only reports errors on startup...I am unable to troubleshoot problems with applications such as I am having with banshee unable to play audio or deluge in connecting.

How does dmesg work? I read the man pages and I did

sudo dmesg --console-on

but am at a loss.

Offline

#5 2011-12-25 03:29:18

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

Re: Error in playing DVD's/CD's [SOLVED]

When you e..g plug a pendrive in and then type 'dmesg', it should show you how the system sees the new device - if at all. You will get device name (e.g. /dev/sdb) and so on.

We may be having X-Y problem here [1], can you please say what exactly are you trying to achieve? Different application log things in different way, e.g. pacman does have a log and can be run as e.g. 'pacman -Syu --verbose --debug' to get more info.
Try running apps from the terminal and look at the output.




[1] http://mywiki.wooledge.org/XyProblem

Offline

#6 2011-12-27 01:44:27

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Error in playing DVD's/CD's [SOLVED]

One of the issues I am having currently is playing DVD's or CD's in my combo drive. When I put in a DVD and open MPlayer to select the disc via FIle > Disc > Open DVD with Menus, I get the following error: Couldn't open DVD device: /dev/dvd (No such file or directory).

I have read the wiki on DVD Playing as well as Autofs in automounting removable media. However, I am unable to solve my problem. I get the following error in my /var/log/errors.log:

Dec 26 17:15:09 localhost automount[691]: mount_autofs_indirect: failed to read map for /media
Dec 26 17:15:09 localhost automount[691]: master_do_mount: failed to startup mount

My /etc/autofs/auto.master is:

/media /etc/autofs/auto.media

Per the wiki, I have added

automount: files

to the end of my /etc/nsswitch.conf but when I run:

sudo rc.d start autofs

, it fails to start daemon.

Offline

#7 2011-12-27 01:46:30

Proofrific
Member
Registered: 2008-01-05
Posts: 221

Re: Error in playing DVD's/CD's [SOLVED]

Does /dev/dvd exist on your system? It may not be symlinked. My CD/DVD drive, for example, is /dev/sr0. Maybe change the path in MPlayer?

Offline

#8 2011-12-27 02:05:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Error in playing DVD's/CD's [SOLVED]

mynameisneo wrote:

...how do I view error logs if there is an issue I am troubleshooting, i.e. why my cd/dvd drive does not mount?

A couple things.  When you say "CD", what do you mean?  There are audio CDs, which have no file system.  You are not able to mount them in the literal sense.  If you are referring to a CD with a file system, it will mount on something like /dev/sr0 -- There are usually links back to the main node called /dev/cdrom, /dev/dvd, etc...

Conversely, DVDs have file systems, but, through the magic of DRM, "Files" on the disk may generate I/O errors, unless all of the DeCSS stuff is working correctly.

Now:  As to what you are up to... Can you post the output of groups


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2011-12-27 02:53:29

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Error in playing DVD's/CD's [SOLVED]

ewaller wrote:

...snip...

If you are referring to a CD with a file system, it will mount on something like /dev/sr0 -- There are usually links back to the main node called /dev/cdrom, /dev/dvd, etc...

Unless something changed recently, those symlinks are no longer created under Arch; The udev rules no longer exist.

mplayer can use flags like:

mplayer -dvd-device /dev/sr0
mplayer -cdrom-device /dev/sr0

Last edited by skottish (2011-12-27 03:06:19)

Offline

#10 2011-12-27 05:32:00

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Error in playing DVD's/CD's [SOLVED]

Thank you for all your suggestions. I am able to play a DVD from the terminal with

mplayer -dvd-device /dev/sr0 dvd://1

It is just the GUI interface that I am having trouble with. Can you explain how to change the path to correctly identify /dev/sr0?

Would I play an audio cd from /dev/sr0 as well? Does this mean that there is no need for me to use autofs?

I am a new linux user, but am enjoying my arch experience and am learning a lot. I appreciate all of the help from the community.

Offline

#11 2011-12-27 14:43:48

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

Re: Error in playing DVD's/CD's [SOLVED]

I think you can set the path in mplayer config use an alias.
Yes, it should play audioCDs just fine, but some users are having problems with mplayer https://bbs.archlinux.org/viewtopic.php?id=132538

Offline

#12 2011-12-28 02:09:39

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Error in playing DVD's/CD's [SOLVED]

I ended up using a symlink to solve my problem with mplayer's path. In the command line, I did:

sudo ln -s /dev/sr0 /dev/dvd

Btw, I had the same problem playing audio CD's in gnome-mplayer as described in https://bbs.archlinux.org/viewtopic.php?id=132538. However, I will mark this thread as solved.

Last edited by mynameisneo (2011-12-28 02:10:57)

Offline

Board footer

Powered by FluxBB