From owner-freebsd-current@FreeBSD.ORG Tue Nov 2 00:44:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B659216A4CE for ; Tue, 2 Nov 2004 00:44:15 +0000 (GMT) Received: from smtp005.bizmail.sc5.yahoo.com (smtp005.bizmail.sc5.yahoo.com [66.163.175.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D45A43D54 for ; Tue, 2 Nov 2004 00:44:15 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.208.193 with login) by smtp005.bizmail.sc5.yahoo.com with SMTP; 2 Nov 2004 00:44:15 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 4E1376139 for ; Mon, 1 Nov 2004 18:44:14 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05886-04 for ; Mon, 1 Nov 2004 18:44:10 -0600 (CST) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 62B4C6101; Mon, 1 Nov 2004 18:44:10 -0600 (CST) Received: from 69.53.57.66 (SquirrelMail authenticated user noackjr); by www.noacks.org with HTTP; Mon, 1 Nov 2004 18:44:10 -0600 (CST) Message-ID: <11418.69.53.57.66.1099356250.squirrel@69.53.57.66> In-Reply-To: <20041101000232.GC56606@dragon.nuxi.com> References: <417046E9.7090506@alumni.rice.edu> <20041031194121.FE2D.DSNOFE@yahoo.com.cn> <7559.69.53.57.66.1099229168.squirrel@69.53.57.66> <20041101000232.GC56606@dragon.nuxi.com> Date: Mon, 1 Nov 2004 18:44:10 -0600 (CST) From: "Jon Noack" To: freebsd-current@freebsd.org Cc: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at noacks.org Subject: Re: CPUTYPE?=athlon-xp breaks loader (was Re: instant reboot when trying to load recent RELENG_5 kernel) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 00:44:15 -0000 David O'Brien wrote: > 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? Sorry for the delayed response -- for some reason people tend to complain when the proxy server goes down... ;-) I get instant reboots with CPUTYPE?=p3 and CPUTYPE?=p2, but it works fine for CPUTYPE?=k6-2. I added -save-temps as you suggested but there are a lot of changes; a unified diff between the two is over 300k (for the .s files, of course). I don't have any idea what to look for in all this. If anyone is willing to check it out, I posted the diff, the directories themselves, and a gzipped tar of the directories: http://www.concordiacrusaders.org/~noackjr/ Thanks again, Jon