X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7F59D.2130BF06@onstor-exch02.onstor.net>; Wed, 12 Sep 2007 16:29:21 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: prom is doing something funky, not the chicken
Date: Wed, 12 Sep 2007 16:29:21 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E0579D766@onstor-exch02.onstor.net>
In-Reply-To: <20070912144955.7e04a73a@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: prom is doing something funky, not the chicken
Thread-Index: Acf1htwzJY8pde12RvG1NWGSusFYPQAATnJQ
References: <20070912144955.7e04a73a@ripper.onstor.net>
From: "Brian Stark" <brian.stark@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>,
	"Warren Gale" <warren.gale@onstor.com>

OK, I think I know what's going on, but I could be wrong since I'm just
a lowly hardware guy.  I do not believe the PROM is currently
restricting itself to live in just the lower 48MB of space.  I remember
Rick mentioning that this was something else he had to clean up, so
maybe you're running into something from PROM.

So for now, go ahead and wipe out the PROM and take over all of memory.


Brian
=20

> -----Original Message-----
> From: Andy Sharp=20
> Sent: Wednesday, September 12, 2007 2:50 PM
> To: Brian Stark; Warren Gale
> Subject: prom is doing something funky, not the chicken
>=20
> When I boot a kernel which wipes out the prom and takes over=20
> all memory, everything works fine.  When I boot a kernel=20
> which tries to leave the prom intact and not use that memory,=20
> the boot process stops at the same EA every time, can't be a=20
> coincidence.
>=20
> Here is what I get:
>=20
> COUGAR-PROM> g                      =20
> This kernel optimized for ONStor Cougar board without CFE=20
> Determined physical RAM map:
>  memory: 0000000003000000 @ 0000000000000000 (ROM data)
>  memory: 0000000002000000 @ 0000000003000000 (usable)
>  memory: 0000000003000000 @ 0000000000000000 (ROM data)
>  memory: 000000000d000000 @ 0000000003000000 (usable)
>  memory: 0000000010000000 @ 0000000080000000 (usable) Wasting=20
> 688128 bytes for tracking 12288 unused pages
> 832a271c 0200000d break   512
> COUGAR-PROM>
>=20
>=20
> You guys can boot it yourselves and see what's going on, just=20
> load the kernel with these prom commands:
>=20
> bsd rt add 10.0.0.0 255.255.0.0 10.1.1.1 load -a=20
> ffffffff83000000 10.0.0.42 vmlinux.cg-memprob
>=20
> and then start it with 'g'
>=20
> I can change the code all ways from sunday, so that there is=20
> something different at that address, but it always stops at=20
> that address.
>=20
> Let me know what you think.
>=20
> Cheers,
>=20
> a
>=20
