Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hey guys I'm trying to play a dvd with xine and it loads and dislplays the piracy warning then it seems when it goes to switch screens it says:
The source can't be read. Maybe you don't have enough rights for this, or source doesn't contain data. (e.g: not disc is drive) (Error reading from DVD.)
then looking at the messages I see:
Unable to read plugin directory /root/.xine/plugins
last but not least in the terminal I get:
libdvdread: Encrypted DVD support unavailable.
bad_frame
Almost all commercial dvds are encrypted with a weak encryption. For legal reasons, almost all linux distros do not include the library necessary to decode and play commercial dvds. The library you need to install is called "libdvdcss" which is widely available on the net. How you find and install that depends on the distro you are using. Most of the majors have unofficial repos with things they can't legally distribute like libdvdcss and win32 codecs.
altho to use, the command su doesn't work ever since i've updated my kernel. I have to use "su -". How do I enable dma and do you have any idea how I can fix the su problem?
Where is the dvd drive on the ide bus, i.e. master or slave??
This could be caused by a lot of things. Some optical drives will not allow dma to be enabled when they are in the slave posititon with another optical drive on the same ide channel. Some insist on being in the master position for dma no matter what.
A starting point is to examine and determine your whole ide configuration. The typical motherboard has two ide channels("Primary" and "Secondary" or "IDE-0" and "IDE-1") with each channel capable of connecting two drives, one in the "Master" position and the other in the "Slave" position. Note which drives are on each ide cable and what position they are in. To determine how your dvd drive is setup run:
$ ls -l /dev/dvd
/dev/dvd is just a link to the actual device file which will be hda for primary master, hdb for primary slave, hdc for secondary master and hdd for secondary slave. The above command will tell you which one /dev/dvd points to.
Also, it could be a software issue with the kernel and the motherboard hardware. In that case, you might not get dma enabled on the hard drives as well.
That's a huge problem. dma has no application to sata drives in general as they operate under a scsi protocol. dma is strictly for ide drives. Linux support for optical sata drives is not very good at present. This undoubtedly accounts for your poor performance. I don't know if there is much you can do about it other than try and get the most recent kernel you can and hope that ATAPI support for optical sata drives improves. These devices are so new that it will take a while for the kernel to catch up.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,640
Rep:
As root type dmesg to view the boot messages. There should be some messages about your cdrom being recognized and given a name. If your cdrom is your only IDE drive (cdrom or harddisk) it should be named hda.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.