Subject: VAX 8200 MP spinup code.
To: None <port-vax@netbsd.org, tech-smp@netbsd.org>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-smp
Date: 06/10/2000 17:18:56
I have just checked in some code to spin up the other CPUs on a
multiprocessor VAX 8200 system, It doesn't do so much things, though.

It cannot do printf's from the slave CPUs yet. A VAX CPU has an internal
register that is the console output that is only accessible on the local
CPU, so printf on a slave CPU writes the output out on the slave CPU 
console (which is not what is wished). I don't know yet how this shall
be handled.

-- Ragge

Anyway, just for fun, the boot text:

Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4ZA (GENERIC.MP) #178: Sat Jun 10 16:45:03 CEST 2000
    ragge@bakfull:/usr/home/ragge/work/nbsd/sys/arch/vax/compile/GENERIC.MP

VAX 8200
total memory = 49148 KB
avail memory = 42276 KB
using 640 buffers containing 2560 KB of memory
mainbus0 (root)
bi0 at mainbus0
klesi at bi0 node 0 [sadr 20400000 eadr 20440000] unsupported
cpu0 at bi0 node 2: ka825 (master) cpu rev 2, u patch rev 28, sec patch 1
kdb0 at bi0 node 4
mscpbus0 at kdb0: version 3 model 2
ra0 at mscpbus0 drive 0: RA90
ra0: nspt 52 group 1 ngpc 15 rct 780 nrpt 1 nrct 2
ra1 at mscpbus0 drive 1: RA90
ra1: nspt 69 group 1 ngpc 13 rct 414 nrpt 1 nrct 4
cpu1 at bi0 node 7: ka825 (slave) cpu rev 2, u patch rev 29, sec patch 1
ni0 at bi0 node 8: DEBNA
ni0: hardware address 08:00:2b:0b:cd:05
cpu2 at bi0 node 9: ka825 (slave) cpu rev 2, u patch rev 28, sec patch 1
dmb32 at bi0 node 10 unsupported
mem0 at bi0 node 11: size 16MB, 1M chips
mem1 at bi0 node 12 [sadr 1000000 eadr 2000000]: size 16MB, 1M chips
mem2 at bi0 node 13 [sadr 2000000 eadr 3000000]: size 16MB, 1M chips
root device: ra1
dump device (default ra1b): 
file system (default generic): 
root on ra1a dumps on ra1b
ra1: size 2376153 sectors
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
cpu1: (ID 7) now running
cpu2: (ID 9) now running
init: copying out path `/sbin/init' 11
Enter pathname of shell or RETURN for sh: 
#