On 7/20/06, don <[EMAIL PROTECTED]> wrote:
I used to have a simllar problem with yours, I've got a SATA hard disk, and a CDROM, that are recognized as /dev/sda , /dev/hda respectively. the /dev/hda would not work, it complains that the /dev/hda is not a block device....
I have a system with an SATA hard drive, and two IDE cdroms.
The kernel sees them as shown by these lines in /var/log/messages
==============================================================================
Jul 7 21:19:31 reid1 kernel: hda: SONY DVD-ROM DDU1615, ATAPI CD/DVD-ROM drive
Jul 7 21:19:31 reid1 kernel: hdb: SONY DVD RW DW-Q120A, ATAPI CD/DVD-ROM drive
Jul 7 21:19:31 reid1 kernel: hda: ATAPI 40X DVD-ROM drive, 1725kB Cache, UDMA(33)
Jul 7 21:19:31 reid1 kernel: hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
==============================================================================
However there are no devices files /dev/cdrom or /dev/cdroms/.
There are also no files /proc/ide/hda or /proc/ide/hdb.
I am trying to use udev, and installed the udev package. Packages I have
installed include:
==============================================================================
sys-apps/coldplug-20040920-r1
sys-apps/hotplug-20040923-r2
sys-apps/hotplug-base-20040401
sys-fs/device-mapper-1.02.07
sys-fs/sysfsutils-1.3.0-r1
sys-fs/udev-087-r1
==============================================================================
I haven't touched the various config files (like the udev rules).
The kernel is 2.6.16-gentoo-r12. I've gone through many documentation
web pages and think I have all the right options selected.
I'll attach the full list of packages, and kernel config.
USB storage devices are dectected, and auto mounted fine.
Thanks for any help
Don Reid
well, if that's exactly what your problem is, try these:
>> change your BIOS settings, make your ide devices displays at the top of you device >> list, that is, your CDROMs shows before your hard disk.., or do the reverse..
>> or try to add a kernel options in your grub.conf. something like this:
>> kernel (hd0,6)/kernel-2.6.13-gentoo-r13 irqpoll root=/dev/sda9
can't remember all details now, hope that helps.. good luck..
daniel