Subject: further on ss20/712 with SuperSPARC cpu's.
To: None <tech-smp@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-smp
Date: 03/16/2001 21:17:18
FYI:


hi folks.  with a bunch of changes to cpu_switch & friends,
to enable the secondary CPU's, my kernel now crashes at:


[ ... ]
mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 75 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 @ 75 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
[ ... ]
mountroot: trying nfs...
nfs_boot: trying RARP (and RPC/bootparam)
data fault: pc=0xf01b4040 addr=0x4 sfsr=126<PERR=0,LVL=1,AT=1,FT=1,FAV,OW>
panic: kernel fault
Stopped in pid 1 (swapper) at   cpu_Debugger+0x4:       jmpl            [%o7 + 0
x8], %g0
db{1}> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
>1                  0          0          0 7     0x4          swapper
 0                 -1          0          0 3 0xa0204          swapper  nfsbif
db{1}> t
mem_access_fault4m(0xf627c000, 0x126, 0x4, 0xf6277e38, 0xf01ea3d0, 0xf05c8c20) at mem_access_fault4m+0x40c
memfault_sun4m(0x1, 0x0, 0xf0002000, 0x1, 0xf05d4400, 0x20) at memfault_sun4m+0x14c
sched_unlock_idle(0xf627d000, 0xf022c800, 0x0, 0x0, 0xf022c800, 0xf01e1c00) at sched_unlock_idle+0x14
Lsw_load(0x0, 0xf6276300, 0xf5a75000, 0xf627d000, 0xf0002000, 0xf0002000) at Lsw_load+0xd8
snapshot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) at snapshot+0x40
db{1}>



as you can see, cpu1 has crashed, presumabled when it tried to
run the newly spawned process 1.  ddb is running on cpu1.


.mrg.