From owner-freebsd-stable@FreeBSD.ORG Tue Apr 18 16:51:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 9FB5816A408 for ; Tue, 18 Apr 2006 16:51:13 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from mail.clickfox.com (cffw1.clickfox.com [72.16.213.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3BD043D48 for ; Tue, 18 Apr 2006 16:51:12 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) X-PMWin-Spam: Gauge=IIIIIIII, Probability=8%, Report='__HAS_MSGID, __SANE_MSGID, __MIME_VERSION, __CT, __CTYPE_CHARSET_QUOTED, __CT_TEXT_PLAIN, __CTE, __MIME_TEXT_ONLY' thread-index: AcZjCORX3i7mF6w4SdmzLxGkXJZz7A== X-PMWin-Version: 2.5.1s, Antispam-Engine: 2.1.0.0, Antivirus-Engine: 2.32.14 Received: from [10.20.30.156] ([72.16.213.34]) by mail.clickfox.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 18 Apr 2006 12:55:26 -0400 Message-ID: <444518FF.10300@alumni.rice.edu> Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663 Date: Tue, 18 Apr 2006 12:51:11 -0400 From: "Jonathan Noack" User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Evren Yurtesen" References: <20060417120045.B89BD16A4E1@hub.freebsd.org> <20060417222323.GA26669@ns.museum.rain.com> <44448CEF.6070701@ispro.net.tr> In-Reply-To: <44448CEF.6070701@ispro.net.tr> Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Apr 2006 16:55:26.0704 (UTC) FILETIME=[E441BF00:01C66308] Cc: James Long , freebsd-stable@freebsd.org Subject: Re: CPUTYPE=athlon-xp and loader X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 16:51:18 -0000 Evren Yurtesen wrote: > James Long wrote: >>> Date: Sun, 16 Apr 2006 17:43:58 +0300 >>> From: Evren Yurtesen >>> Subject: CPUTYPE=athlon-xp and loader >>> To: freebsd-stable@freebsd.org >>> Message-ID: <4442582E.9030507@ispro.net.tr> >>> >>> Hello, >>> >>> I have a problem which I have found out from mailing lists that some >>> other people had. However there is no clear solution. >>> >>> The CPUTYPE=athlon-xp in make.conf breaks /boot/loader that system >>> instant reboots. I am using 6-stable and from what I can see the >>> problem goes back till about 5.3... Sometime between Oct 12-15, 2005 >>> >>> http://archive.netbsd.se/?ml=freebsd-current&a=2004-10&m=435817 >>> >>> I wonder if this will ever be fixed or I shouldnt use >>> CPUTYPE=athlon-xp anymore on FreeBSD because of this? >>> >>> Thanks, >>> Evren >> >> I don't propose this as a solution, but as far as I know, the best >> practice is: >> >> CPUTYPE?=athlon-xp >> >> Note the question mark. >> >> I don't know that this will solve your problem, just pointing out >> the correct syntax, for whatever CPUTYPE you decide to use. > > Doesnt the ? mean that it should be set if it is not set yet? I can give > it a try to this, next time I build world however I dont think that it > will compile loader without cputype athlon-xp set so... Huh? CPUTYPE is optional. Everything should compile and work without it. > I just thought that loader doesnt need to be so optimized anyhow. It is > more important that it loads at boot and there are people on this list > who has problems with the optimizations and I found some more on google. > So the best is to either fix the code in loader or do not optimize it. Yeah, like me. I was the one who originally reported this problem. But over a year ago there was an attempt to fix the code by not optimizing it. This resolved the problem for me. -Jonathan