From owner-freebsd-stable@FreeBSD.ORG Sat Jan 8 01:48:15 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92FD016A4CE; Sat, 8 Jan 2005 01:48:15 +0000 (GMT) Received: from dd3.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id CABEF43D2F; Sat, 8 Jan 2005 01:48:14 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [192.168.0.5] (dsl-082-083-054-110.arcor-ip.net [82.83.54.110]) by dd3.kasserver.com (Postfix) with ESMTP id 9F5B58E3EC; Sat, 8 Jan 2005 02:47:48 +0100 (CET) Message-ID: <41DF3BDC.1040402@chillt.de> Date: Sat, 08 Jan 2005 02:48:12 +0100 From: Bartosz Fabianowski User-Agent: Mozilla Thunderbird 1.0 (X11/20050107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <41DC5554.1020702@chillt.de> <3aaaa3a050106080075c6d4a@mail.gmail.com> <41DD70FF.2020705@chillt.de> <61576.69.53.57.66.1105036519.squirrel@69.53.57.66> In-Reply-To: <61576.69.53.57.66.1105036519.squirrel@69.53.57.66> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Chris cc: stable@freebsd.org cc: obrien@freebsd.org Subject: Re: Instant reboots with CPUTYPE=pentium-m X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 01:48:15 -0000 > Note that I only see the problem when building the loader as part of a > buildworld. Compiling just the boot stuff in /usr/src/sys/boot/ (i.e., > without a bootstrapped gcc) results in a loader that works fine. Curious. Either what you are seeing is a different problem then or it somehow shows in a different way than on my system. I would be very interested in investigating this further. To find the root of the cause, I guess it would be best to compare the .s files generated for the loader when a) compiling it as part of the world and b) compiling it on its own. In both cases, CPUTYPE=athlon-xp should be set, of course. Also, you should be using the exact same GCC to eliminate the possibility that different GCC binaries behave in different ways. I am not sure how much space this would take, but if you have the space, it would be great if you could do a full buildworld with -save-temps and then a separate build of the loader, with -save-temps again. For me, one of the offending files is: /usr/obj/usr/src/sys/boot/i386/loader/bcache.s You could try diffing that file and if it shows no differences, all the other .s files in that directory. Some file must change when the loader breaks / unbreaks after all. If you can send me the diffs, I will be glad to look into it. - Bartosz