Subject: SMP kernel only seeing one proc.
To: tech-smp <tech-smp@netbsd.org>
From: Adam K Kirchhoff <adamk@voicenet.com>
List: tech-smp
Date: 02/11/2003 20:48:38
Hey folks,

	I recently installed 1.6 and then updated to the latest -current
sources in order to test out the new SMP code.  I followed the
instructions at http://www.netbsd.org/Documentation/current/#updating

	I'm now running -current...  I've created a new config file for my
system, ran config, and rebuilt the kernel, making sure the following
devices and options were in my config file:

cpu* at mainbus?
ioapic* at mainbus? apid ?

and

options         MULTIPROCESSOR
options         COM_MPLOCK

	Unfortunately, it's a no-go...  The kernel boots, but only sees
one cpu:

bash-2.05$ dmesg | grep cpu
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 1002.37 MHz, id 0x68a
cpu0: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 387fbff<PGE,MCA,CMOV,PAT,PSE36,PN,MMX>
cpu0: features 387fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: serial number 0000-068A-0003-256E-96A0-EC2F
cpu0: 8 page colors

	vmstat also only shows one CPU.

	The computer is a dual 1Gig P3, VIA Apollo system.

	Any ideas? :-)

	BTW, now that the SMP branch has been merged into -current, is
current-users a more appropriate mailing list?

Adam