From owner-freebsd-current@FreeBSD.ORG Tue Aug 16 17:50:15 2005 Return-Path: X-Original-To: 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 C173A16A41F; Tue, 16 Aug 2005 17:50:15 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D9C343D46; Tue, 16 Aug 2005 17:50:14 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Tue, 16 Aug 2005 14:05:11 -0400 From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 16 Aug 2005 13:39:48 -0400 User-Agent: KMail/1.8 References: <20050813221234.GA23162@nargothrond.kdm.org> In-Reply-To: <20050813221234.GA23162@nargothrond.kdm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508161339.49986.jhb@FreeBSD.org> Cc: "Kenneth D. Merry" , current@freebsd.org Subject: Re: BTX problems 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: Tue, 16 Aug 2005 17:50:16 -0000 On Saturday 13 August 2005 06:12 pm, Kenneth D. Merry wrote: > > I just updated a machine from -current as of late March to -current as of > last night, and I'm having trouble booting it. > > It's a dual 1GHz Pentium III box, Supermicro 370DE6 motherboard. > (Serverworks chipset.) It is booting off of an onboard Adaptec 7899. > > When I try to boot it, I get some BTX errors and BTX halts: > > http://people.freebsd.org/~ken/btx_halted.20050813/IMG_4943.JPG > http://people.freebsd.org/~ken/btx_halted.20050813/IMG_4944.JPG > > (Same information, the first one was taken with flash and is a little more > washed out, the second one is taken without flash and is therefore a tad > more blurry.) > > The loader from March works fine, but the new one fails. It's 100% > repeatable. > > Anyone have any ideas what's going on? int=00000005 err=00000000 efl=00010a17 eip=36f63583 eax=00032174 ebx=0384c000 ecx=0005c360 edx=0002e7e6 esi=32034048 edi=00000022 ebp=000384c0 esp=ca083384 cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip=62 63 2f 6c 6f 63 61 6c-65 2f 6c 6d 6f 6e 65 74 61 72 79 2e 63 2c 76 20-31 2e 31 32 2e 32 2e 32 ss:esp=ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff BTX halted Well, your stack is way off in the weeds and so is your instruction pointer, so I'm not sure what else you can do there. It's executing a string, so little surprise that it eventually faulted: > echo " 62 63 2f 6c 6f 63 61 6c-65 2f 6c 6d 6f 6e 65 74 61 72 79 2e 63 2c 76 20-31 2e 31 32 2e 32 2e 32" | tr '-' ' ' | sed -e 's/ / 0x/g' | dh | hd 00000000 62 63 2f 6c 6f 63 61 6c 65 2f 6c 6d 6f 6e 65 74 |bc/locale/lmonet| 00000010 61 72 79 2e 63 2c 76 20 31 2e 31 32 2e 32 2e 32 |ary.c,v 1.12.2.2| 00000020 There haven't been a whole lot of changes. My guess would be the recently added smbios support. You can probably just comment out the call to smbios_detect() in sys/boot/i386/loader/main.c as a simple test for that. It could also possibly be the multiple console support in which case it would be easiest to just step your sys/boot tree back using CVS. The good news is that sys/boot is largely self-contained so you can step it back while keeping the rest of the tree up to date for testing purposes at least. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org