Subject: Misc Crashes on 3.0_STABLE
To: NetBSD Users <netbsd-users@NetBSD.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: netbsd-users
Date: 10/02/2006 18:05:27
Hi,

I've recently had a couple of odd kernel panics. Nothing in particular
seems to bring them on.

Can someone help me analyze the crash dumps below?

m_freem seems to indicate some memory problem.
pfil_run_hooks, seems to be something with ipfilter.

And, in the second dump...

free vnode isn't  - this looks like a ffs thing??

Could these be related, or am I looking at separate issues?

Any help would be fantastic,

Thanks,

Louis





isis# dmesg -M netbsd.6.core -N netbsd.6
NetBSD 3.0_STABLE (GENERIC) #2: Fri May 19 20:03:06 EDT 2006
        louis@shodo.berklee.net:/usr/obj/sys/arch/i386/compile/GENERIC
total memory = 81532 KB
avail memory = 71328 KB
BIOS32 rev. 0 found at 0xfd9b0

< EDITED >

wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
tlp0: transmit underrun; new threshold: 96/256 bytes
m_freem(c0ae6f00,c0b62200,c07ce900,c0b62200,c0ae6f00) at netbsd:m_freem+0x25
ex_intr(c0b4c000,5,c0b40010,c0910030,c0b40010) at netbsd:ex_intr+0x16a
Xintr_legacy10() at netbsd:Xintr_legacy10+0xad
--- interrupt ---
fr_check(c70d5010,14,c0b4c03c,0,c0919de8) at netbsd:fr_check+0xc
fr_check_wrapper(0,c0919de8,c0b4c03c,1,0) at netbsd:fr_check_wrapper+0x72
pfil_run_hooks(c08326c0,c0919e50,c0b4c03c,1,0) at netbsd:pfil_run_hooks+0x6e
ip_input(c0ae2f00,0,0,246,0) at netbsd:ip_input+0x15d
ipintr(a11f0010,30,5f10010,10,c0916000) at netbsd:ipintr+0x76
DDB lost frame for netbsd:Xsoftnet+0x41, trying 0xc0919e70
Xsoftnet() at netbsd:Xsoftnet+0x41
--- interrupt ---
0x246:

dumping to dev 0,1 offset 25431
dump 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58
57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34
33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9 8 7 6 5 4 3 2 1


isis# dmesg -M netbsd.7.core -N netbsd.7
NetBSD 3.0_STABLE (GENERIC) #2: Fri May 19 20:03:06 EDT 2006
        louis@shodo.berklee.net:/usr/obj/sys/arch/i386/compile/GENERIC
total memory = 81532 KB
avail memory = 71328 KB

< EDITED >

wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
tlp0: transmit underrun; new threshold: 96/256 bytes
panic: free vnode isn't, vp 0xc7dc73f0
cpu_Debugger(1,c28,31,c7dc73f0,c07cc908) at netbsd:cpu_Debugger+0x4
panic(c0738c73,c7dc73f0,2,1369,c803f34c) at netbsd:panic+0x11d
vfs_busy(c7dcc800,200000,0,c7dcc800,c0c196cc) at netbsd:vfs_busy
getnewvnode(1,c0bf4000,c0b03700,c7dfbc98,d800) at netbsd:getnewvnode+0xc8
ffs_vget(c0bf4000,2620f,c7dfbd64,2620f,c0c196cc) at netbsd:ffs_vget+0x50
ufs_lookup(c7dfbd94,c8074000,c7dfbdac,c03caefa,c0618f40) at
netbsd:ufs_lookup+0x759
VOP_LOOKUP(c803f34c,c7dfbe84,c7dfbe98,20,c06196c0) at netbsd:VOP_LOOKUP+0x2e
lookup(c7dfbe74,c72af400,400,c7dfbe8c,c7dfbe24) at netbsd:lookup+0x1fd
namei(c7dfbe74,805da50,60,0,805db40) at netbsd:namei+0xfc
sys___lstat13(c72abd68,c7dfbf64,c7dfbf5c,0,7) at netbsd:sys___lstat13+0x58
syscall_plain() at netbsd:syscall_plain+0x7e
--- syscall (number 280) ---
0xbdbbd0e3:

dumping to dev 0,1 offset 25431
dump 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58
57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34
33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9 8 7 6 5 4 3 2 1