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.
umm... i don't think you would need to recompile your kernel again it already supports iso-9660
just edit your /etc/fstab. This is mine below; yours should be similar...
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
in reply to ababkin (thanks AutOPSY), i got it working by installing the package you told me about, then i recomplied. also, i just recompiled, and ive got the regular cdrom drive and the internet working, so im talking to you from kernel 2.6.5-goddard! the only thing preventing me from getting rid of that old lilo entry is this when i attempt to play a dvd with mplayer:
libdvdread: Could not open device with libdvdcss
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd
Last edited by LavaDevil94; 04-06-2004 at 08:15 PM.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
i dont have a /dev/cdrom* for some reason, in fact, the /dev/dvd is a symlink to /dev/hdd. thanks for the tip, though. ill try reinstalling libdvdcss, and putting those links in.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
i have 2 seperate drives, a cdrw drive and a dvdrom drive, so that wouldnt apply. btw, i have a little update. i tried mplayer dvd://1 while root, and i got different output:
Playing dvd://1
Reading disc structure, please wait...
libdvdread: Can't seek to block 256
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!
and thats what i get. also, im having troubles with mount, doing mount /mnt/cdrom gives me:
mount: wrong fs type, bad option, bad superblock on /dev/scd0, or too many mounted file systems
but if i mount it like this:
mount -t iso9660 /dev/scd0 /mnt/cdrom
it works fine, unless im not root, otherwise it says "only root can do that".
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
well, i figured out thats not the case. i get this when i hdparm -tT (test it) /dev/dvd:
read() hit EOF - device too small
and it doesnt start the test, but it does exit. something even more strange is this, which happens when i try to enable dma on any device other then /dev/dvd:
hdparm -d1 /dev/hda
HDIO_SET_DMA failed: Operation not permitted
seeing as how i am root while i do this, and i did this after a chmod 775 /dev/hda, i dont know what the problem is.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
well, i fixed the operation not permitted problem by recompiling my kernel (about 13 times in 2 days!) again with some options tweaked, but i still get the same problems with the cdrom and dvd drives.
Ok, i don't know if this will work for you but give it a shot. If you don't have a cdrom in your /mnt dir then you will have to make one, but first cd into your /mnt to see what is in there; usually a cdrom, cdrom1 and fd0. If there isn't a cdrom or cdrom1 then make a diretctoy for them by-- mkdir cdrom and/or cdrom1. Now edit your /etc/fstab to look like this...
then mount your cdroms by becoming root and issuing (put a data cd into the drive too)... mount /dev/hdc /mnt/cdrom now try... eject /dev/hdc if the drive ejects it works, and just do the same to the other drive as well.
As for reconfiguring your kernel 13 times in 2 days, i did the same thing when i first started to use Linux, including reinstalling Slack about 10 times, but it paid off because i can have them installed in about 20 min each; when it took me hrs before.
Last edited by Linux~Powered; 04-06-2004 at 12:32 AM.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
well, heres what i got when i modded the config to what you said and issued the command:
mount /dev/hdc /mnt/cdrom
mount: error while guessing filesystem type
mount: you must specify the filesystem type
and i specified the fs type with this:
mount -t iso9660 /dev/hdc /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
but with this:
mount -t iso9660 /dev/scd0 /mnt/cdrom
it works fine. btw, i have in my /mnt dir: floppy, cdrom, cdrom2. i did all of this as root.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Original Poster
Rep:
update: actually, when i tried the dvd drive using
mount -t iso9660 /dev/scd1 /mnt/cdrom2
it mounted the dvd fine. i looked at the error output of mplayer again, and i found that it was looking for VIDEO_TS.IFO, and the actual file was called the exact same thing, except it was in lower caps (:snicker, anyone know how to redirect mplayer?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.