On 2021/03/14 09:34, Fox Steward wrote:
> Hello again.
>
> in another test I removed the external crypto device (micro sd card) entirely,
> And still I get a kernel panic (see below).
>
> When I do not start the services httpd, smtpd, dovecot the crash does not
> seem to occur. I will start the services one by one to see which one
> produces the crash. Otherwise, I could also sysupgrade to -current.
> Any support is welcome.
>
> Thank you.
This one feels like filesystem corruption to me.
I would see if forcing fsck helps anything, and if not then try
recreating the filesystems (backup/newfs/restore).
If you do ps /o (which will list active processes) that may give a clue
as to what's triggering it, which may point to a particular fs.
> ===== START DDB LOG =====
>
> ddb{0}> show panic
> bad dir
> ddb{0}> trace
> db_enter() at db_enter+0x10
> panic(ffffffff81e12148) at panic+0x12a
> ufs_lookup() at ufs_lookup+0xed1
> VOP_LOOKUP(fffffd817df6b0d0,ffff800021ffa0c8,ffff800021ffa070)
> at VOP_LOOKUP+0x
> 46
> unveil_find_cover(fffffd817df6b0d0,ffff800022164a08) at
> unveil_find_cover+0xff
> unveil_add_vnode(ffff800022164a08,fffffd817df6b0d0) at
> unveil_add_vnode+0x168
> unveil_add(ffff800022164a08,ffff800021ffa238,ffff800021ffa313)
> at unveil_add+0x
> 335
> sys_unveil(ffff800022164a08,ffff800021ffa370,ffff800021ffa3d0)
> at sys_unveil+0x
> 2b4
> syscall(ffff800021ffa440) at syscall+0x389
> Xsyscall() at Xsyscall+0x128
> end of kernel
> end trace frame: 0x7f7ffffef7e0, count: -10
> ddb{0}> trace
> db_enter() at db_enter+0x10
> panic(ffffffff81e12148) at panic+0x12a
> ufs_lookup() at ufs_lookup+0xed1
> VOP_LOOKUP(fffffd817df6b0d0,ffff800021ffa0c8,ffff800021ffa070)
> at VOP_LOOKUP+0x
> 46
> unveil_find_cover(fffffd817df6b0d0,ffff800022164a08) at
> unveil_find_cover+0xff
> unveil_add_vnode(ffff800022164a08,fffffd817df6b0d0) at
> unveil_add_vnode+0x168
> unveil_add(ffff800022164a08,ffff800021ffa238,ffff800021ffa313)
> at unveil_add+0x
> 335
> sys_unveil(ffff800022164a08,ffff800021ffa370,ffff800021ffa3d0)
> at sys_unveil+0x
> 2b4
> syscall(ffff800021ffa440) at syscall+0x389
> Xsyscall() at Xsyscall+0x128
> end of kernel
> end trace frame: 0x7f7ffffef7e0, count: -10
> ddb{0}> show pani
> bad dir
> ddb{0}> show panic
> bad dir
> ddb{0}> trace
> db_enter() at db_enter+0x10
> panic(ffffffff81e12148) at panic+0x12a
> ufs_lookup() at ufs_lookup+0xed1
> VOP_LOOKUP(fffffd817df6b0d0,ffff800021ffa0c8,ffff800021ffa070)
> at VOP_LOOKUP+0x
> 46
> unveil_find_cover(fffffd817df6b0d0,ffff800022164a08) at
> unveil_find_cover+0xff
> unveil_add_vnode(ffff800022164a08,fffffd817df6b0d0) at
> unveil_add_vnode+0x168
> unveil_add(ffff800022164a08,ffff800021ffa238,ffff800021ffa313)
> at unveil_add+0x
> 335
> sys_unveil(ffff800022164a08,ffff800021ffa370,ffff800021ffa3d0)
> at sys_unveil+0x
> 2b4
> syscall(ffff800021ffa440) at syscall+0x389
> Xsyscall() at Xsyscall+0x128
> end of kernel
> end trace frame: 0x7f7ffffef7e0, count: -10
> ddb{0}> machine ddbcpu 1
> Stopped at x86_ipi_db+0x12: leave
> x86_ipi_db(ffff800021f38ff0) 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+0x11f
> sched_idle(ffff800021f38ff0) at sched_idle+0x27e
> end trace frame: 0x0, count: 10
> ddb{1}> trace
> x86_ipi_db(ffff800021f38ff0) 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+0x11f
> sched_idle(ffff800021f38ff0) at sched_idle+0x27e
> end trace frame: 0x0, count: -5
> ddb{1}> ps
> PID TID PPID UID S FLAGS WAIT
> COMMAND
> 81780 42576 1 0 7 0x2
> getty
> 60611 275784 26394 518 3 0x92 kqread
> stats
> 34433 117386 18366 0 3 0x100083 ttyin
> ksh
> 45134 320729 26394 0 3 0x92 kqread
> config
> 53995 328845 26394 0 3 0x92 kqread
> log
> 79218 61722 26394 518 3 0x92 kqread
> anvil
> 26394 21383 1 0 3 0x80 kqread
> dovecot
> 57755 70198 11653 95 3 0x100092 kqread
> smtpd
> 19506 169291 11653 103 3 0x100092 kqread
> smtpd
> 61810 276101 11653 95 3 0x100092 kqread
> smtpd
> 69218 374657 11653 95 3 0x100092 kqread
> smtpd
> 40948 456626 11653 95 3 0x100092 kqread
> smtpd
> 21457 75905 11653 95 3 0x100092 kqread
> smtpd
> 11653 80772 1 0 3 0x100080 kqread
> smtpd
> 88536 295847 1 0 3 0x100080 kqread
> httpd
> 18782 144491 1 67 3 0x100092 kqread
> httpd
> 17744 118446 1 67 3 0x100092 kqread
> httpd
> 83374 401707 57866 1002 3 0x100083 ttyin
> ksh
> 57866 248670 18366 0 3 0x10008b pause
> ksh
> 53462 146176 58708 1001 3 0x100083 select
> ssh
> 58708 22987 72824 1001 3 0x10008b pause
> sh
> 72824 447139 70163 1001 3 0x10008b pause
> ksh
> 70163 182517 18366 0 3 0x10008b pause
> ksh
> 18366 281120 1 0 3 0x100080 kqread
> tmux
> 79009 142808 1 0 2 0x100498
> cron
> 5693 30231 1 99 3 0x100090 poll
> sndiod
> 74591 290304 1 110 3 0x100090 poll
> sndiod
> 63006 103137 1 0 3 0x80 select
> sshd
> 69894 458624 43814 74 2 0x100492
> pflogd
> 43814 37456 1 0 3 0x80 netio
> pflogd
> 13025 464312 60894 73 2 0x100090
> syslogd
> 60894 448841 1 0 3 0x100082 netio
> syslogd
> 43218 459868 55016 115 3 0x100092 kqread
> slaacd
> 17783 49830 55016 115 3 0x100092 kqread
> slaacd
> 55016 56863 1 0 3 0x100080 kqread
> slaacd
> 87845 79654 0 0 3 0x14200 bored
> smr
> 53099 388833 0 0 3 0x14200 pgzero
> zerothread
> 49980 310575 0 0 3 0x14200 aiodoned
> aiodoned
> 15293 350718 0 0 2 0x14200
> update
> 90921 349238 0 0 3 0x14200 cleaner
> cleaner
> 76050 152034 0 0 3 0x14200 reaper
> reaper
> 59192 115222 0 0 3 0x14200 pgdaemon
> pagedaemon
> 37532 310829 0 0 3 0x14200 bored
> crynlk
> 17186 39304 0 0 3 0x14200 bored
> crypto
> 13578 330823 0 0 2 0x14200
> sensors
> 3003 14738 0 0 2 0x14200
> usbtask
> 28936 494199 0 0 3 0x14200 usbatsk
> usbatsk
> 16948 87809 0 0 2 0x40014200
> acpi0
> *63137 185629 0 0 7 0x40014200
> idle1
> 75901 324425 0 0 2 0x14200
> softnet
> 69236 183994 0 0 2 0x14200
> systqmp
> 69705 169850 0 0 3 0x14200 bored
> systq
> 62210 465299 0 0 2 0x40014200
> softclock
> 31271 489010 0 0 3 0x40014200
> idle0
> 1 175885 0 0 3 0x82 wait
> init
> 0 0 -1 0 3 0x10200 scheduler
> swapper
>