LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-01-2001, 08:20 PM   #1
matt553
LQ Newbie
 
Registered: Nov 2001
Posts: 1

Rep: Reputation: 0
CDROM problem


Hi,
After upgrading to Red Hat 7.2 when I try to mount my cdrom drive I get:

mount: /dev/hdc is not a valid block device

I installed off the cdrom drive, the drive worked fine before the upgrade. I saw a few posts with this problem. Anyone know what's wrong?

when I do
dmesg | grep hdc

I get

hdc: driver not present

Maybe that'll help.

Thanks,
Matt
 
Old 11-01-2001, 10:01 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Is the CDROM really connected to /dev/hdc?

Meaning is it the Master drive on the secondary IDE controller?

Check your jumpers (or try to mount /dev/hdd and see if that works)


John
 
Old 11-03-2001, 09:35 AM   #3
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Linux drive labels

It is my understanding that Linux uses this naming practice to name the IDE devices:

hda - First IDE device (Usually primary hard disk)
hdb - Second IDE device
hdc - Third Device
hd.. - And so on to hdz ( If this really can happen I'm not sure.)


Your CD-ROM is probably hdb if you only have one hard disk.
So try mounting /dev/hdb
This probably a flaw in RedHat 7.2's detection mechanism.

Have Fun!
 
Old 11-03-2001, 10:57 PM   #4
el670005
LQ Newbie
 
Registered: Nov 2001
Posts: 2

Rep: Reputation: 0
I'm have the same problem

I know your pain. I am having the same problem and it is not because I don't know where my CDROM is connected or how redhat designates the devices. The CDROM is detected when I do the install but it goes away forever when I boot for the first time. Redhat 5.2 through 7.1 install and detect the drive just fine but 7.2 freaks out. It seems to detect it because if I list the contents of /proc/ide/hdb/model it tells me that I have an NEC CD-ROM Drive:273 (which is correct). However /proc/ide/hdb/driver just say (none). I thought it might have something to do with a DMA problem but I disabled DMA for the device and it didn't help. You might try adding the line:

/sbin/hdparm -d0 /dev/hdc

to your /etc/rc.d/rc.sysinit file. This is supposed to disable the DMA for the device. I read somewhere that this might help for some CDROMs (it didn't help me though). Good luck.
 
Old 11-08-2001, 12:41 PM   #5
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
as root enter: depmod -ae
 
Old 11-16-2001, 05:18 PM   #6
el670005
LQ Newbie
 
Registered: Nov 2001
Posts: 2

Rep: Reputation: 0
Thumbs up That worked!!!

depmod was the magic. thanks.
 
Old 11-16-2001, 05:49 PM   #7
b0b0
Member
 
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53

Rep: Reputation: 15
another place to always check is your fstab. itll tell you what all of your devices mount points are.

jason
 
Old 11-16-2001, 07:35 PM   #8
ctdp
Member
 
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
This link may help:
http://www.comptechdoc.org/os/linux/...ugdevices.html
 
Old 02-12-2002, 06:44 AM   #9
cdminister
LQ Newbie
 
Registered: Feb 2002
Posts: 1

Rep: Reputation: 0
Redhat 7.2 cdrom problems

I got nowhere with depmod -ae or any of the other fixes on the RedHat website. But moving my cdrom from the master on the 2nd IDE channel (dev/hdc) to the slave on the 1st channel (dev/hdb) did the trick.
 
Old 02-17-2002, 08:09 PM   #10
rrose42
LQ Newbie
 
Registered: Jan 2002
Location: California
Distribution: redhat linux 7.2
Posts: 22

Rep: Reputation: 15
Could this be my problem

I got 2 hard drives and an HP CDROM-Writer.

When I try to install Linux 7.2 I get the message that
my primary harddrive is hdc and my secondary harddrive is
hdf, whats going on here. Do I need change the physical
harddrive configuration. Doe'nt seem to recognize my CDROM
drive either trying to boot the Linux 7.2 installation CD.

Thanks
-Rick
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
CDRom I/O problem -- Can you help? Delphi123 Linux - Software 2 06-26-2005 02:18 PM
cdrom problem pauloco Linux - Hardware 4 05-06-2005 04:23 PM
Problem with cdrom mediolanum Linux - Hardware 2 04-18-2005 05:24 PM
cdrom problem athenerx Linux - General 1 06-25-2001 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:37 PM.

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