FreeBSD 6.0 on Pegasos/ODW

Matt Sealey matt at genesi-usa.com
Wed Jun 28 09:07:20 UTC 2006


Talking to myself again.. 

I booted the kernel (boot cd boot/kernel/kernel) directly and it does exactly the same thing (Cpppp) but with a warning that there was no kernel metadata loaded.

I did a little test booting the 6.0 CD on PearPC, which doesn't even get into the loader; it claims memory that is already in use (ironically exactly the memory that PearPC is using for it's page table).

So.. perplexing.

--
Matt Sealey <matt at genesi-usa.com>
Manager, Genesi, Developer Relations 

> -----Original Message-----
> From: Matt Sealey [mailto:matt at genesi-usa.com] 
> Sent: Wednesday, June 28, 2006 3:23 AM
> To: matt at genesi-usa.com; 'Peter Grehan'
> Cc: freebsd-ppc at freebsd.org
> Subject: RE: FreeBSD 6.0 on Pegasos/ODW
> 
> 
> I just had a thought:
> 
> The kernel says it's loaded at 0x130788.
> 
> That's within the first 2MB of memory on the system.
> 
> It MAY be that we're writing the kernel over the OpenFirmware 
> copy and the stack (which works backwards from the OF image 
> if I remember
> correctly) or something like that.
> 
> How does FreeBSD allocate it's memory from the point the 
> kernel is loaded, through claim or just assuming it owns it 
> all at that point?
> 
> Having it put the kernel somewhere after the first 32MB would 
> be a good test. Our load-base variable is set to 0x4000000 so 
> the loader goes there. I will see if I can get you guys a 
> decent copy of the memory map..
> 
> --
> Matt Sealey <matt at genesi-usa.com>
> Manager, Genesi, Developer Relations
> 
> 



More information about the freebsd-ppc mailing list