LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2005, 01:05 PM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
Unhappy DVD drive no longer working


Hi all

My DVDRAM drive seems to have stopped working. I'm not too sure why, as I've not changed any settings or anything. Just come to burn a backup and both GnomeBaker and Graveman can't use the drive. GnomeBaker can see it but doesn't register anything's in there, and Graveman's just being ignorant.

My fstab file looks like the following:
Code:
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
Do I have to change this file to let linux know that its an IDE drive but make it use it as a SCSI drive?

Any tips would be great.

Cheers!
 
Old 12-13-2005, 07:55 AM   #2
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
First you should check that the device has the proper permissions by doing a ls -l /dev/cdrom. If /dev/cdrom is just a shortcut and it probably is then you need to check the permissions of the device it is pointing to. The permissions should look something like this brw-rw-rw- with read and write privileges for everyone.

As for the SCSI-emulation, you need to check the /etc/lilo.conf file to see if there's a line that says append="hdc=ide-scsi" or something like that.
 
Old 12-13-2005, 08:04 AM   #3
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Thanks for the reply.

I get this:
Code:
box:~# ls -l /dev/cdrom
lrwxrwxrwx  1 root root 3 May  8  2005 /dev/cdrom -> hdc
So r/w permissions are available to all.

Checking the lilo.conf file shows that the append="" isn't being used. Should I add the line you suggested and see how I go?

This is a debian box, so will using append="hdc=ide-scsi" work as expected?

Thanks again!
 
Old 12-14-2005, 05:30 AM   #4
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
SCSI-emulation is ONLY needed if you are using a 2.4 kernel. The 2.6 kernel or newer don't need it. When you see this "/dev/cdrom -> hdc" when doing ls -l /dev/cdrom that means it is a link and then you need to check the permissions on the object it is pointing to, not the link itself because a link has no permission restrictions at all.

So you need to do this: ls -l /dev/hdc to check the permissions of the object the link points to.
 
Old 12-14-2005, 06:03 AM   #5
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
I'm on 2.4.

If I add the append item to the lilo.conf, will lilo fail on boot if the option is wrong?
 
Old 12-14-2005, 06:58 AM   #6
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
This is how the section that boots my 2.4 kernel looks like in /etc/lilo.conf

image = /boot/vmlinuz
label = linux
append="hdc=ide-scsi"

I don't think adding the wrong append will break anything but I'm not sure. Once you have stored the file and done a lilo command to change the MBR you also need to change the link /dev/cdrom to point to /dev/scd0 instead since that will be the correct device when SCSI-emulation is enabled.
 
Old 12-15-2005, 11:22 AM   #7
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
What should I be expecting from ls -l /dev/cdrom and /etc/fstab once I've done the update to lilo?

My drive isn't even being recognised now, though it was before (just not being used correctly).
 
Old 12-16-2005, 06:54 AM   #8
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
OK, updating lilo seems to have not worked, however using append="scsi" allows me to eject the drive. Can't do anything else with it, but at least there's some movement.

Can anyone offer up any other suggestions?
 
Old 12-16-2005, 09:33 AM   #9
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
Try and mount it manually like this:

login as root: su root
mount the drive: mount /dev/scd0 /cdrom -t auto

check /cdrom to see if there's something there.
 
Old 12-17-2005, 06:57 AM   #10
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Doesn't work. I get:
Code:
box:~# mount /dev/scd0 /cdrom -t auto
mount: you must specify the filesystem type
box:~# mount /dev/scd0 /cdrom -t iso9660
mount: /dev/scd0 is not a valid block device
box:~#
This is while lilo is set to append="ide-scsi".
Anything else I can try?
 
Old 12-19-2005, 05:11 PM   #11
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
Ok that should be append="hdc=ide-scsi" note the hdc section. You need to tell Linux which block unit it should use.
 
Old 12-19-2005, 06:24 PM   #12
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Sorry, it is set to append="hdc=ide-scsi", with no joy.
 
  


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
DVD Drive not working, Debian, 2.6.8 kernel ezuk Linux - Hardware 6 10-10-2004 05:51 PM
New DVD drive not working properly Bigun Linux - Software 22 08-19-2004 03:43 PM
CD/DVD drive not working on Debian Sarge lussumo Linux - Hardware 4 07-28-2004 09:01 PM
Added new DVD drive, old cd stopped working ejennings_98 Linux - Hardware 9 05-22-2004 10:34 PM
New CDRW/DVD combo drive not working! Derrick Linux - Newbie 6 09-20-2003 10:07 AM


All times are GMT -5. The time now is 11:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration