From owner-freebsd-current@FreeBSD.ORG Mon May 9 04:27:56 2005 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 8BB6216A4E6 for ; Mon, 9 May 2005 04:27:56 +0000 (GMT) Received: from smtp818.mail.sc5.yahoo.com (smtp818.mail.sc5.yahoo.com [66.163.170.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F45543D60 for ; Mon, 9 May 2005 04:27:56 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.205.64 with login) by smtp818.mail.sc5.yahoo.com with SMTP; 9 May 2005 04:27:55 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id E9426610C; Sun, 8 May 2005 23:27:54 -0500 (CDT) 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 75608-01; Sun, 8 May 2005 23:27:53 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 5B4C960F4; Sun, 8 May 2005 23:27:53 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.3/8.13.3) with ESMTP id j494Rrrq001747; Sun, 8 May 2005 23:27:53 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <427EE6C4.3040100@alumni.rice.edu> Date: Sun, 08 May 2005 23:27:48 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Gurvich References: <200505081529.31238.david.freebsd@verizon.net> <427EDFB4.3070309@alumni.rice.edu> <200505082319.22161.david.freebsd@verizon.net> In-Reply-To: <200505082319.22161.david.freebsd@verizon.net> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig237CD97BE8799CAA4C21782B" X-Virus-Scanned: amavisd-new at noacks.org cc: freebsd-current@freebsd.org Subject: Re: loader causes reboot 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: Mon, 09 May 2005 04:27:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig237CD97BE8799CAA4C21782B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/08/05 22:19, David Gurvich wrote: > On Sunday 08 May 2005 23:57, Jonathan Noack wrote: >>On 05/08/05 14:29, David Gurvich wrote: >>>cdrom /boot/loader from 5.3 has no problem. However, after updating >>>world from kernel, /boot/loader is replaced with cvs version. This one >>>goes into endless cycle of reboots. When replaced with /boot/loader from >>>cdrom boots normally. >> >>Are you setting CPUTYPE? A few people have reported an endless reboot >>with the athlon-xp or pentium-m settings. I experience this on my >>athlon-xp and the only workaround I've found is just to not set CPUTYPE. >> This problem is way beyond my feeble skills to track down and fix, but >>it doesn't seem to affect many people and no one has stepped up to >>resolve it. As it is easily worked around, I've brought it up a few >>times but haven't made too big of a fuss. Come to think of it, why >>didn't I ever open a PR? Hmm... perhaps I'll do that at work tomorrow >>(this is on a machine at work). > > I am setting CPUTYPE?=athlon-xp > I never considered that might be the cause. If it is then there is clearly a > bug in the configuration of the loader. Perhaps when the loader is being > compiled it should use the most basic flags possible for just that. Please don't top post. There was an attempt to resolve this issue a few months ago. The commit was rev. 1.10 of src/sys/boot/i386/Makefile.inc and the log message was, "Ensure GCC does not use FP registers in integer code." This fix was MFC'd to RELENG_5 a day later and is present in 5.4. For the life of me I can't remember if I tested the change when it was made. I think it didn't work for me, but I'll test it again tomorrow. -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig237CD97BE8799CAA4C21782B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCfubJUFz01pkdgZURAplWAKCy515By9hafneiOnlAtJ7jxBP5FQCeJi97 7u2CSIkYn5bgldWYMHRme4g= =YlCX -----END PGP SIGNATURE----- --------------enig237CD97BE8799CAA4C21782B--