Subject: Re: New boot blocks recently?
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: port-i386
Date: 01/28/2003 17:10:03
On Tue, Jan 28, 2003 at 08:07:49AM -0800, Jason R Thorpe wrote:
> I tested part of this patch for David yesterday (the PXE part), but it
> did not work ... Frank, since you and I used the Hammer simulator to get
> pxeboot debugged in the first place, maybe you can use the Hammer simulator
> to debug this, as well?

I did, and that's how I noticed that the stack pointer (which is in
the same 16-bit segment as the code and BSS) got too low, and walked
into data, presumably because the larger stack usage of 64 bit
daddr_t values pushed it over the limit.

...
0000f9c0 B files
0000fa30 A _end
0000fa30 A end
0000fffc a BOOTSTACK


The segments must become seperate.

- Frank

-- 
Frank van der Linden                                    fvdl@wasabisystems.com
==============================================================================
Quality NetBSD Development, Support & Service.   http://www.wasabisystems.com/