[issue1580] Panic (Fatal trap 12: page fault while in kernel mode) while playing with pf and netif names

Rumko (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Fri Sep 10 06:57:59 PDT 2010


Rumko <rumcic at gmail.com> added the comment:

After some netif have been renamed (was not able to reproduce panic on a machine
where no netif have been renamed) I can easily panic the machine with "pfctl -s
all; pfctl -f /etc/pf.conf; pfctl -f /etc/pf.conf" ... after the first reload of
the pf.conf, I get "kernel: Non-unique normal route, mask not entered" and the
second reload panics the machine (still working on getting a dump):
Sep 10 15:49:18 zeus kernel: Non-unique normal route, mask not entered


Fatal trap 12: page fault while in kernel mode
mp_lock = 00000000; cpuid = 0; lapic.id = 00000000
fault virtual address   = 0x12342378
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0297874
stack pointer           = 0x10:0xd80ad9e0
frame pointer           = 0x10:0xd80ada08
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         = Idle
current thread          = pri 12
 <- SMP: XXX
kernel: type 12 trap, code=0

CPU0 stopping CPUs: 0x00000002
 stopped
Stopped at      rn_match+0xf6:  movl    0(%eax),%edi
db> trace
rn_match(c04d1c0c,d85e7100) at rn_match+0xf6
pfr_match_addr(db0e1000,db63aad0,2) at pfr_match_addr+0x4c
pf_match_translation(d80adbc4,db63aa00,14,2,daddade0) at pf_match_translation+0x1b2
pf_get_translation(d80adbc4,db63aa00,14,2,daddade0) at pf_get_translation+0x62
pf_test_rule(d80adc28,d80adc24,2,daddade0,db63aa00) at pf_test_rule+0x2b2
pf_test(2,d7be3000,d80adc7c,0,0) at pf_test+0x506
pf_check_out(0,d80adc7c,d7be3000,2,db63aa00) at pf_check_out+0x2e
pfil_run_hooks(c04f9b44,d80adcdc,d7be3000,2,d7be3000) at pfil_run_hooks+0x83
ip_output(db63aa00,0,dafec08c,10000,0) at ip_output+0x8c4
udp_send(c3c51888,0,db63aa00,0,0) at udp_send+0x271
netmsg_pru_send(db68eb80,0,c046cea0,d80add84,c02975c0) at netmsg_pru_send+0x1c
netmsg_service(db68eb80,1,0,c04fa2e0,ff800000) at netmsg_service+0xe0
netmsg_service_loop(c046cea0,0,0,0,0) at netmsg_service_loop+0x18
lwkt_exit() at lwkt_exit

----------
status: unread -> chatting

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1580>
_____________________________________________________






More information about the Bugs mailing list