Subject: bug in today's kernel on MP systems
To: None <port-sparc@netbsd.org>
From: Curt Sampson <cjs@cynic.net>
List: port-sparc
Date: 06/01/2000 15:16:59
So on my dual-cpu SS20, on a kernel compiled this morning, in the
middle of my probes I get:

scsibus0: waiting 2 seconds for devices to settle...
panic: kernel debugging assertion "p->p_cpu == curcpu()" failed: file "../../../../kern/kern_synch.c", line 690

Stopped in swapper at   cpu_Debugger+0x4:       jmpl            [%o7 + 0x8], %g0

db{0}> t
__assert(0xf021ea98, 0xf021eaa8, 0x2b2, 0xf021eae0, 0xf02be800, 0xf027b400) at _
_assert+0x18
mi_switch(0xf02be4d8, 0x1, 0xf0262528, 0xf02be4d8, 0xf02640e8, 0x5) at mi_switch
+0x60
tsleep(0x0, 0x10, 0xf0241c38, 0xc8, 0xf0264c00, 0xf02d8400) at tsleep+0x200
scsibus_config_interrupts(0xf0d37d80, 0xf0d1a950, 0xf01c87bc, 0x0, 0x0, 0x64) at
 scsibus_config_interrupts+0x34
config_process_deferred(0xf02c08ec, 0x0, 0xf02c0800, 0xffffffff, 0x3c, 0xf026d80
0) at config_process_deferred+0x58
configure(0xf02d7800, 0xf02d7800, 0xf02d7800, 0xf02d6000, 0x1, 0x10000000) at co
nfigure+0x5c
main(0xf02be000, 0xfffffff8, 0xf00021d8, 0xf0264b73, 0x7036e0, 0x2950b8) at main
+0x3b8
Lgandul(0x700110, 0x70c8b0, 0x6ffeb4, 0x0, 0x70f000, 0xffffffff) at Lgandul+0xe8

Any thoughts?

cjs
-- 
Curt Sampson  <cjs@cynic.net>   917 532 4208   http://www.netbsd.org
  Human speech is like a cracked tin kettle, on which we hammer out tunes
  to make bears dance when we long to move the stars.  --Gustave Flaubert