LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RH 7.2 Mounting Issue (https://www.linuxquestions.org/questions/linux-software-2/rh-7-2-mounting-issue-7983/)

santiagodelgado 10-26-2001 01:44 PM

RH 7.2 Mounting Issue
 
I just installed RH 7.2 and for some reason when I try to:

mount /mnt/cdrom

I get an error saying:
mount: /dev/cdrom is not a valid block device

The Cd-Rom has a Cd inside of it, and for heavens sakes, I installed the distribution using it. The information refering to the Cd-Rom is in the /etc/fstab so the system has to have recognized it.

Any suggestions?

Thanks!

mcleodnine 10-26-2001 03:06 PM

Do you know which device your CD-ROM is on the system (/dev/hdb, /dev/hdc, etc...)? If so, just try to mount it using
Code:

mount /dev/hdX /mnt
just to see that you can mount the device.

If you could post your /etc/fstab swomeone here should be able to give a hint or two as to how to get your cdrom mountable.

acid_kewpie 10-26-2001 03:28 PM

check

ls -l /dev/cdrom

which will tell you what the pretend device actually points to.

to find more info about what hardware is known to your system, have a nose around

/proc/ide/hdX

cat everythign in sight, it's all plaintext, and you should be able to verify that the hard drive is properly located as an IDE deivce

santiagodelgado 10-26-2001 05:51 PM

A cat named (none)
 
I cat'ed all of the files and for the one that was called "driver" all that was there was line saying:

(none)

It seems I have a Matshita CR-581. That's about all the information I could get. Do you know how I could go around looking for the driver?

Thanks!

acid_kewpie 10-26-2001 06:07 PM

standard cdroms don't need drivers, jsut liek a harddrive doesn't need one. they are very standard devices, so a general integrated driver is used.

so, you should know where teh drive is, so

mount /dev/hdX /mnt/cdrom

or whatever...

acid_kewpie 10-26-2001 06:08 PM

standard cdroms don't need drivers, jsut liek a harddrive doesn't need one. they are very standard devices, so a general integrated driver is used.

so, you should know where teh drive is, so

mount /dev/hdX /mnt/cdrom

or whatever...
hmmm, that's a bit of a slow drive isn't it? i've an 8x CR-583, and it really sucks. *might* be an issue with it.. unlikely tho


--edit
oh actually, my driver file does list

[root@simon chris]# cat /proc/ide/hdd/driver
ide-cdrom version 4.59

bugger....

benzoid 10-29-2001 06:17 AM

You might have a cdrom drive that is "blacklisted" in the ide-dma driver in the kernel. This happened to me and after three days I found out the problem (and how to fix it).
I had "(none)" in the /proc/ide/hdb/driver file.

To fix it, turn off DMA on the cdrom drive, e.g.

/sbin/hdparm -d0 /dev/hdb

If this works, then the contents of the driver file should change immediately.
Put it in /etc/rc.d/rc.local for it to happen automatically at bootup.

Good luck!

Ben


All times are GMT -5. The time now is 06:33 PM.