From owner-freebsd-stable@FreeBSD.ORG Fri Jan 7 16:09:12 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 1488416A4CE; Fri, 7 Jan 2005 16:09:12 +0000 (GMT) Received: from haanjdj.demon.nl (haanjdj.demon.nl [82.161.5.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id A34F243D48; Fri, 7 Jan 2005 16:09:11 +0000 (GMT) (envelope-from derkjan@haanjdj.demon.nl) Received: from localhost (localhost [127.0.0.1]) by haanjdj.demon.nl (Postfix) with ESMTP id 50E111C0819; Fri, 7 Jan 2005 17:09:10 +0100 (CET) Received: from haanjdj.demon.nl ([127.0.0.1]) by localhost (haanjdj.demon.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00804-06; Fri, 7 Jan 2005 17:08:58 +0100 (CET) Received: from bogomip (bogomip.badmuts.org [192.168.2.1]) by haanjdj.demon.nl (Postfix) with SMTP id 06BF51C0817; Fri, 7 Jan 2005 17:08:57 +0100 (CET) Message-ID: <009701c4f4d3$32d652c0$0102a8c0@bogomip> From: "Derkjan de Haan" To: , "Bartosz Fabianowski" References: <41DC5554.1020702@chillt.de> <3aaaa3a050106080075c6d4a@mail.gmail.com> <41DD70FF.2020705@chillt.de> <61576.69.53.57.66.1105036519.squirrel@69.53.57.66> Date: Fri, 7 Jan 2005 17:08:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: amavisd-new at haanjdj.demon.nl 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: Fri, 07 Jan 2005 16:09:12 -0000 ----- Original Message ----- From: "Jon Noack" To: "Bartosz Fabianowski" Cc: "Chris" ; ; Sent: Thursday, January 06, 2005 7:35 PM Subject: Re: Instant reboots with CPUTYPE=pentium-m > Bartosz Fabianowski wrote: >>> I use the athlon-xp switch on 3 boxes with no problems all of them >>> running 5.3 >> >> What CFLAGS are you using? I have CFLAGS=-O -pipe in my make.conf. Maybe >> you have optimization turned off and that's making a difference? > > I reported the problem with the athlon-xp. My /etc/make.conf looks like > the following (when I wish to kill the loader and experience instant > reboots, that is ;-): > > CPUTYPE?= athlon-xp > CFLAGS= -O -pipe > COPTFLAGS= -O -pipe > > 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. Thus, I > think defining CPUTYPE results in a gcc that produces a bad loader. Mentioning athlon-xp sparked my interest... One of my systems is unstable under load when compiled with CPUTYPE?= athlon-xp, but not with i686. This typically manifests itself as segmentation faults or ICE errors at random places during compile jobs. The bootloader seems always fine however. regards, Derkjan