Re: CPUTYPE?=athlon-xp breaks loader (was Re: instant reboot when trying to load recent RELENG_5 kernel)

From: David O'Brien <obrien_at_freebsd.org>
Date: Sun, 31 Oct 2004 16:02:32 -0800
On Sun, Oct 31, 2004 at 07:26:08AM -0600, Jon Noack wrote:
> On up-to-date RELENG_5_3, compiling the loader with CPUTYPE?=athlon-xp
> results in an instant reboot when the loader attempts to load a kernel. 
> As the loader will preload the default kernel before presenting the boot
> prompt, there is a reboot before you even get to the boot prompt...  The
> end result is an unworkable install.  I do not see this issue on my
> Pentium III and Pentium IV systems (using "p3" and "p4" for CPUTYPE,
> respectively), although there is a similar problem reported on a Pentium M
> (have not verified CPUTYPE is being used, however).
> 
> I first noticed this issue on October 15th.  My previous build on October
> 12th worked fine.  At the time I was tracking RELENG_5, but prior to that
> I was tracking HEAD.

I use CPUTYPE=athlon-xp and last rebuilt world+kernel on Oct 19th and
don't see this problem.  Add -save-temps to your CFLAGS and build both
with and without CPUTYPE=athlon-xp and look for what the differences are.
You'll have to save the loader /usr/obj directory between runs.

If on your Athlon system you use CPUTYPE=penitum3 or penitum2, do you
also see the problem?  What about using CPUTYPE=k6-2?

-- 
-- David  (obrien_at_FreeBSD.org)
Received on Sun Oct 31 2004 - 23:02:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC