On Sat, May 07, 2022 at 07:47:12PM +1000, Joel Sing wrote: > After upgrading an OpenBSD arm64 (pine64+ board) Go builder to 7.1, the > following has been triggered twice (once every couple of days): > > panic: kernel diagnostic assertion "kn->kn_kq == kq" failed: file > "/usr/src/sys/kern/kern_event.c", line 1811 > Stopped at panic+0x160: cmp w21, #0x0 > TID PID UID PRFLAGS PFLAGS CPU COMMAND > 152330 84924 1001 0x3 0x4000000 3 http.test > *427942 85055 1001 0x3 0x4000000 1 net.test > 460437 53928 0 0x14000 0x200 2 tztq > 197440 95098 0 0x14000 0x200 0 softnet > db_enter() at panic+0x15c > panic() at __assert+0x24 > panic() at knote_remove+0x2c4 > knote_remove() at knote_fdclose+0x88 > knote_fdclose() at fdrelease+0x94 > fdrelease() at svc_handler+0x2d4 > svc_handler() at do_el0_sync+0xa0 > > This was stable with 7.0, hence seems to be a regression between 7.0 and 7.1 > (presumably unlocking related).
Thanks for the report. I will take a look.
