Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 18:29:30 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        ulf@Alameda.net
Cc:        current@FreeBSD.ORG
Subject:   Re: possible problem with new boot loader ?
Message-ID:  <199901171629.SAA26217@ceia.nordier.com>
In-Reply-To: <19990117061641.D28911@TelcoSucks.org> from Ulf Zimmermann at "Jan 17, 99 06:16:42 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Ulf Zimmermann wrote:

> Not sure if I am just to stupid or if this is a bug. My system has
> 2 IDE drives and then several SCSI drives. FreeBSD is on the first
> scsi drive, so da0. Root is da0s1a. Bios sees the drive as the 3.
> 
> When the new boot loader comes up with no /boot.config, it prints
> 2:da(2,a)/boot/loader, which isn't right, as it should be 2:da(0,a).
> If I now press a key and enter 2:da(0,a), it complains it can't find
> /boot/loader. Entering 2:da(0,a)/kernel works fine and that is
> what i have now in my boot.conf.
> 
> Could this be a bug or not?

There are two issues here:

    o  The bootblocks get the SCSI unit number wrong in cases where
       IDE drives are also attached.

       This is to be expected.  There is just insufficient space
       available to the bootblocks for "smarter" logic.

       The old bootblocks have a build setting BOOT_HD_BIAS to work
       around this problem.  The new bootblocks rely on /boot.config.
       You can have

	   2:da(0,a)

       in /boot.config (ie. without a kernel name) to override just
       the unit number.

    o  The /boot/loader program just isn't being found.

       Are you sure this actually exists?  What shows up if you
       enter

	   2:da(0,a)/boot/?

       (to get a directory listing of /boot) at the "boot:" prompt?

Incidentally, do these bootblocks contain the BTX patch I sent you,
or did you find some other way around that problem?

-- 
Robert Nordier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901171629.SAA26217>