Subject: sommerfeld_i386mp_1 LK_SPIN spinout kern_synch.c:{880 vs 788}
To: None <tech-smp@netbsd.org>
From: Sean Doran <smd@ab.use.net>
List: tech-smp
Date: 08/17/2002 15:39:51
Hi -

  Running sommerfeld_i386mp_1 and D2002.06.24.23.00.00
kernel (with DIAGNOSTIC, DEBUG, LOCKDEBUG and MPDEBUG)
and userland while scp(1)ing backups across a LAN and
doing some network & file & memory activity with emacs,
led to a break into the debugger.

LK_SPIN spinout, excl 1, share 0
last locked at
/usr/src/sys/arch/i386/compile/SCREAM/../../../../kern/kern_synch.c:880
last unlocked at
/usr/src/sys/arch/i386/compile/SCREAM/../../../../kern/kern_synch.c:788
Stopped in pid 447 (emacs) at cpu_Debugger+0x4: movl %ebp,%esp

cpu_Debugger(...)
_spinlock_acquire_count(...)
mi_switch(...)
bpendtsleep(c032398c,118,c0265900,20,0) at bpendtsleep
sys_select(...)
syscall_plain(...)

Unfortunately I couldn't get a core; there was a spinout
in the debugger during "sync".

   Sean.