LinHES Forums
http://forums.linhes.org/

Cannot mount dvd on R6
http://forums.linhes.org/viewtopic.php?f=2&t=19947
Page 1 of 2

Author:  Ozdemon [ Thu Jun 11, 2009 7:16 pm ]
Post subject:  Cannot mount dvd on R6

If I inserted a dvd and started R6, I got an error message "Failed to mount device: /dev/dvd"

So I checked the frontend settings and saw Mythtv was set to mount /dev/dvd. As I don't have /dev/dvd, but I do have /dev/cdrom, I changed the setting accordingly.

I also chmod 777 /dev/cdrom and chmod 666 /dev/scd0.

Now I get "Failed to mount device: /dev/cdrom"

Would really appreciate some advice on how to fix this.

P.S. I have a sata dvd/rw drive.

Author:  mihanson [ Fri Jun 12, 2009 2:15 pm ]
Post subject: 

You can try /dev/sr0 or look in the /dev/cd directory to see what may be there. For example, I have (IDE DVD drive):

Code:
$ ls -l /dev/cd
total 0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 cdrom-0:0:1:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 cdrw-0:0:1:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 dvd-0:0:1:0 -> ../sr0

Author:  Ozdemon [ Sun Jun 14, 2009 2:33 am ]
Post subject: 

mihanson wrote:
You can try /dev/sr0 or look in the /dev/cd directory to see what may be there. For example, I have (IDE DVD drive):

Code:
$ ls -l /dev/cd
total 0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 cdrom-0:0:1:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 cdrw-0:0:1:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 dvd-0:0:1:0 -> ../sr0


My output is the same as yours except in each case the suffix is 4, i.e. cdrom-4, cdrw-4, dvd-4

I tried
/dev/cd
/dev/cd/dvd
/dev/cd/dvd-4
/dev/dvd
/dev/dvd0
but nothing worked.

As stated above, MythTV came pre-configured with /dev/dvd, but I don't have a /dev/dvd directory, only /dev/cd. I appear to have dvd and dvd0 files at /dev.

Any further suggestions to get the dvd to mount in MythTV appreciated.

Author:  tophee [ Sun Jun 14, 2009 5:53 am ]
Post subject: 

Is this any dvd or a purchased DVD of a movie? I suspect it's the latter. In one of R6's submenus through the service menu, there is an 'additional software' page. Look for and entry with '****css' if this is the case.

Author:  Ozdemon [ Sun Jun 14, 2009 6:24 am ]
Post subject: 

tophee wrote:
Is this any dvd or a purchased DVD of a movie? I suspect it's the latter. In one of R6's submenus through the service menu, there is an 'additional software' page. Look for and entry with '****css' if this is the case.


It's my own dvd with some avi files. Does that make a difference?

Author:  tophee [ Sun Jun 14, 2009 10:04 am ]
Post subject: 

Bought DVDs have encryption, which needs to be circumnavigated. Which is why I was asking, however if it's just a DVD you've burnt you've other issues. Sorry I was not more help.

Author:  mihanson [ Sun Jun 14, 2009 7:46 pm ]
Post subject: 

Ozdemon wrote:
It's my own dvd with some avi files. Does that make a difference?


