Subject: SS20 + 2 processors and problem.
To: None <tech-smp@NetBSD.org>
From: Sebastian Wasilewski <vampire@phys.uni.torun.pl>
List: tech-smp
Date: 10/11/2003 21:30:13
Hello,

I have problem with running secondary CPU on sparc SS20 (NetBSD-1.6.1). On 
system-boot,information about both CPUs is displayed:

mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 60 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external 
(32 b
/l): cache enabled
cpu1 at mainbus0: mid 10: TMS390Z50 v0 or TMS390Z55 @ 60 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external 
(32 b
/l): cache enabled

and system say that booting secondary CPU:
cpu0: booting secondary processors: cpu1

but when I generated an sshd key, the process had a wcpu of 99% and "CPU 
States" showed, that  my system was 50% idle.

28 processes:  2 runnable, 25 sleeping, 1 on processor
CPU states: 44.8% user,  0.0% nice,  5.2% system,  0.0% interrupt, 50.0% 
idle

Is there something I'm missing?


Sebastian

PS. I've added this to GENERIC kernel conf:

options MULTIPROCESSOR
mainbus0 at root
cpu0    at mainbus0
cpu1    at mainbus0