dvd drive mounting
Hello, I've just installed slackware and I cant get my dvd rom to play any disk. cd or dvd. My fstab looks like this:
/dev/hda5 swap swap defaults 0 0 /dev/hda1 / ext3 defaults 1 1 /dev/hda6 /usr ext3 defaults 1 2 /dev/hda7 /home ext3 defaults 1 2 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 Normally I think my dvd rom is called hdc, and my dvd writer is hdd. It doesn't seem to have picked that up at all. I want to make a cd from an iso file I've downloaded. Do I just need to edit the fstab? Thanks. |
What player are you trying to use? I use xine, and I had a similar problem until I figured out that it shouldn't be mounted for xine. If it is, it won't play properly. Once I tried playing a DVD without first mounting the disc, xine started playing friendly. :)
|
whichever player I try I get 'source cant be read' and 'plugin not found' errors. Anyway my fstab doesn't look right. There's no dvd writer there. At the moment I want to make a cd from an iso file. I cant find k3b on the system either, but need to sort the first problem first. I've got a benq dvdrom and an nec dvd writer.
|
You'll have to download k3b from linuxpackages.net. AFAIK, it isn't in 10.1 or current.
It doesn't matter if there's a "dvd" showing up in your fstab. The DVD players don't check fstab, they check /dev for a /dev/dvd device. Failing that, you can set it to /dev/cdrom since you've just said that both of your drives are DVD. Just make sure you have the appropriate permissions to access the drive. You can also try xine-check which should indicate whether you're going to have any problems playing DVDs, even if you don't intend to use xine as your player. |
simcox1, you can see if your DVD readers are detected on boot by issuing the dmesg command as root.
You can use: dmesg | less for a better view, or even: dmesg | grep CD to get directly the result. About k3b, there's a official Slackware package, it's on extras/ directory, you can get the 10.1 package here: http://slackware.it/en/pb/searchpkg....0.1&string=k3b There's however, a newer version on -current (you can search on the link I posted above) and/or linuxpackages.net |
running the dmesg command gives errors. During boot up both dvd drives do appear. During install I didn't specify any scsi devices which might have helped. Is it necessary to mount the drives to play a cd? I've read posts about mounting drives, adding a line to lilo, and doing a symbolic link to set it up, but I'm not really too sure what I'm doing at the moment.
As far as using xine-check, it throws up several errors for cdrom and dvdrom telling me I need to set a symbolic link pointing to the device. Thanks for your help. I'm using slackware 10.1 and kde with a bare.i kernel. 2.4. The reason I want to make a new disk is because the disks I have seem to have an error on them. During install '/var/log/mount/slackware/a/glibc-solibs-2.3.4-i486-1.tgz' failed to install. So I want to burn a new set. |
can you post the output of the following commands to make some things clear ?
dmesg |grep CD and ls -l /dev/cdrom also, if you know which device ( hdc or hdd ) is the burner, you'll have to add a line to /etc/lilo.conf at the end of the linux section like : append="hdc=ide-scsi" after a reboot your burner device will be /dev/sr0. ( and you should be able to burn cd's ) if you give the info you'll get some tips on how to change fstab and evt. make the correct symlinks egag |
Output from dmesg | grep CD is:
hdc: BENQ DVD-ROM 16X, ATAPI CD/DVD-ROM drive hdd: _NEC DVD_RW ND-3520A, ATAPI CD/DVD-ROM drive Uniform CD-ROM driver Revision: 3.12 hdd: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) and from ls -l /dev/cdrom: lrwxrwxrwx 1 root root 8 2005-07-29 12:23 /dev/cdrom -> /dev/hdc |
After adding a line to lilo and installing k3b it now picks my dvd writer up.
|
you've added ' append="hdd=ide-scsi" ' ?
if so,then make a mountpoint for that drive : mkdir /mnt/dvd-rw ( you can name it anything you like ) and add a line to /etc/fstab : /dev/sr0 /mnt/dvd-rw iso9660 noauto,owner,ro 0 0 i believe your r/w drive is now /dev/sr0, you might check that by putting a data-cd inthere and try to mount it. egag |
Yes I added append="hdd=ide-scsi" to the lilconf file. I can play cd's on my dvd-rom, and the writer seems to mount correctly with the /dev/sr0 command. (What does the sr0 part stand for?). The only problem I've got is getting k3b to work. I compiled from source and it didn't want to burn the iso image. I'll get the slackware package now. I was wondering how I install it. Do I untar it with xvjf and then install? The first time I downloaded it was with file roller which I'm not familiar with and so went to source forge which I am.
|
just use the pkgtools.
it goes like : installpkg k3b-x.x.x-i486.tgz you can remove it with : removepkg k3b-x.x.x-i486 and also, if you compile from source you can use " checkinstall " instead of " make install ". that will create a Slackpackage and an entry in /var/log/packages. this way you can uninstall them easily you'll need " checkinstall ". ( use google and get the latest ) egag |
Well I might have k3b installed too many times and not removed properly, but I have to sign in as root to burn a disk. It doesn't recognise the dvd burner otherwise. And there are then 3 entries, 2 for my nec dvd burner. I think their listed as sr0 and sg0. And when I put a cdrw into the drive it won't recognise that. Not sure what the problem is.
I'm intending to reinstall slackware at some point so this a bit of a practise run. If I mess it up never mind. So far everything else is ok. |
well...look at the output of : ls -l /dev/sr0 to which group it belongs
and add yourself to that group ( in /etc/groups ) then you should be able to use it as a user. and there's no need to reinstall all. just get " checkinstall ". goto the dir. where you compiled k3b and run it. it will install it again, but this time an entry for it will be made in /var/log/packages. then you can remove it with " removepkg " after that, re-install the Slackware package. egag |
Thanks for your help. I'm not sure how to do that. ls -l /dev/sr0 gives:
brw-rw---- 1 root cdrom 11, 0 1999-04-13 05:24 /dev/sr0 In /etc/group I couldn't really see what what I was supposed to do. The cdrom entry is followed by :19. I also think my USB ports aren't getting picked up. I can't run localhost:631 and when I type dmesg I can't see any printer there. It's plugged in. Trying to get slackware up and running is a bit of a nightmare to be honest. It's a lot quicker than Mandriva though. One thing I might try and do is upgrade my kernel to 2.6. This might solve a few problems. |
All times are GMT -5. The time now is 07:46 PM. |