panic with BETA4, bridge.ko and WITNESS

Marc UBM Bocklet ubm at u-boot-man.de
Sun Sep 12 10:57:34 PDT 2004


Hiho! :-)

I just cvsupped and updated to BETA4.

For the fun of it, I deciced to put WITNESS and INVARIANTS in the
kernel.

When rebooting, I promptly encountered three sucessive LORs and a panic:

panic: _mtx_lock_sleep: recursed on non-recursive mutex bridge @
/usr/src/sys/mo dules/bridge/../../net/bridge.c:940

cpuid = 1
KDB: enter: panic
[thread 100052]
Stopped at      kdb_enter+0x30: leave


Trace, LORs, config, etc. are attached to my mail. (sorry for the
mangled output, but I had to use HyperTerminal)

There is no panic at all if I load bridge.ko after the boot process or
if I don't load it at all. I did not yet try what happens if bridge is
compiled into the kernel.


root at greatsheep:/home/sheep# uname -a
FreeBSD greatsheep 5.3-BETA4 FreeBSD 5.3-BETA4 #6: Sun Sep 12 17:08:39
CEST 2004     root at greatsheep:/usr/obj/usr/src/sys/SUBMARINE_SMP  i386


Bye
Marc

-- 
"And what rough beast, its hour come round at last,
Slouches towards Bethlehem to be born?"

W.B. Yeats, The Second Coming
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lors+panic.txt
Type: application/octet-stream
Size: 5965 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040912/ad1631a7/lorspanic-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: locks.txt
Type: application/octet-stream
Size: 391 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040912/ad1631a7/locks-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace.txt
Type: application/octet-stream
Size: 1838 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040912/ad1631a7/trace-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 6343 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040912/ad1631a7/dmesg-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SUBMARINE_SMP
Type: application/octet-stream
Size: 8418 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040912/ad1631a7/SUBMARINE_SMP-0001.obj


More information about the freebsd-current mailing list