Re: Kernel "probable bad entry for /dev/hdc" w/ LILO 0.19

Sameer Anja (sameer@securities.com)
Mon, 16 Jun 1997 03:15:02 -0400 (EDT)


Ur /dev/hdc is being taken as the CD Rom!!
Just unplug the cd-rom and try to boot with hdc as the hdd.
Also, try to fdisk..have you added the HDD entry to mstab??
if yes remove it and just tryo to boot it normally.
Also, try to autodetect the hdd at the setup and see what happens..
-sam

"The woods are lovely, dark and deep, but I have lots and lots of promises to keep
and miles to go before I sleep, miles to go before I sleep."

On Sun, 15 Jun 1997, Greg Patterson wrote:

> Date: Sun, 15 Jun 1997 23:39:56 -0400 (EDT)
> From: Greg Patterson <gomer@gomer.mlink.net>
> To: Linux Kernel Mailing-list <linux-kernel@vger.rutgers.edu>
> Subject: Kernel "probable bad entry for /dev/hdc" w/ LILO 0.19
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> I am trying to convince my Linux kernel to boot with a 3rd EIDE drive
> added to my system. My system is set-up as follows:
>
> * AHA-2940UW controller with a 1.08gb SCSI-2 drive containing root
> partition for Linux.
>
> * On Primary IDE as Master (/dev/hda): 1.08gb EIDE drive containing
> Windows 95/NT 4.0/Linux Kernel 2.0.x zImage files and
> miscellaneous LILO boot files.
>
> * On Primary IDE as Slave (/dev/hdb): 3.1gb EIDE drive containing
> the /home and swap partitions.
>
> * On Secondary IDE as Master (/dev/hdc): 1.7gb EIDE drive containing
> more Linux partitions.
>
> * On Secondary IDE as Slave (/dev/hdd): NEC CD-ROM.
>
> When the system boots, the NT boot loader comes up with options to go
> "Linux", "Windows NT", "Windows 95". If "Linux" is chosen, then LILO
> comes up. Before adding the new 3.1gb drive, everything was working fine.
> After adding the drive, LILO stops with "LI".
>
> I am pretty sure that the drive translations for all the drives are good
> (all set to LBA). The proper HD sizes are recognized by all the drives
> while the system is booting (BIOS messages).
>
> I'm not trying to boot off of the 3rd drive. I just want to use it for
> file storage, etc. so I don't understand why LILO is complaining about
> having this 3rd drive. Currently the only way I can get into Linux is
> through a floppy boot disk.
>
> I get the following when running /sbin/lilo:
>
> Jun 15 22:32:03 gomer kernel: ide: probable bad entry for /dev/hdc
> Jun 15 22:32:03 gomer kernel: ide: to fix it, run:
> /usr/src/linux/scripts/MAKEDEV.ide
>
> These messages are coming from linux/drivers/block/ide.c. Even with these
> warnings I can access all the drives fine.
>
> Some of the /dev/hd* entries are as follows:
>
> brw-rw---- 1 root disk 3, 0 Jun 13 21:08 hda
> brw-rw---- 1 root disk 3, 1 Jun 13 21:08 hda1
> brw-rw---- 1 root disk 3, 64 Jun 13 21:08 hdb
> brw-rw---- 1 root disk 3, 65 Jun 13 21:08 hdb1
> brw-rw---- 1 root disk 22, 0 Jun 13 21:08 hdc
> brw-rw---- 1 root disk 22, 1 Jun 13 21:08 hdc1
> brw-rw---- 1 root disk 22, 64 Jun 13 21:08 hdd
> brw-rw---- 1 root disk 22, 65 Jun 13 21:08 hdd1
>
> These match what MAKEDEV.ide script produces.
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2
> Comment: PGP Signed with PineSign 2.0
>
> iQCVAwUBM6S1hbHhZuVGzoHdAQE2EQP8ClzrqBZwIThwlD6Qn0DsTztaCAfuAxuW
> K+WOVF1Wgy86RWjQ3RDqgix/6MuQdDyGYSA+LRdvG+Em5pOjhxvo/yhRW9hw0Mth
> YNgJQk/gyMt0ucioRWWmkDgKFrE/kKCsroGSadJhoi9JcSs2lyHj9+2uNQUlWfxs
> Hp6t+3n58XI=
> =FVcz
> -----END PGP SIGNATURE-----
>
> ================================================================
> | Greg Patterson | EMAIL: gomer@gomer.mlink.net |
> | | gomer@mlink.net |
> | Move over Microsoft, | IRC: Wizird (#Linux) |
> | Linux is here to stay. | WWW: http://gomer.mlink.net/~root |
> ================================================================
>
>