Hi guys! I've been experiencing problems when powering down my system. It always crash and just reboots having to wait filesystem check every time. I added the file from the crash log.
Code:
FreeBSD elvis 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 ACCELERAT0R amd64
panic: page fault
GNU gdb (GDB) 13.2 [GDB v13.2 for FreeBSD]
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.2".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /boot/kernel/kernel...
Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...
Unread portion of the kernel message buffer:
<118>Stopping sndiod.
<118>Waiting for PIDS: 1084.
<118>Stopping devd.
<118>Waiting for PIDS: 826.
Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address = 0xffffffff821eb008
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff807e829e
stack pointer = 0x28:0xfffffe00cee22a40
frame pointer = 0x28:0xfffffe00cee22a90
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 2043 (mixer)
trap number = 12
panic: page fault
cpuid = 3
time = 1698189234
KDB: stack backtrace:
#0 0xffffffff809d90d5 at kdb_backtrace+0x65
#1 0xffffffff8098ad11 at vpanic+0x151
#2 0xffffffff8098abb3 at panic+0x43
#3 0xffffffff80d47bc7 at trap_fatal+0x387
#4 0xffffffff80d47c1f at trap_pfault+0x4f
#5 0xffffffff80d1c808 at calltrap+0x8
#6 0xffffffff80dd77fc at VOP_OPEN_APV+0x1c
#7 0xffffffff80a84f4f at vn_open_vnode+0x1af
#8 0xffffffff80a84b58 at vn_open_cred+0x688
#9 0xffffffff80a7aa93 at kern_openat+0x283
#10 0xffffffff80d484dc at amd64_syscall+0x10c
#11 0xffffffff80d1d11b at fast_syscall_common+0xf8
Uptime: 1m0s
Dumping 497 out of 8124 MB:..4%..13%..23%..33%..42%..52%..62%..71%..81%..91%
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
(kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1 doadump (textdump=<optimized out>)
at /usr/src/sys/kern/kern_shutdown.c:396
#2 0xffffffff8098a8b9 in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:484
#3 0xffffffff8098ad7e in vpanic (fmt=<optimized out>,
ap=ap@entry=0xfffffe00cee22890) at /usr/src/sys/kern/kern_shutdown.c:923
#4 0xffffffff8098abb3 in panic (fmt=<unavailable>)
at /usr/src/sys/kern/kern_shutdown.c:847
#5 0xffffffff80d47bc7 in trap_fatal (frame=0xfffffe00cee22980,
eva=18446744071597633544) at /usr/src/sys/amd64/amd64/trap.c:942
#6 0xffffffff80d47c1f in trap_pfault (frame=0xfffffe00cee22980,
usermode=false, signo=<optimized out>, ucode=<optimized out>)
at /usr/src/sys/amd64/amd64/trap.c:761
#7 <signal handler called>
#8 devfs_open (ap=0xfffffe00cee22ac0)
at /usr/src/sys/fs/devfs/devfs_vnops.c:1287
#9 0xffffffff80dd77fc in VOP_OPEN_APV (
vop=0xffffffff810a9208 <devfs_specops>, a=a@entry=0xfffffe00cee22ac0)
at vnode_if.c:436
#10 0xffffffff80a84f4f in VOP_OPEN (vp=0xfffff8001bc4e000, mode=3,
cred=0xfffff8007a9dce00, fp=0xfffff80007867dc0, td=<optimized out>)
at ./vnode_if.h:220
#11 vn_open_vnode (vp=0xfffff8001bc4e000, fmode=fmode@entry=3,
cred=cred@entry=0xfffff8007a9dce00, td=td@entry=0xfffffe00ce0e5c80,
fp=0xfffff80007867dc0) at /usr/src/sys/kern/vfs_vnops.c:444
#12 0xffffffff80a84b58 in vn_open_cred (ndp=ndp@entry=0xfffffe00cee22cb8,
flagp=flagp@entry=0xfffffe00cee22dd4, cmode=cmode@entry=0,
vn_open_flags=vn_open_flags@entry=16, cred=0x1, fp=0xfffff8007a9dce00)
at /usr/src/sys/kern/vfs_vnops.c:331
#13 0xffffffff80a7aa93 in kern_openat (td=0xfffffe00ce0e5c80, fd=-100,
path=0x3712249641d3 <error: Cannot access memory at address 0x3712249641d3>, pathseg=<optimized out>, flags=3, mode=<optimized out>)
at /usr/src/sys/kern/vfs_syscalls.c:1158
#14 0xffffffff80d484dc in syscallenter (td=0xfffffe00ce0e5c80)
at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:190
#15 amd64_syscall (td=0xfffffe00ce0e5c80, traced=0)
at /usr/src/sys/amd64/amd64/trap.c:1183
#16 <signal handler called>
#17 0x0000371225ccef1a in ?? ()
Backtrace stopped: Cannot access memory at address 0x3712249638f8
(kgdb)