panic: pf with debug.mpsafenet

Emanuel Strobl emanuel.strobl at gmx.net
Mon Feb 7 13:43:48 PST 2005


Hello,

again I got a panic with PF when debug.mpsafenet is enabled, when set to 0 the 
machine runs almost fine, except that 'pfctl -F all -f /etc/pf.conf' panics 
and "block return" and "block return-icmp(3,13)" doesn't work.

Here's the trace:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc1d7
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc047ac48
stack pointer           = 0x10:0xd135e7e8
frame pointer           = 0x10:0xd135e7f0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1156 (sshd)
[thread pid 1156 tid 100114 ]
Stopped at      pf_state_compare_lan_ext+0x18:  movzbl  0xf9(%esi),%eax
db> trace
Tracing pid 1156 tid 100114 td 0xc1a24640
pf_state_compare_lan_ext(c1748300,d135e898,d135e818,c047c095,c17483c0) at 
pf_state_compare_lan_ext+0x18
pf_state_tree_lan_ext_RB_FIND(c17483c0,d135e898,0,c1748300,d135e9a4) at 
pf_state_tree_lan_ext_RB_FIND+0x29
pf_find_state_recurse(c1748300,d135e898,0,d135e880,d135e840) at 
pf_find_state_recurse+0x45
pf_test_state_tcp(d135e9ec,2,c1748300,c1745000,14) at pf_test_state_tcp+0xb0
pf_test(2,c1585800,d135eadc,c19ccbf4,c19d4000) at pf_test+0x981
pf_check_out(0,d135eadc,c1585800,2,c19ccbf4) at pf_check_out+0x4e
pfil_run_hooks(c07f05a0,d135eb68,c1585800,2,c19ccbf4) at pfil_run_hooks+0x15b
ip_output(c1745000,0,d135eb34,0,0) at ip_output+0x3ef
tcp_output(c1b7e1c4,8,c076ed93,169,c1ce2654) at tcp_output+0x984
tcp_usr_connect(c1ce2654,c1696b40,c1a24640) at tcp_usr_connect+0xbc
soconnect(c1ce2654,c1696b40,c1a24640,10,c05bb4d8) at soconnect+0x5a
kern_connect(c1a24640,b,c1696b40,c1696b40) at kern_connect+0x9a
connect(c1a24640,d135ed14,c,431,3) at connect+0x48
syscall(807002f,807002f,bfbf002f,807b6c0,b) at syscall+0x137
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (98, FreeBSD ELF32, connect), eip = 0x282eeedf, esp = 0xbfbfd8cc, 
ebp = 0xbfbfdd78 ---
db>

Let me know if I can test anything for you.

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050207/a00ffda8/attachment.bin


More information about the freebsd-stable mailing list