From owner-freebsd-stable Wed Jan 23 1:49:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from outreach.wolfnet.org (CBL-jkfritcher1-a.hs.earthlink.net [207.217.171.200]) by hub.freebsd.org (Postfix) with ESMTP id F0F4537B405 for ; Wed, 23 Jan 2002 01:49:28 -0800 (PST) Received: from outreach.wolfnet.org ([10.0.0.2]) by outreach.wolfnet.org with esmtp (Exim 3.33 #1) id 16TK0m-000IJu-00; Wed, 23 Jan 2002 01:48:08 -0800 Date: Wed, 23 Jan 2002 01:48:06 -0800 (PST) From: "Jason K. Fritcher" To: Michael Smith Cc: Danny Braniss , Subject: Re: pxeboot btx halted problem In-Reply-To: <200201230055.g0N0tUd03639@mass.dis.org> Message-ID: <20020123013103.L70323-100000@outreach.wolfnet.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 22 Jan 2002, Michael Smith wrote: > If you've rebuilt pxeboot, you can use one of the intermediate files to > track down the actual location in pxeboot where the trap is occurring. > > Given that cs is 0x002b, I think you're in pxeboot itself and not off in > the BIOS. So track down the loader.sym file and try: > > nm --numeric-sort loader.sym > > and look for the function that contains 0x0001af8b. This should help > narrow things down a bit. Thank you so much. I now know what my problem is. 0x1af8b resides within vsprintf. The int=6 part of the btx dump indicated what I had hoped it didn't... an invalid opcode exception. Disassembling loader.sym and looking at that address reveals this instruction... 1af8b: 0f 44 75 10 cmove 0x10(%ebp),%esi Which after looking in the IA32 instruction set reference, it appears this is a P6 instruction. Unfortunately, the code I'm building is going to be run on a P5 cpu. Also unfortunate is the fact that the machine I'm building this one build with i686 optimizations. I didn't think the boot loaders were linked against the system libraries. Time to either figure out how I can rebuild the libraries loader needs or I need to do another make world with only i586 optimizations. Thanks again. -- Jason K. Fritcher jkf@wolfnet.org -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d-() s+:++ a- C+++() UB++++S+++$ P++(-) L- !E W+(--) N++(+) o? K? w--() O M- V-- PS+>+++ PE Y+ PGP(++) t+@ 5 X+ R>+ tv+(--) b+>++ DI+ D++ G e>+++ h---- r+++ y+++ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message