Subject: state of affairs, here: supersparc SMP
To: None <port-sparc@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-sparc
Date: 03/01/2003 18:52:29
Hi,

a kernel compiled from freshly updated sources (newly built TOOLDIR and
all) boots to multiuser and then immediately...

Starting afpd.
Starting actived.
Sat Mar  1 16:46:00 CET 2003

simple_unlock: lock not held
lock: 0xf736a0e4, currently at: /usr/src/sys/kern/kern_descrip.c:1534 on cpu 1
last locked: /usr/src/sys/kern/kern_descrip.c:1523
last unlocked: /usr/src/sys/kern/kern_descrip.c:1523
0x0(0x0, 0x3, 0x0, 0x96d, 0x91d02000, 0x8) at sys_execve+0x704
sys_execve(0xa, 0x118, 0xf021f400, 0xf738ad90, 0xf021f400, 0xf738ae64) at
syscall+0x1f4
syscall(0x3b, 0xf738afb0, 0x400, 0x191ec, 0x0, 0x0) at _syscall+0xcc
Stopped in pid 329.1 (faxgetty) at cpu_Debugger+0x8: call esigcode
db{1}> t
cpu_Debugger(0xf025c000, 0x1, 0xfffb, 0xf738aef8, 0xf011d8a8, 0xeffffc00)
at _simple_unlock+0x194
_simple_unlock(0xf736a0e4, 0xf021efa8, 0x5fe, 0x1, 0xf6a27240, 0x14) at
fdcheckstd+0x2e0
fdcheckstd(0x0, 0x3, 0x0, 0x96d, 0x91d02000, 0x8) at sys_execve+0x704
sys_execve(0xa, 0x118, 0xf021f400, 0xf738ad90, 0xf021f400, 0xf738ae64) at
syscall+0x1f4
syscall(0x3b, 0xf738afb0, 0x400, 0x191ec, 0x0, 0x0) at _syscall+0xcc
syncing disks... xcall(cpu1,0xf01e9384): couldn't ping cpus:
cpu0xcall(cpu1,0xf01e9384): couldn't ping cpus: cpu0xcall(cpu1,0xf01e9384):
couldn't ping cpus: cpu0xcall(cpu1,0xf01e9384): couldn't ping cpus:
cpu0xcall(cpu1,0xf01e9384): couldn't ping cpus: cpu0xcall(cpu1,0xf01e9384):
couldn't ping cpus: cpu0xcall(cpu1,0xf01e9384): couldn't ping cpus:
cpu0xcall(cpu1,0xf01e9384): couldn't ping cpus: cpu0xcall(cpu1,0xf01e9384):
couldn't ping cpus: cpu0

[continues endlessly, no BREAK to debugger possible]

A kernel built without multi-cpu support mutters about "lock not held",
too, but does not crash.

	hauke

--
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards