Optimal debug options for kernel config ?

Robin P. Blanchard robin.blanchard at gactr.uga.edu
Thu Jan 22 12:30:04 PST 2004


Was fooling around with adding more debugging elements to my dfly kernel
which led me to wonder exactly what options are most desirable for testing in
this phase of dfly ? By adding:
+options                DEBUG_LOCKS
+options                DEBUG_VFS_LOCKS
+options                SIMPLELOCK_DEBUG
+options                VFS_BIO_DEBUG
+options                DEBUG_INTERRUPTS

I locked the box at boot with the below. Overkill or useful ?

[snip]
Starting sshd.
getblk: vmioing file type 4???
panic: biodone: zero vnode ref count
panic(0,cc96cef0,38,cbfe7d0c,c01f72c5) at panic+0x88
panic(c02f60fc,0,cc96cef0,38,800) at panic+0x88
biodone(c11de360,cc96cfa8,c11de360,c018ae08,c6709838) at biodone+0x12d
ad_interrupt(c6709838,c0fe1560,cbfe7d64,c02b9f23,c7fc9200) at
ad_interrupt+0x3f5

ata_intr(c7fc9200,68c040,0,e,cbfe7d84) at ata_intr+0xcd
intr_mux(c0361fd8) at intr_mux+0x23
ithread_handler(e,0,0,0,0) at ithread_handler+0x47
lwkt_exit() at lwkt_exit
Debugger("panic")
Stopped at      Debugger+0x35:  movb    $0,in_Debugger.342
db> tr
Debugger(cbfe7cc8,c01cd00b,c02f252d,0,cc96cef0) at Debugger+0x35
dumpmag(73252228,a2922,0,0,0) at dumpmag+0x1b9
db> cont

---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------







More information about the Kernel mailing list