Click to See Complete Forum and Search --> : /dev/cdrom is not a valid block device


gordon
03-16-2002, 08:05 PM
Help me before I reinstall again.

Ultimately I want to mount ntfs.

Short term I want to recompile to add ntfs

Immediate problem:
I get subject message when I try to mount cdrom.

dmesg | grep hd

shows
hda....
hdb....
hdc CD-916E/ATK, ATAPI CD/DVD-ROM drive
.
.
.
hda: hda1 hda2 < hda5 > hda3
hdb: hdb1 hdb2 hdb3
hdc: driver not present
repeated six times


ls -l /dev/cdrom
shows
................ /dev/cdrom -> /dev/hdc

fstab has
/dev/cdrom /dev/cdrom iso......

Can/should I manually change fstab?

Places to look?

By the way this looks like the most "user friendly" Linux site I've found.

Thanks

Whipping Boy
03-16-2002, 08:11 PM
Do you have ATAPI support compiled into your kernel?

gordon
03-16-2002, 08:17 PM
Here we go...

How do I tell if I have ATAPI support compiled into the kernel?

During the last reinstallation of RH 7.2 I installed
workstation and attempted to add some
other packages -> hoping to miss out on recompiling right now to get ntfs

previous workstation installs always gave me cdrom support

mdwatts
03-17-2002, 09:35 AM
Does lsmod show modules such as cdrom and ide-cd?

What is the fstab entry for your cdrom?

Does

mount -t iso9660 /dev/hdc /mnt/cdrom

still give you the error message?

gordon
03-17-2002, 12:22 PM
lsmod shows nothing specific to "cdrom" nor "ide-cd"

it shows: nls_iso8859-1,ls_cp437, vfat, fat, binfmt_misc, autofs, 3c509, ext3, and jbd

fstab has
/dev/cdrom /dev/cdrom iso......

mount -t iso9660 /dev/hdc /mnt/cdrom
gives the same type of error:
/dev/hdc is not a valid....


Maybe I don't have the patience for this. I'm going to reinstall again.

Thanks for the help. Maybe I'll learn something to contribute.

bigrigdriver
03-17-2002, 01:20 PM
Unless I'm way off base, that fstab entry should read /dev/hdc /mnt/cdrom instead of /dev/cdrom /dev/cdrom.

Linuxcool
03-18-2002, 06:25 AM
Try running as root depmod -ae and then mount -t iso9660 /dev/hdc /mnt/cdrom.

[ 18 March 2002: Message edited by: Linuxcool ]

gordon
03-18-2002, 05:18 PM
Thank you.

That appears to have worked. Now I have to understand why.

By the way, it didn't work on the original machine/installation --> I had already reinstalled. But I tried it separately and the depmod worked.

Thanks again.

xh3f
03-19-2002, 04:03 PM
This is a known bug for redhat 7.2. After fresh install of redhat 7.2, type depmod -ae and you will not be having that kind of error for good. It appears redhat 7.1 doesn't have this bug.

Linuxcool
03-20-2002, 05:59 AM
You're welcome. :)