Subject: port-sparc/10258: today's kernel doesn't boot on multi-cpu SS20
To: None <>
From: Curt Sampson <>
List: netbsd-bugs
Date: 06/01/2000 13:05:10
>Number:         10258
>Category:       port-sparc
>Synopsis:       today's kernel doesn't boot on multi-cpu SS20
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 01 13:06:00 PDT 2000
>Originator:     Curt Sampson
>Release:        2000-06-01
Curt Sampson  <>   917 532 4208
  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
NetBSD 1.4Z (STOIC-$Revision: 1.3 $) #1: Thu Jun  1 13:36:43 EDT 2000


During auto-probe, the following happens:

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) atscsibus_config_interrupts+0x34
config_process_deferred(0xf02c08ec, 0x0, 0xf02c0800, 0xffffffff, 0x3c, 0xf026d800) at config_process_deferred+0x58
configure(0xf02d7800, 0xf02d7800, 0xf02d7800, 0xf02d6000, 0x1, 0x10000000) at configure+0x5c
main(0xf02be000, 0xfffffff8, 0xf00021d8, 0xf0264b73, 0x7036e0, 0x2950b8) at main+0x3b8
Lgandul(0x700110, 0x70c8b0, 0x6ffeb4, 0x0, 0x70f000, 0xffffffff) at Lgandul+0xe8

This does not happen on a May 29th kernel.

    Boot a kernel on a multi-cpu SS20.
    Beats me.