Alpha SMP panic

John Baldwin jhb at FreeBSD.org
Wed Nov 19 10:09:14 PST 2003


On 17-Nov-2003 Kris Kennaway wrote:
> On Sun, Nov 16, 2003 at 06:39:17PM -0800, David O'Brien wrote:
>> # cd /usr/src ; cvs -qR up -PdA
>> ...
>> U sys/netgraph/bluetooth/include/ng_btsocket_hci_raw.h
>> U sys/netgraph/bluetooth/include/ng_btsocket_l2cap.h
>> U sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h
>> panic: Assertion td->td_turnstile != NULL failed at
>> ../../../kern/subr_turnstile.c:427
>> cpuid = 1; 
>> panic
>> spin lock sched lock held by 0xfffffc001f053c80 for > 5 seconds
> 
> I'm able to easily produce this on two amd64 machines too.

Can you try this:

http://www.FreeBSD.org/~jhb/patches/spurious.patch

It includes the TD_ON_RUNQ() fix as well as some assertions that
should hopefully catch the bug the assertion above is catching
if it's not a case of nesting on a turnstile.
A backtrace from the first panic might help if you can get it.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-current mailing list