Can't mount DVD

Bug #230670 reported by Ralf
6
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
hal (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: udev

Since bug #218834 is closed, but the issue still exists on my system, here a new bug report.

When I insert a movie DVD in Kubuntu Hardy and choose to play it with Kaffeine I'm getting 2 error-messages:

1) "Source could not be read. You don't have enough rights, or the the source does not contain any data (i.e. no CD in the drive) (dev/dvd)"
 => hopefully I translated the message correctly since I'm using german Kubuntu.
2) LibDVDCSS (http://www.videoloan.org/developers/libdvdcss.html) is about to be installed, it allows you to watch encrypted DVD videos. This is illegal in some countries which require decryption to be authorised by the copyright holder. Do you want to install this package?
 => this message appears allthough the package is allready installed, and even if I say "Yes", the DVD will not be played and the next time I try to play a DVD this message appears again.

And with the old Gutsy-kernel (2.6.22-14-generic) everything is still ok, the DVD will be played without any error-messages.

On this system I made an update from Kubuntu Gutsy to Kubuntu Hardy. Since I had some space left on the harddisc I installed Kubuntu Hardy a second time and tried it. On this installation it is working without problems?!

I checked the /etc/fstab, and changed it in my old system the way it is in the fresh installation:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda6
UUID=73fb3214-53fc-4895-9015-ddd642bce5d1 / ext3 defaults,errors=remount-ro 0 1
# /dev/hda1
UUID=16A0FE73A0FE5927 /media/hda1 ntfs defaults,umask=007,gid=46 0 1
# /dev/hdc1
UUID=67b0a14c-8a91-aa17-20d7-88dd4a804b87 /media/DATEN ext3 defaults 0 2
# /dev/hda5
#UUID=b4608e12-da42-3ba7-266e-5533f04a8cd1 none swap sw 0 0
UUID=d6bfa649-af43-4a6c-a926-493e0de1f074 none swap sw 0 0
#/dev/hdd /media/cdrom0 udf,iso9660 user,noauto,exec 0 0 <= old entry
#/dev/hdb /media/cdrom1 udf,iso9660 user,noauto,exec 0 0 <= old entry
#/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0 <= old entry
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 <= manually changed
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0 <= manually changed
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 <= manually changed
usbfs /proc/bus/usb usbfs devgid=1001,devmode=0664 0 0

Even after manually changing the entries in /etc/fstab it does not work.

Regards,

Ralf

Revision history for this message
Ralf (ralf-weyer) wrote :

Any news on this? Or is there any infomration and/or testing needed?

Seems I'm not the only one having this problem:

http://ubuntuforums.org/showthread.php?t=767449&highlight=hardy+mount+dvd

Regards,

Ralf

Revision history for this message
Ralf (ralf-weyer) wrote :

After the latest kernel-update to 2.6.24-17-generic the error message has changed:

This DVD Video is encrypted. To be able to watch it you will need to install libdvdcss by running from a console: sudo /usr/share/doc/kaffeine/install-css.sh. In some countries it is illegal to install the decryption software without permission from the video copyright holder.

But libdvdcss has been installed before, the version was 1.2.9-2medibuntu4, but I gave it a try anyway and followed the installation steps mentioned above, and installed the old libdvdcss in version 1.2.5-1. As you might guess, no change at all, I restarted Kaffeine after the installation of the old libdvdcss, but the message appears again.

So I'm still booting the old gutsy kernel again, where still everything works without problems.

Regards,

Ralf

Revision history for this message
Ralf (ralf-weyer) wrote :

Anyone here? The bug was reported on 2008-05-15 and the status is still "new"? At least an answer - even "we don't care, it's your problem" or something else would be nice. I'm willing to test and try whatever suggested, but without any answer...

Regards,

Ralf

Revision history for this message
Bruce Clement (aotearoa) wrote : Possible work-around (Re: Can't mount DVD)

There's a bug in Kaffeine when it reports any failure to open the DVD drive as an encrypted drive.

I don't know if this is the same problem you are encountering, but when I had this problem recently it was because kaffeine was configured to use /dev/dvd and that device no longer exists for recent kernels.

I fixed by opening kaffeine, selecting xine engine parameters from the settings menu option, going to the media tab and changing the dvd device from /dev/dvd to /dev/dvd1.

On my system, /dev/dvd1 is a symbolic link to /dev/scd0, if you don't have a /dev/dvd1, try using that name instead.

Revision history for this message
Ralf (ralf-weyer) wrote :

Hello Bruce,

thanks a thousand times!!! That did it (allthough on my computer dvd3 was thr right one).

Anyway, you saved my day ;-)

Regards,

Ralf

Revision history for this message
auspex (auspex) wrote :

We (on the kubuntu-users list) tracked down the root of the problem. The kaffeine-xine engine is, by default, correctly configured to expect the audio & video devices to be /dev/cdrom and /dev/dvd, respectively.

udev has two rulesets that are relevant:
 /etc/udev/rules.d/70-persistent-cd.rules
 /etc/udev/rules.d/75-cd-aliases-generator.rules

The latter generates the former - but it never replaces rules, just adds new ones. When optical drives change from being handled by the IDE subsystem to SCSI, the PCI path names change (e.g.pci-0000:00:09.0-ide-1:0 becomes pci-0000:00:09.0-scsi-0:0:1:0) and /dev/dvd is no longer a valid symlink to the physical device.

The best workaround, imo, is to simply delete /etc/udev/rules.d/70-persistent-cd.rules and reboot - a new file will be generated with /dev/cdrom and /dev/dvd (and their r/w equivalents) pointing to the correct device.

auspex (auspex)
description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? May you please try the same with Jaunty or Intrepid? Thanks in advance.

Changed in udev:
status: New → Invalid
Changed in hal:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
auspex (auspex) wrote :

It makes no sense that this has been closed in udev, and remains in hal, when it's explicitly a udev problem. udev simply won't rewrite its rules when the device id changes.

This is a udev error, not a hal error.

Additionally, it has had no action because nobody is doing anything about it. Of course it's still an issue. It can't just go away.

Revision history for this message
Poliltimmy (poliltimmy) wrote :

I was told in Ubuntu forums that this problem was unique to me. What arrogance. It is a problem for a bunch of us since 8.04. Over a year later and still not addressed. Seems they do not give a rats a$$ whether CD or DVD drives work. Like Windows, backward compatibility is of no concern. The same drives work beautifully under Windows XP and 7.10. Ubuntu forums told me to just go back to windows and be a slave to MS. Since 7.10 Ubuntu has gone downhill fast. They care more about streaming audio than getting the audio on your computer to start with. Without a concrete fix, Ubuntu will be vilified by me, as there arrogance dictates it is necessary to get proper attention. I have many friends that have now ordered win7, as they are too fed up with the emphasis on new new types of audio at the expense of what should just work. Since 7.10 I have nothing good to say about Ubuntu. The Geeks are still in control and could care less about making Ubuntu mainstream. Just as elitist as the banking CEOs. As of 7.10 Ubuntu is garbage if it can not make major components "just work'. And my opinins will reflect trhis as an Ubuntu user on the Tech threads. Launchpad has brought this discontent upon their selves and deserving so.

Revision history for this message
auspex (auspex) wrote :

No, the problem is not unique to you, and the Forum users should have known better. Nevertheless, the fix is trivial, as I explained above in #6.

(But you're right - it could have been made to "just work" simply by deleting this file on upgrade).

Changed in udev:
status: Invalid → Confirmed
Revision history for this message
Poliltimmy (poliltimmy) wrote :

Since I upgraded to 9.04 after being told that will fix it, will it still work as in #6?

Revision history for this message
Poliltimmy (poliltimmy) wrote :

Do I delete the whole folder and the config file?

Revision history for this message
Poliltimmy (poliltimmy) wrote :

Worked for CDs but a no go for DVD. not sure I don it right

Revision history for this message
Poliltimmy (poliltimmy) wrote :

Mine has 1 /etc/udev/rules.d/70-persistent-cd.rules and 1 70-persistent-net.rules no /etc/udev/rules.d/75-cd-aliases-generator.rules

Revision history for this message
auspex (auspex) wrote :

It doesn't use the ...generator... script any more, but it still won't replace existing rules.

Do:
  grep dvd /etc/udev/rules.d/*
and
  lspci

Compare the "ENV{ID_PATH}=="pci-0000:..." string to the results of lspci. The one that matches is your _real_ DVD's path.

Revision history for this message
the_webninja (the-webninja) wrote :
Download full text (3.2 KiB)

If anyone is still reading this Thread, I just wanted to say that I had similar problems with Ubuntu 9.04 but the way I solved them was not by getting all frustrated and hateful, (although I did experience those emotions, it was not how I solved the problems :) When I could not find the answers I wanted in the Ubuntu Forums, I did broad searches using Yahoo and Google entering keywords of my problem in to the Search Engine. What I found was, there is a whole WORLD of people out there using Ubuntu and if you just look hard enough eventually you will find someone who has the answers for you. There are dozens and dozens of Web Designers who set up there OWN Ubuntu Forums on their Sites, and if I can't understand how one person explains it, I look around and I find the same problem with a different way of explaining the solution. Don't allow the Arrogant attitudes of some little teenage dweeb to turn you off of Ubuntu. There are thousands of people who put lots of time and effort into making sure Ubuntu is a Usable OS. And Sure there are lots of things they can do Better, and if you can think up one of those ideas submit them in the Wishlist Category, and become part of the solution, instead of just storming off to return to Windows. :)
One of the ways I used to solve a Dvd no mount problem was I first went to System>Software>and checked all the little Boxes for adding all the repositories (except for the source code) cause I didn't think I needed that. But Especially Universe and Multiverse, then I downloaded every application available for Video which gave me all the Codecs I needed, I also downloaded windows Codecs and Downloaded Realplayer for Linux which gives you a bunch of Codecs too. These Applications by default will download lots of stuff you need to read different Dvd formats. I deal with all kinds of Video Formats including Pal Vcds and Dvds. After downloading all the Video Applications I could find for Linux I had no problem playing anything in the Dvd, AND I also was able to Stream Movies using Amarok, and Gxine, and Realplayer. You can also try Downloading Google Chrome for Linux and Moonlight (Which also works in Mozzilla Firefox) to Stream Videos. More and more people are making Apps for Ubuntu because Ubuntu is more secure, more stable, and most of the software is still FREE for Ubuntu. So Ubuntu is NOT going down hill, it is getting Better and Better with each Release. I also wish they would automatically configure Mplayer and the SMplayer to play Encrypted Dvds straight from the first Boot of Ubuntu. I mean you can walk into any Store and Buy a Dvd Player that will play the Dvds, and that Player is not breaking the Law anymore than Ubuntu would be. Hire some Lawyer to work it out, but give us what we need to use Ubuntu a little smoother. That would be nice. :) Make the illegal countries UNCHECK the Default Settings if it is illegal for them to use. Look at Lime Wire! Talk about illegal! Everything Lime Wire DOES is illegal! But they are still up and running. AND THEY make a Linux Version of Their Player TOO! :) So I think Ubuntu should be automatically Configured to Play Encrypted Dvds right from the first installation. Someon...

Read more...

Revision history for this message
dino99 (9d9) wrote :
Changed in hal (Ubuntu):
status: Incomplete → Invalid
affects: udev → ubuntu
Changed in ubuntu:
status: Confirmed → Incomplete
status: Incomplete → Opinion
status: Opinion → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.