From owner-freebsd-current Thu Jan 21 23:14:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01877 for freebsd-current-outgoing; Thu, 21 Jan 1999 23:14:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m1-49-dbn.dial-up.net [196.34.155.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01867 for ; Thu, 21 Jan 1999 23:14:49 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id JAA15866; Fri, 22 Jan 1999 09:12:32 +0200 (SAT) From: Robert Nordier Message-Id: <199901220712.JAA15866@ceia.nordier.com> Subject: Re: Problem loading 2.x kernel with new bootblocks In-Reply-To: <99Jan22.144456est.40356@border.alcanet.com.au> from Peter Jeremy at "Jan 22, 99 02:45:33 pm" To: peter.jeremy@auss2.alcatel.com.au (Peter Jeremy) Date: Fri, 22 Jan 1999 09:12:30 +0200 (SAT) Cc: mike@smith.net.au, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: > Mike Smith wrote: > >> The kernel has been built with gcc-2.8.1 -O2. > > > >Please rebuild with the system compiler and -O at most. > > It makes no difference. The kernel loads and runs happily from the > old bootloader, but crashes with /boot/loader. (I disabled my > gcc-2.8.1, changed make.conf to -O, re-ran config; make depend; make; > make install). > > Something that `fell off' my previous posting (it was implied in the > context of my original posting): > > Both disks have Booteasy installed. wd0 has the old bootblocks > (from 2.2.6-RELEASE) and FreeBSD 2.x installed on slice 2. wd2 > has the new bootblocks and 3.0-current built from CTM 'cvs-cur 4996' > occupying all of slice 1 (which is all of the disk). > > The boot sequences are: > disk0 booteasy offers: W95, FreeBSD, Disk1: > - select FreeBSD and 2.x boots successfully > - select `disk1' and the disk1 booteasy offers: BSD, disk0 > > Select BSD and the new /boot/loader comes up. If I let it continue, I > wind up with the 3.0 (customised, ELF) kernel booting successfully. > > If I abort /boot/loader's autostart (giving me a prompt), then (as per > Peter Wemm's elfday tutorial) issue the commands: > set currdev=disk1s2a > load /kernel > boot -s > the system displays garbage on the screen and doesn't respond to anything > gentler than the reset button. > > If I load the GENERIC 2.2.6-RELEASE kernel, ("load /kernel.GENERIC" above) > then it works. > > Any suggestions as to my next step? Please e-mail me a copy of the kernel (or put it up for ftp, if you prefer), and I'll take a look. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message