LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-29-2005, 01:13 PM   #1
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 07-29-2005, 01:29 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
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.
 
Old 07-29-2005, 01:39 PM   #3
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 07-29-2005, 05:05 PM   #4
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
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.
 
Old 07-29-2005, 05:10 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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
 
Old 07-30-2005, 05:09 AM   #6
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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.

Last edited by simcox1; 07-30-2005 at 05:13 AM.
 
Old 07-30-2005, 08:13 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 07-30-2005, 09:05 AM   #8
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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
 
Old 07-30-2005, 09:44 AM   #9
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
After adding a line to lilo and installing k3b it now picks my dvd writer up.
 
Old 07-30-2005, 09:52 AM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 07-30-2005, 10:37 AM   #11
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 07-30-2005, 10:45 AM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 07-30-2005, 01:19 PM   #13
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 07-30-2005, 01:41 PM   #14
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 07-30-2005, 02:30 PM   #15
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794

Original Poster
Blog Entries: 2

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting DVD drive rcontino Linux - Hardware 4 07-13-2005 10:03 PM
Mounting DVD to a CDR/DVD combo drive f34r7h1s Slackware 38 05-16-2005 07:50 PM
mounting dvd drive true_atlantis Linux - Newbie 8 04-15-2004 03:02 AM
Mounting DVD drive? flamesrock Linux - Hardware 2 09-14-2003 03:25 PM
Mounting a CD-R on a DVD drive Pwcca Linux - Hardware 2 07-27-2003 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration