4.6.3 panic on nf_ct_delete (nf_conntrack)
Subsystems (2)
Workload: pppoe server, 5k users on ppp interfaces. No actual SNAT/DNAT, but using connmark and REDIRECT
[176412.990104] general protection fault: 0000 [#1]
SMP
[176412.990424] Modules linked in:
sch_piecls_fwact_policecls_u32sch_ingresssch_sfqsch_htb
netconsole
[176412.991427] configfs
coretempnf_nat_pptpnf_nat_proto_grenf_conntrack_pptpnf_conntrack_proto_gre
pppoe
pppox
[176412.992571] ppp_generic
slhc
[176412.993218] tun
xt_REDIRECTnf_nat_redirectxt_TCPMSSipt_REJECTnf_reject_ipv4xt_setts_bmxt_stringxt_connmarkxt_DSCPxt_markxt_tcpudpip_set_hash_netip_set_hash_ipip_set
nfnetlinkiptable_mangleiptable_filteriptable_natnf_conntrack_ipv4nf_defrag_ipv4nf_nat_ipv4nf_natnf_conntrackip_tablesx_tables
8021q
[176412.996208] garp
mrp
stp
llc
[176412.996834] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.6.3-build-0105 #4 [176412.997037] Hardware name: HP ProLiant DL320e Gen8 v2, BIOS P80 04/02/2015 [176412.997241] task: ffff88043558af00 ti: ffff8804355a0000 task.ti: ffff8804355a0000 [176412.997580] RIP: 0010:[<ffffffffa003d0f7>] [<ffffffffa003d0f7>] nf_ct_delete+0x26/0x1dc [nf_conntrack] [176412.997985] RSP: 0018:ffff8804474a3e80 EFLAGS: 00010282 [176412.998187] RAX: ffff880428bc0c90 RBX: ffac050402505080 RCX: dead000000000200 [176412.998524] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880428bc0c08 [176412.998865] RBP: ffff8804474a3ec8 R08: ffff8804474a3f08 R09: 0000000000000000 [176412.999204] R10: ffffffff820050c0 R11: 000000000000049a R12: ffff880428bc0c08 [176412.999545] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff820050c8 [176412.999885] FS: 0000000000000000(0000) GS:ffff8804474a0000(0000) knlGS:0000000000000000 [176413.000226] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [176413.000427] CR2: 00007f1dc4960100 CR3: 0000000002006000 CR4: 00000000001406e0 [176413.000767] Stack: [176413.000963] ffff8804474a3ec0
ffffffff810fb036ffff88043558af07ffff8804474adcc0
[176413.001534] 0000000080000100
ffffffffa003d2ad00000000000000a1ffff8804355a4000
[176413.002097] ffffffff820050c8
ffff8804474a3ed8ffffffffa003d2baffff8804474a3ef8
[176413.002666] Call Trace: [176413.002862] <IRQ>
[176413.002926] [<ffffffff810fb036>] ? hrtimer_forward+0xd5/0xeb [176413.003322] [<ffffffffa003d2ad>] ? nf_ct_delete+0x1dc/0x1dc [nf_conntrack] [176413.003525] [<ffffffffa003d2ba>] death_by_timeout+0xd/0xf [nf_conntrack] [176413.003727] [<ffffffff810fa823>] call_timer_fn.isra.26+0x17/0x6d [176413.003931] [<ffffffff810fa9ef>] run_timer_softirq+0x176/0x197 [176413.004134] [<ffffffff810c401a>] __do_softirq+0xb9/0x1a9 [176413.004333] [<ffffffff810c4251>] irq_exit+0x37/0x7c [176413.004533] [<ffffffff8102b8f7>] smp_apic_timer_interrupt+0x3d/0x48 [176413.004734] [<ffffffff818cb15c>] apic_timer_interrupt+0x7c/0x90 [176413.004935] <EOI>
[176413.004997] [<ffffffff8101be12>] ? mwait_idle+0x68/0x7e [176413.005391] [<ffffffff8101c212>] arch_cpu_idle+0xa/0xc [176413.005592] [<ffffffff810ea333>] default_idle_call+0x27/0x29 [176413.005791] [<ffffffff810ea44a>] cpu_startup_entry+0x115/0x1bf [176413.005993] [<ffffffff8102a289>] start_secondary+0xf1/0xf4 [176413.006193] Code:
5e
41
5f
5d
c3
55
48
89
e5
41
57
41
56
41
55
41
54
41
89
f5
53
49
89
fc
41
89
d6
48
83
ec
20
48
8b
9f
c8
00
00
00
48
85
db
74
20
b7
43
1c
66
85
c0
74
17
48
01
c3
74
12
48
83
7b
08
00
75
0b
[176413.010382] RIP [<ffffffffa003d0f7>] nf_ct_delete+0x26/0x1dc [nf_conntrack] [176413.010643] RSP <ffff8804474a3e80> [176413.010855] ---[ end trace cf1060fc5087293e ]--- [176413.018573] Kernel panic - not syncing: Fatal exception in interrupt [176413.018781] Kernel Offset: disabled [176413.046284] ERST: [Firmware Warn]: Firmware does not respond in time. [176413.050041] Rebooting in 5 seconds..
Quoted 5 lines · [email protected] <[email protected]> wrote:
Workload: pppoe server, 5k users on ppp interfaces. No actual SNAT/DNAT, but using connmark and REDIRECT
[176412.990104] general protection fault: 0000 [#1]SMP
I assume that you did not see this before.
What was the last kernel version where you did not run into this?
Might help to narrow things down.
Quoted 4 lines · Florian Westphal
Quoted 3 lines · [email protected] <[email protected]> wrote:
Workload: pppoe server, 5k users on ppp interfaces. No actual SNAT/DNAT, but using connmark and REDIRECT
Quoted 8 lines
Quoted 2 lines
[176412.990104] general protection fault: 0000 [#1]SMP
I assume that you did not see this before.
What was the last kernel version where you did not run into this?
Might help to narrow things down.
Difficult to say, because it was triggered also on 4.5.3 at 10 Jun, while i was running this kernel since May 10, and never had such issue before. Maybe some new traffic pattern caused this, or because interfaces saturated now, and might reach full bandwidth (800Mbps in bursts might reach 1G, and traffic will be dropped?).
Here is panic from 4.5.3:
[85867.255619] general protection fault: 0000 [#1]
SMP
[85867.255939] Modules linked in:
cls_fwact_policecls_u32sch_ingresssch_sfqsch_htb
netconsole
configfs
coretempnf_nat_pptpnf_nat_proto_grenf_conntrack_pptpnf_conntrack_proto_gre
pppoe
pppoxppp_generic
slhc
tunxt_REDIRECTnf_nat_redirectxt_TCPMSSipt_REJECTnf_reject_ipv4xt_setts_bmxt_stringxt_connmarkxt_DSCPxt_markxt_tcpudpip_set_hash_netip_set_hash_ipip_set
nfnetlinkiptable_mangleiptable_filteriptable_natnf_conntrack_ipv4nf_defrag_ipv4nf_nat_ipv4nf_natnf_conntrackip_tablesx_tables
8021q
garp
mrp
stp
llc
[85867.263194] CPU: 7 PID: 0 Comm: swapper/7 Not tainted 4.5.3-build-0100 #4 [85867.263397] Hardware name: HP ProLiant DL320e Gen8 v2, BIOS P80 04/02/2015 [85867.263598] task: ffff880435584680 ti: ffff8804355a8000 task.ti: ffff8804355a8000 [85867.263936] RIP: 0010:[<ffffffffa003d0ef>] [<ffffffffa003d0ef>] nf_ct_delete+0x1a/0x1dc [nf_conntrack] [85867.264343] RSP: 0018:ffff8804474e3e80 EFLAGS: 00010282 [85867.264545] RAX: ffff8804021b3738 RBX: 0000000080000100 RCX: dead000000000200 [85867.264749] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffa00504021b36b0 [85867.264950] RBP: ffff8804474e3ec8 R08: ffff8804474e3f08 R09: 0000000000000000 [85867.265151] R10: ffffffff820090c0 R11: 0000000000000002 R12: ffa00504021b36b0 [85867.265351] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff820090c8 [85867.265553] FS: 0000000000000000(0000) GS:ffff8804474e0000(0000) knlGS:0000000000000000 [85867.265892] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [85867.266092] CR2: 00007fb170542dc8 CR3: 000000000200a000 CR4: 00000000001406e0 [85867.266295] Stack: [85867.266490] ffff8804474e3ec0
ffffffff810f996affff880435584680ffff8804474edc40
[85867.267057] 0000000080000100
ffffffffa003d2b100000000000000faffff8804355ac000
[85867.267624] ffffffff820090c8
ffff8804474e3ed8ffffffffa003d2beffff8804474e3ef8
[85867.268192] Call Trace: [85867.268392] <IRQ>
[85867.268456] [<ffffffff810f996a>] ? hrtimer_forward+0xd5/0xeb [85867.268857] [<ffffffffa003d2b1>] ? nf_ct_delete+0x1dc/0x1dc [nf_conntrack] [85867.269062] [<ffffffffa003d2be>] death_by_timeout+0xd/0xf [nf_conntrack] [85867.269265] [<ffffffff810f9157>] call_timer_fn.isra.26+0x17/0x6d [85867.269468] [<ffffffff810f9323>] run_timer_softirq+0x176/0x197 [85867.269672] [<ffffffff810c2fb9>] __do_softirq+0xb9/0x1a9 [85867.269873] [<ffffffff810c31f0>] irq_exit+0x37/0x7c [85867.270077] [<ffffffff8102af09>] smp_apic_timer_interrupt+0x3d/0x48 [85867.270282] [<ffffffff818d27dc>] apic_timer_interrupt+0x7c/0x90 [85867.270484] <EOI>
[85867.270546] [<ffffffff8100ad6f>] ? mwait_idle+0x64/0x7a [85867.270943] [<ffffffff8100b16f>] arch_cpu_idle+0xa/0xc [85867.271144] [<ffffffff810e8c99>] default_idle_call+0x27/0x29 [85867.271345] [<ffffffff810e8dba>] cpu_startup_entry+0x11f/0x1c9 [85867.271548] [<ffffffff8102989b>] start_secondary+0xf1/0xf4 [85867.271750] Code:
e8
35
60
08
e1
58
5b
41
5c
41
5d
41
5e
41
5f
5d
c3
55
48
89
e5
41
57
41
56
41
55
41
54
41
89
f5
53
49
89
fc
41
89
d6
48
83
ec
20
8b
9f
c8
00
00
00
48
85
db
74
20
0f
b7
43
1c
66
85
c0
74
17
[85867.275937] RIP [<ffffffffa003d0ef>] nf_ct_delete+0x1a/0x1dc [nf_conntrack] [85867.276200] RSP <ffff8804474e3e80> [85867.276423] ---[ end trace 7be551057bff38cd ]--- [85867.285767] Kernel panic - not syncing: Fatal exception in interrupt [85867.285973] Kernel Offset: disabled [85867.319076] Rebooting in 5 seconds..