Hello,
I got the following panic while trying out an iked(8) responder in a VPS
on Hetzner, type CX11. There is no dmesg yet because I left the ddb
console on in case I'm asked to run more commands there. It has 2 vCPUs
and it's running 7.0-stable with errata up to 004. Transcription
follows. Lemme know if I can provide with more information.
-Lucas
panic: kernel diagnostic assertion "!ISSET(rt->rt_flags, RTF_UP)" failed: file
"/usr/src/sys/net/route.c", line 506
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*258078 81837 0 0x14000 0x200 0 softnet
db_enter() at db_enter+0x10
panic(ffffffff81e54727) at panic+0xbf
__assert(ffffffff81ec28fe,ffffffff81e5fb1a,1fa,ffffffff81ecf5fa) at
__assert+0x25
rtfree(fffffd806d13a540) at rtfree+0x298
ip6_forward(fffffd8047383c00,fffffd806d13a540,1) at ip6_forward+0x118
ip6_input_if(ffff800020b130b8,ffff800020b130c4,29,0,ffff8000000c52a8) at
ip6_input_if+0x80d
ipv6_input(ffff8000000c62a8,fffffd8047383c00) at ipv6_input+0x39
ether_input(ffff8000000c62a8,ffff800020b131a8) at ether_input+0x39f
if_input_process(ffff8000000c62a8,ffff800020b131a8) at if_input_process+0x6f
ifiq_process(ffff8000000c66b8) at ifiq_process+0x69
taskq_thread(ffff80000002b080) at taskq_thread+0x81
end trace frame: 0x0, count: 4
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "!ISSET(rt->rt_flags, RTF_UP)" failed: file
"/usr/src/sys/net/route.c", line 506
ddb{0}> trace
db_enter() at db_enter+0x10
panic(ffffffff81e54727) at panic+0xbf
__assert(ffffffff81ec28fe,ffffffff81e5fb1a,1fa,ffffffff81ecf5fa) at
__assert+0x25
rtfree(fffffd806d13a540) at rtfree+0x298
ip6_forward(fffffd8047383c00,fffffd806d13a540,1) at ip6_forward+0x118
ip6_input_if(ffff800020b130b8,ffff800020b130c4,29,0,ffff8000000c52a8) at
ip6_input_if+0x80d
ipv6_input(ffff8000000c62a8,fffffd8047383c00) at ipv6_input+0x39
ether_input(ffff8000000c62a8,ffff800020b131a8) at ether_input+0x39f
if_input_process(ffff8000000c62a8,ffff800020b131a8) at if_input_process+0x6f
ifiq_process(ffff8000000c66b8) at ifiq_process+0x69
taskq_thread(ffff80000002b080) at taskq_thread+0x81
end trace frame: 0x0, count: -11
ddb{0}> show reg
rdi 0
rsi 0x14
rbp 0xffff800020b12d20
rbx 0xfffffd807d13a540
rdx 0xfe000000003f1e12
rcx 0x286
rax 0x74
r8 0xffff800020b12b48
r9 0
r10 0
r11 0x4ff427155739d864
r12 0xffffffff8217aa00 cpu_info_full_primary+0x2a00
r13 0x1
r14 0
r15 0xffffffff81e54727 cmd0646_9_tim_udma+0x2b2a1
rip 0xffffffff818713b0 db_enter+0x10
cs 0x8
rflags 0x202
rsp 0xffff800020b12d20
ss 0x10
db_enter+0x10: popq %rbp
ddb{0}> mach ddbcpu 1
Stopped at x86_ipi_db+0x12: leave
x86_ipi_db(ffff8000209c8ff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x281
sched_idle(ffff8000209c8ff0) at sched_idle+0x27e
end trace frame: 0x0, count: 10
ddb{1}> show panic
*cpu0: kernel diagnostic assertion "!ISSET(rt->rt_flags, RTF_UP)" failed: file
"/usr/src/sys/net/route.c", line 506
ddb{1}> trace
x86_ipi_db(ffff8000209c8ff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x281
sched_idle(ffff8000209c8ff0) at sched_idle+0x27e
end trace frame: 0x0, count: -5
ddb{1}> show reg
rdi 0xffff8000209c8ff0
rsi 0
rbp 0xffff800020b19240
rbx 0xffffffff82170ea8 ipifunc+0x38
rdx 0
rcx 0x7
rax 0xffffff7f
r8 0
r9 0
r10 0
r11 0x676da17a104f1a97
r12 0x7
r13 0
r14 0xffff8000209c8ff0
r15 0
rip 0xffffffff81871382 x86_ipi_db+0x12
cs 0x8
rflags 0x202
rsp 0xffff800020b19230
ss 0x10
x86_ipi_db+0x12: leave