From owner-freebsd-current Sun Jan 17 13:36:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03035 for freebsd-current-outgoing; Sun, 17 Jan 1999 13:36:18 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from PacHell.TelcoSucks.org (PacHell.TelcoSucks.org [207.90.181.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03030 for ; Sun, 17 Jan 1999 13:36:16 -0800 (PST) (envelope-from ulf@PacHell.TelcoSucks.org) Received: (from ulf@localhost) by PacHell.TelcoSucks.org (8.9.1/8.9.1) id NAA22000; Sun, 17 Jan 1999 13:35:34 -0800 (PST) (envelope-from ulf) Message-ID: <19990117133534.F28911@TelcoSucks.org> Date: Sun, 17 Jan 1999 13:35:34 -0800 From: Ulf Zimmermann To: Robert Nordier , ulf@Alameda.net Cc: current@FreeBSD.ORG Subject: Re: possible problem with new boot loader ? Reply-To: ulf@Alameda.net References: <19990117061641.D28911@TelcoSucks.org> <199901171629.SAA26217@ceia.nordier.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199901171629.SAA26217@ceia.nordier.com>; from Robert Nordier on Sun, Jan 17, 1999 at 06:29:30PM +0200 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 3.0-19980930-BETA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 17, 1999 at 06:29:30PM +0200, Robert Nordier wrote: > 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) If I do that, it does find the loader, but the kernel panics, because it thinks root should be on da2s1a. > > 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? This are the boot loaders from last night, just after make world got through. > > -- > Robert Nordier -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message