From owner-freebsd-current@FreeBSD.ORG Sun May 29 09:02:43 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 B2F9116A41C for ; Sun, 29 May 2005 09:02:43 +0000 (GMT) (envelope-from dfr@nlsystems.com) Received: from itchy.rabson.org (mailgate.nlsystems.com [80.177.232.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4756043D1D for ; Sun, 29 May 2005 09:02:40 +0000 (GMT) (envelope-from dfr@nlsystems.com) Received: from herring.rabson.org (herring [10.0.0.2]) by itchy.rabson.org (8.13.3/8.12.11) with ESMTP id j4T92YsO051955; Sun, 29 May 2005 10:02:34 +0100 (BST) (envelope-from dfr@nlsystems.com) From: Doug Rabson To: freebsd-current@freebsd.org Date: Sun, 29 May 2005 10:02:32 +0100 User-Agent: KMail/1.8 References: <20050518051111.GA33262@Athena.infor.org> <42914446.4000203@gmail.com> <42992034.3080403@gmail.com> In-Reply-To: <42992034.3080403@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505291002.33295.dfr@nlsystems.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on itchy.rabson.org X-Virus-Scanned: ClamAV 0.83/898/Sat May 28 06:11:03 2005 on itchy.rabson.org X-Virus-Status: Clean Cc: David Gurvich Subject: Re: Newest loader from CVS not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2005 09:02:43 -0000 On Sunday 29 May 2005 02:51, Pawel Worach wrote: > Pawel Worach wrote: > > I'm seeing the same thing if CPUTYPE is set to "pentium-m" while > > > > "pentium2" works fine. Loader crashes on start, is there a way to > > make it freeze instead of reset to capture the register dump? > > Kernel/world works fine with the pentium-m CPUTYPE if booted with > > loader.old. This in on a IBM T41 with a cpu as detected below. > > > > CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class > > CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 > > Features=0xa7e9f9bf >,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> > > > > Features2=0x180 > > I did some more investigation into this and found that MMX registers > are used in the FICL code in the pentium-m case. Here is a full diff > of sys/boot built with CPUTYPE?=pentium2 and pentium-m. Sounds like you should add '-mno-sse -mno-mmx' to the compiler flags when building this bit.