[Simh] Increasing VAX memory past 64 MB?

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Dec 5 09:13:55 EST 2005


On Mon, 2005-12-05 08:44:53 -0500, Dan Foster <simh at evilphb.org> wrote:
> Running SIMH V3.5-1 under Gentoo Linux 2005.1 with the 2.6.12 kernel.
> 
> I understand that SIMH currently supports up to 512 MB of RAM for the VAX.
> 
> How is that configured in vax.ini?
> 
> 'set cpu 128m' or anything greater only reveals 64 MB when I do 'show
> mem' at the >>> console prompt.

The "show mem" will report wrong values since the firmware cannot deal
with 512MB.

> Do I need a different file other than ka655.bin, or do I need to set
> some special option? 'set cpu extendedmemory'?

You need a different firmware binary. It's also in the ./VAX
subdirectory of SIMH and called ka655x.bin .  This'll work.

> Or is just showing 64mb a limitation of the console firmware, and in
> reality, it does actually have > 64 MB configured?

IIRC, "show mem" on a 512MB system will present 4x 16MB memory modules
and a total of 512MB. But you need to load the ka655x.bin ROM image.
This is my vax.ini:

load -r ka655x.bin
set cpu 512m
attach nvr nvram.bin
set xq mac=08-00-2B-AA-BB-CC
attach xq eth0

...and it works:
-sh-3.00# cat /proc/cpuinfo 
cpu             : VAX
cpu type        : KA650
cpu sid         : 0x0a000006
cpu sidex       : 0x01530302
page size       : 4096
BogoMIPS        : 9.03
-sh-3.00# cat /proc/version 
Linux version 2.6.15-rc3-gfeb7b711 (jbglaw at d2) (gcc version 4.2.0
20051130 (experimental)) #99 Sun Dec 4 00:08:46 CET 2005
-sh-3.00# cat /proc/meminfo | grep Total
MemTotal:       512848 kB
HighTotal:           0 kB
LowTotal:       512848 kB
SwapTotal:           0 kB
VmallocTotal:     4096 kB
-sh-3.00# 

MfG, JBG
PS: Yes, we lie on page size.

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20051205/570cf168/attachment.sig>


More information about the Simh mailing list