tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Frequent network code panics



On 2017/03/27 18:40, Hauke Fath wrote:
Hi,

with a pair of netbsd-7 amd64 carp/pf routers, I see the primary router
panic and reboot frequently with either something like


fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff801dc5b9 cs 8 rflags 10246 cr2 20 ilevel
6 rsp fffffe810e876b50
curlwp 0xfffffe821e73b420 pid 0.3 lowest kstack 0xfffffe810e8742c0
panic: trap
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x13c
snprintf() at netbsd:snprintf
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0x96
pf_test() at netbsd:pf_test+0xeaa
pfil4_wrapper() at netbsd:pfil4_wrapper+0x84
pfil_run_hooks() at netbsd:pfil_run_hooks+0xc4
ip_output() at netbsd:ip_output+0x38f
ip_forward() at netbsd:ip_forward+0x16b
ipintr() at netbsd:ipintr+0x2d4
softint_dispatch() at netbsd:softint_dispatch+0x7d
DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xfffffe810e876ff0
Xsoftintr() at netbsd:Xsoftintr+0x4f
--- interrupt ---
0:
cpu0: End traceback...
rebooting...


or, with either ixg0 of wm0,

ixg0 "or" wm0?

Could you show me the stack trace of wm?


fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff801d5cab cs 8 rflags 10202 cr2
7f7ff7b4c000 ilevel 6 rsp fffffe810e873c40
curlwp 0xfffffe821e73b840 pid 0.2 lowest kstack 0xfffffe810e8712c0
panic: trap
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x13c
snprintf() at netbsd:snprintf
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0x96
ixgbe_rxeof.isra.9() at netbsd:ixgbe_rxeof.isra.9+0x14a
ixgbe_legacy_irq() at netbsd:ixgbe_legacy_irq+0xcf
intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x19
Xintr_ioapic_level1() at netbsd:Xintr_ioapic_level1+0xf2
--- interrupt ---
x86_mwait() at netbsd:x86_mwait+0xd
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xc2
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0x6d
idle_loop() at netbsd:idle_loop+0xe8
cpu0: End traceback...
rebooting...


Do these stack traces ring a bell for anyone?

Cheerio,
hauke



--
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index