Sounds like this is a DATA DVD, not a VIDEO DVD. Yes, .avi's are video files, but they're not native to DVD. Try a real video DVD, i.e. store bought (but heed tophee's advice on that) or some other DVD, but not one with straight data files.

Author:  Ozdemon [ Sun Jun 14, 2009 7:48 pm ]
Post subject: 

mihanson wrote:
Ozdemon wrote:
It's my own dvd with some avi files. Does that make a difference?


Sounds like this is a DATA DVD, not a VIDEO DVD. Yes, .avi's are video files, but they're not native to DVD. Try a real video DVD, i.e. store bought (but heed tophee's advice on that) or some other DVD, but not one with straight data files.


Okay, thanks I will do that when I get home tonight. Does your answer mean that R6 cannot be used to play .avi files?

Author:  mihanson [ Sun Jun 14, 2009 9:02 pm ]
Post subject: 

Ozdemon wrote:
Does your answer mean that R6 cannot be used to play .avi files?


No, R6 plays avi just fine. MythTV's internal DVD player expects DVD video (AFAICT). Copy the avi to your /myth/video directory.

Author:  alien [ Mon Jun 15, 2009 1:28 am ]
Post subject: 

Ozdemon wrote:
mihanson wrote:
You can try /dev/sr0 or look in the /dev/cd directory to see what may be there. For example, I have (IDE DVD drive):

Code:
$ ls -l /dev/cd
total 0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 cdrom-0:0:1:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 cdrw-0:0:1:0 -> ../sr0
lrwxrwxrwx 1 root root 6 2009-06-12 09:04 dvd-0:0:1:0 -> ../sr0


My output is the same as yours except in each case the suffix is 4, i.e. cdrom-4, cdrw-4, dvd-4

I tried
/dev/cd
/dev/cd/dvd
/dev/cd/dvd-4
/dev/dvd
/dev/dvd0
but nothing worked.
Did you try /dev/sr0 or /dev/cd/dvd-4:0:1:0 (or whatever was in /dev/cd)?

Author:  tophee [ Mon Jun 15, 2009 4:36 am ]
Post subject: 

If you are trying to play .avi files directly just copy them into your video folder over the network.

You can navigate to your mythbox via network from either a windows or linux box. Just drag and drop into the /myth/video folder.

This assumes that you have a home network, if you don't I'd seriouly condsider installing one - wires are better, but wireless works just as well for remote copying of files / management of your box.

Not a solution, but rather an alternative.

Author:  Ozdemon [ Mon Jun 15, 2009 6:09 am ]
Post subject:  Some progress

Okay, I tried several discs and the results are:

No DVD disc containing .avi files will mount in (my) R6
No commercial DVD will mount in R6
A non-commercial DVD will play.

Looks like I will have to learn how to copy the .avi files over the network as I do not know how I can copy files off the disc in the R6 machine when the disc won't mount and R6 doesn't have a file manager.

I know that R6 is only at the beta stage, but on my wishlist being able to put in a disc and play avi files would be at the top of the list for any media centre.

Sincere thanks for all the replies.

P.S. I was close to throwing in the towel, so I tried to install R5.5 - couldn't install it because I had a SATA drive. I looked at a manual install - that wouldn't work either.

Fingers crossed things get easier from here.

Author:  mihanson [ Mon Jun 15, 2009 11:00 am ]
Post subject:  Re: Some progress

Ozdemon wrote:
No DVD disc containing .avi files will mount in (my) R6

Code:
$ sudo mkdir /media/dvd
$ sudo mount -t iso9660 /dev/sr0 /media/dvd
$ cp /media/dvd/path/to/avi/files /myth/video

Note: /media/dvd may already exist.

Ozdemon wrote:
No commercial DVD will mount in R6

tophee gave you the answer for that issue above.
tophee wrote:
In one of R6's submenus through the service menu, there is an 'additional software' page. Look for and entry with '****css' if this is the case.


Ozdemon wrote:
I know that R6 is only at the beta stage, but on my wishlist being able to put in a disc and play avi files would be at the top of the list for any media centre.


If you have feature request of bug reports, plase post them on flyspray.

Author:  tophee [ Mon Jun 15, 2009 2:15 pm ]
Post subject: 

Copying over the network is easy.

On a windows box it's something like: >My Computer > Network >MythTV. Follow the tree through until you see your mythbox. In R6 I think you can log on as root (if enabled) or as MythTV. Your password will be your root password. Just drag n drop thereafter.

On a linux box, (say ubuntu) your media centre should be picked up automagically via >Places >Network. Log on as described above.

HTH and good luck with the DVD.

Author:  Ozdemon [ Mon Jun 15, 2009 4:35 pm ]
Post subject:  Some progress

Okay, thanks to the replies, I can report:

I can now mount and play a commercial DVD
I can mount a DVD containing avi files using the command supplied above:

Code:
sudo mount -t iso9660 /dev/sr0 /media/dvd


I cannot access the R6 machine over the network. Both machines are linux (Ubuntu 9.04 and R6).

If I go to Places-Network and select the R6 machine and try and log on using username and root password permission fails. Same with Mythtv + Mythtv and mythtv + mythtv

Going to the setup menu in the frontend, I tried to access user accounts - but permission was denied so I could not change anything there or add a user.

So I went into Xterm in case I was not using the correct root password. I reset the password using "passwd sudo"

Tried again, same result.

Is there some setting in the R6 machine that I need to change to allow network access?

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/