Subject: Semi(?)-success with an SMP kernel
To: None <tech-smp@netbsd.org>
From: James Sharp <jsharp@psychoses.org>
List: tech-smp
Date: 09/27/2000 07:09:05
I built an SMP kernel out of -current from last night and from the
sources with the sommerfeld release tag. The machine is a dual PPro
200Mhz running on a Micron Wi6 Lightning motherboard. Userland
software on this machine is from the 1.5Alpha2 release.

dmesg shows both CPUs being probed, but the messages I'm seeing lead
me to believe that the second CPU isn't being fully spun up & used.

cpu1: starting
cpu1: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: timer0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu1: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: CPU 0 running

(every other SMP dmesg I've seen posted has a "cpu1: CPU 1 running" message)

And...

% /sbin/sysctl hw.ncpu
hw.ncpu = 1


I tried getting top to run to show me what processes were running, but
I get a "sysctl vm.uvmexp failed: Cannot allocate memory" message...i
havent' really chased that down much.  Lack of sleep is catching up
with me.