LinuxQuestions.org
Visit Jeremy's Blog.
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 05-15-2006, 04:28 PM   #1
philc
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Accidentally set CD-ROM driver to ignore. How do/did I change?


I'm not sure how I did this, but I seem to have set my CD-ROM driver to ignore. At least, this is what it says in my hardware browser (in GNOME). My computer runs Red Hat 7.3. The drive worked fine when I got the computer (which came with my job). This is my first linux computer, so I've been exploring it to figure out how to work things and while I try not to change anything, well obviously I did. I would appreciate any advice. on how to change it back.

Phil
 
Old 05-15-2006, 06:20 PM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi

Since the computer came with your job, it may not be possible, but if it is, I would certainly recommend updated to a more recent version of the Red Hat operating system. The commercial version is now Red Hat EL 4, and the Red Hat offshoot for the desktop (or anything else, for that matter) is Fedora Core 5. The version you are using is about 6 years old and is not supported by Red Hat anymore. After Red Hat 9, Red Hat ceased to produce a desktop version and now supports the community driven Fedora Core project.

But, as for your CD rom problem, do two things. First make sure there is an entry for your cd rom in the /etc/fstab file. It should look something like this:

Quote:
/dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/hda /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0
Note that this entry is /media/cdrecorder, which is how the newer versions of Fedora and Red Hat show this device, but in Red Had 7 it should be seen as /dev/cdrom, I believe.

If you find this entry (or something like it), the from a terminal as root type:

Code:
root@localhost# mount -v  /dev/cdrom
If you get no errors, try using a cd in the drive. If you get errors, post them back here to get more help.

Hope this helps

Bob
 
Old 05-15-2006, 06:23 PM   #3
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
The driver may be instructed to ignore, it is the correct term. I've never worked with ignoring drives and such but if you search Google for ` linux ignore cdrom ` (do not surround that in quotes), you will find information relevant to your problem.

In the meantime, you may want to try opening up the console (terminal) and, as root (or possibly with sudo, whichever makes sense to you), type ` mount /dev/cdrom /mnt/cdrom `, if it says mnt/cdrom doesn't exist, type ` mkdir /mnt/cdrom ` (as root or with sudo) and try the mount command again. I believe the ignore command is used to ignore ATA devices, such as hdb or hdd, things like that.
 
Old 05-15-2006, 07:01 PM   #4
philc
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
First off, thanks for the advice.

I tried running the mount command (with several different CDs in the drive) and it tells me "mount: No medium found"

There is a line about the cdrom in my /etc/fstab file. Which looks like this:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdd1 /home2 ext3 defaults 1 2

I tried changing the '/mnt/cdrom' to '/dev/cdrom' but I got the same message.

Also, and I kind of doubt it's related, when I take a cd out, it seems pretty hot.

Thanks again.
Phil
 
Old 05-15-2006, 07:18 PM   #5
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
/mnt/cdrom is the mount point, /dev/cdrom is the actual cd-rom device. CD's can get pretty hot, that is normal

/dev/cdrom is just a symbolic link to some other access point (cdrom is easier to remember, though). You may want to do some checking, somebody else will have to help out here, and make sure that it is, indeed, pointing to the correct drive with ls -l /dev/cdrom.

Trying various devices such as:

/mnt/hdd
/mnt/hdb
etc.

may shed some light on the problem.

Last edited by flower.Hercules; 05-15-2006 at 07:41 PM.
 
Old 05-16-2006, 03:40 AM   #6
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Try this from the command line:

cdrecord scanbus

Note the output of this command. If you get output that looks something like this:

/dev/cdrom 3,0 (name or brand of cdrom)

then you have not damaged or removed anything. I know that certain modules can be instructed to ignore certain drivers in the /etc/modules.d file, but you have not described anything you did to cause that. I believe you would have to intentionally seek to create that circumstance.

Post the output of the above command.

Bob
 
  


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
change the background for X windows and set to fill whole screen and set screen saver eatranman Linux - Newbie 2 05-10-2006 08:41 PM
What should I do when I change out my DVD/CD ROM? Balarabay1 SUSE / openSUSE 1 04-11-2006 10:27 PM
changed driver to nvidia, can't login to X, need to change driver back to vesa how??? Fear58 Linux - Software 7 12-08-2004 12:08 AM
RPMdrake CD-rom change chalewa4bambu Linux - Software 6 05-13-2004 11:48 AM
Accidentally set Grub to advanced... edawad Linux - Newbie 2 01-09-2004 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 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