On 22.7.2021. 12:21, Hrvoje Popovski wrote:
> Thank you for explanation..
>
> after hitting box all night, box panic and i was able to reproduce it
> this morning ... I'm not sure but box panic after hour or more of
> sending traffic through iked tunnel ..
> I will try to reproduce it through ipsec tunnel ..
with isakmpd i've got panic after 5 or more hours
r620-1# uvm_fault(0xffffffff822b2158, 0x137, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at tdb_free+0x9c: movq %rsi,0(%rdi)
TID PID UID PRFLAGS PFLAGS CPU COMMAND
469292 75215 68 0x10 0 2 isakmpd
*142487 42745 0 0x14000 0x40000200 0K softclock
tdb_free(ffff80000118f6e0) at tdb_free+0x9c
tdb_timeout(ffff80000118f6e0) at tdb_timeout+0x77
softclock_thread(ffff8000ffffefc0) at softclock_thread+0x16e
end trace frame: 0x0, count: 12
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}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
75215 469292 76137 68 7 0x10 isakmpd
76137 414524 1 0 3 0x80 netio isakmpd
96813 295173 1 0 3 0x100083 ttyin ksh
19120 299871 1 0 3 0x100098 poll cron
1532 13552 38673 95 3 0x100092 kqread smtpd
26046 463899 38673 103 3 0x100092 kqread smtpd
36828 266802 38673 95 3 0x100092 kqread smtpd
70875 110170 38673 95 3 0x100092 kqread smtpd
94519 66859 38673 95 3 0x100092 kqread smtpd
82071 306235 38673 95 3 0x100092 kqread smtpd
38673 196258 1 0 3 0x100080 kqread smtpd
32975 338908 1 0 3 0x88 select sshd
83970 285872 1 0 3 0x100080 poll ntpd
13501 277269 28135 83 3 0x100092 poll ntpd
28135 154371 1 83 3 0x100092 poll ntpd
46277 200739 37910 73 3 0x100090 kqread syslogd
37910 178152 1 0 3 0x100082 netio syslogd
15169 243641 0 0 3 0x14200 bored smr
72867 54384 0 0 3 0x14200 pgzero zerothread
96747 464994 0 0 3 0x14200 aiodoned aiodoned
21420 278055 0 0 3 0x14200 syncer update
4733 35757 0 0 3 0x14200 cleaner cleaner
65184 477103 0 0 3 0x14200 reaper reaper
74689 248130 0 0 3 0x14200 pgdaemon pagedaemon
63567 184653 0 0 3 0x14200 bored crynlk
25576 473224 0 0 3 0x14200 bored crypto
59824 205269 0 0 3 0x14200 usbtsk usbtask
79880 326022 0 0 3 0x14200 usbatsk usbatsk
92636 507494 0 0 3 0x40014200 acpi0 acpi0
1561 284019 0 0 7 0x40014200 idle5
71732 313587 0 0 7 0x40014200 idle4
50021 333287 0 0 7 0x40014200 idle3
87783 242752 0 0 3 0x40014200 idle2
48193 69868 0 0 7 0x40014200 idle1
80238 196627 0 0 3 0x14200 bored sensors
36233 88931 0 0 3 0x14200 netlock softnet
76181 390400 0 0 3 0x14200 netlock softnet
12911 400662 0 0 3 0x14200 netlock softnet
23428 46363 0 0 3 0x14200 netlock softnet
22304 109508 0 0 3 0x14200 bored systqmp
97244 473960 0 0 3 0x14200 bored systq
*42745 142487 0 0 7 0x40014200 softclock
7369 374311 0 0 3 0x40014200 idle0
1 360880 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}>
ddb{0}> trace /t 0t142487
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
tdb_free(ffff80000118f6e0) at tdb_free+0x9c
tdb_timeout(ffff80000118f6e0) at tdb_timeout+0x77
softclock_thread(ffff8000ffffefc0) at softclock_thread+0x16e
end trace frame: 0x0, count: -4
ddb{0}>
ddb{0}> trace /t 0t469292
sleep_finish(ffff800023906db0,1) at sleep_finish+0x11c
rw_enter(ffffffff82187ca8,1) at rw_enter+0x1c2
solock(fffffd83b1019e10) at solock+0x4b
soo_poll(fffffd83b1989a68,1,ffff8000238fb7a0) at soo_poll+0x34
selscan(ffff8000238fb7a0,ffff800023906fd0,ffff800023906fdc,14,4,ffff8000239071b
0) at selscan+0x14b
dopselect(ffff8000238fb7a0,15,bf1473583e0,bf14736a140,0,ffff8000239070e0) at
dopselect+0x487
sys_pselect(ffff8000238fb7a0,ffff800023907150,ffff8000239071b0) at
sys_pselect+0xdb
syscall(ffff800023907220) at syscall+0x3a9
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd45b0, count: -9
ddb{0}>