Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 01:48:06 -0800 (PST)
From:      "Jason K. Fritcher" <jkf@wolfnet.org>
To:        Michael Smith <msmith@mass.dis.org>
Cc:        Danny Braniss <danny@cs.huji.ac.il>, <freebsd-stable@freebsd.org>
Subject:   Re: pxeboot btx halted problem 
Message-ID:  <20020123013103.L70323-100000@outreach.wolfnet.org>
In-Reply-To: <200201230055.g0N0tUd03639@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020123013103.L70323-100000>