Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 1999 09:12:30 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        peter.jeremy@auss2.alcatel.com.au (Peter Jeremy)
Cc:        mike@smith.net.au, current@FreeBSD.ORG
Subject:   Re: Problem loading 2.x kernel with new bootblocks
Message-ID:  <199901220712.JAA15866@ceia.nordier.com>
In-Reply-To: <99Jan22.144456est.40356@border.alcanet.com.au> from Peter Jeremy at "Jan 22, 99 02:45:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote:
> Mike Smith <mike@smith.net.au> 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



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