Subject: Re: port-amiga/5672: system works unreliable with more than two memory segments
To: Todd Vierling <tv@pobox.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 06/29/1998 10:55:55
On Mon, 29 Jun 1998 10:33:00 -0400 (EDT) 
 Todd Vierling <tv@pobox.com> wrote:

 > I believe I hit this same problem on a Shark, while compiling sparc-opc.c
 > from binutils.  The Shark, to my knowledge, only has two memory segments, so
 > this may be a more widespread problem and not restricted to the amiga.

Err.. Drop into the firmware, and take a look, dood:

ok dev /memory
ok .properties
reg		0e000000 00800000
		0c000000 00800000
		0a000000 00800000
		08000000 00800000
available	0e774000 00060000
		0e6fe000 00001000
		0e600000 000fd000
		08001000 000df000

As I recall, the `reg' property indicates where each RAM slot is mapped into
physical address space, whereas `available' indicates which memory regions
are available for use by client software (i.e. the NetBSD kernel).  Note
that if a particular slot isn't filled, then it does not appear in the
`available' property.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939