Re: sda misreported as hda

From: Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil)
Date: Mon Jun 12 2000 - 08:05:02 EST


Ben Ford <ben@kalifornia.com>:
> This is a multi-part message in MIME format.
> --------------E9369181867A80AF5A8CB493
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> I have a box (all SCSI except ide-cdrom) that I am trying to install.
> Everything goes ok, except lilo thinks the root partition is hda rather
> than sda. Consequently, I cannot boot the system, which makes me very
> cranky =) During boot, I see odd messages about hda - hdc, which don't
> even exist. It says hda - no response, resetting.
>
> This behaviour persists even if I specify "root=/dev/sda1 hda=none,
> hdb=none, hdc=none" at boot time.
>
> The only way I can use the box is by building a no-ide kernel, but then
> I lose out on the cdrom . . . . .. Certainly I'm not the first guy to
> build an all SCSI-but-ide-cdrom box???
>
> The comment below may be of some help.
>
> -b
>
>
> >From drivers/ide/ide-geometry.c (2.4ac14)
>
> */
> /*
> * I did this, but it doesnt work - there is no reasonable way to find
> the
> * correspondence between the BIOS numbering of the disks and the Linux
> * numbering. -aeb
> *
> * The code below is bad. One of the problems is that drives 1 and 2
> * may be SCSI disks (even when IDE disks are present), so that
> * the geometry we read here from BIOS is attributed to the wrong disks.
>
> * Consequently, also the "drive->present = 1" below is a mistake.
> *
> * Eventually the entire routine below should be removed.
> */

Try building the IDE as a module. That way the boot kernel doesn't have
IDE installed, and you get to use the IDE CD after booting.

I've had the opposite problem -- A SCSI boot system that can't handle
the IDE drive for a dual boot IDE/SCSI (IDE = M$, SCSI=Linux).

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:25 EST