Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P508
panic
Archived
Public
Actions
Authored by
ceri
on Jun 15 2021, 1:59 PM.
Edit Paste
Activate Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F23734881: panic
Jun 15 2021, 1:59 PM
2021-06-15 13:59:43 (UTC+0)
Subscribers
None
{ceri@horror}-{/var/crash} % kgdb /boot/kernel/kernel /var/crash/vmcore.last
GNU gdb (GDB) 10.2 [GDB v10.2 for FreeBSD]
Copyright (C) 2021 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-freebsd14.0".
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:
[4449] Kernel page fault with the following non-sleepable locks held:
[4449] exclusive rm pf rulesets (pf rulesets) r = 0 (0xffffffff821697a8) locked @ /usr/home/ceri/git/f/src.local/sys/netpfil/pf/pf_ioctl.c:2458
[4449] stack backtrace:
[4449] #0 0xffffffff80a71521 at witness_debugger+0x71
[4449] #1 0xffffffff80a7263d at witness_warn+0x40d
[4449] #2 0xffffffff80e2ce6e at trap_pfault+0x7e
[4449] #3 0xffffffff80e2c454 at trap+0x294
[4449] #4 0xffffffff80dff8e8 at calltrap+0x8
[4449] #5 0xffffffff82149fa7 at pfioctl+0x7a57
[4449] #6 0xffffffff808a015d at devfs_ioctl+0xcd
[4449] #7 0xffffffff80b00dc1 at vn_ioctl+0x131
[4449] #8 0xffffffff808a081e at devfs_ioctl_f+0x1e
[4449] #9 0xffffffff80a76ce9 at kern_ioctl+0x289
[4449] #10 0xffffffff80a769aa at sys_ioctl+0x12a
[4449] #11 0xffffffff80e2d7ae at amd64_syscall+0x12e
[4449] #12 0xffffffff80e0020e at fast_syscall_common+0xf8
[4449]
[4449]
[4449] Fatal trap 12: page fault while in kernel mode
[4449] cpuid = 0; apic id = 00
[4449] fault virtual address = 0x801822000
[4449] fault code = supervisor write data, page not present
[4449] instruction pointer = 0x20:0xffffffff80e296d6
[4449] stack pointer = 0x28:0xfffffe0052122ba0
[4449] frame pointer = 0x28:0xfffffe0052122ba0
[4449] code segment = base 0x0, limit 0xfffff, type 0x1b
[4449] = DPL 0, pres 1, long 1, def32 0, gran 1
[4449] processor eflags = interrupt enabled, resume, IOPL = 0
[4449] current process = 84595 (pfctl)
[4449] trap number = 12
[4449] panic: page fault
[4449] cpuid = 0
[4449] time = 1623764911
[4449] KDB: stack backtrace:
[4449] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0052122850
[4449] vpanic() at vpanic+0x181/frame 0xfffffe00521228a0
[4449] panic() at panic+0x43/frame 0xfffffe0052122900
[4449] trap_fatal() at trap_fatal+0x387/frame 0xfffffe0052122960
[4449] trap_pfault() at trap_pfault+0x97/frame 0xfffffe00521229c0
[4449] trap() at trap+0x294/frame 0xfffffe0052122ad0
[4449] calltrap() at calltrap+0x8/frame 0xfffffe0052122ad0
[4449] --- trap 0xc, rip = 0xffffffff80e296d6, rsp = 0xfffffe0052122ba0, rbp = 0xfffffe0052122ba0 ---
[4449] copyout_smap_erms() at copyout_smap_erms+0x196/frame 0xfffffe0052122ba0
[4449] pfioctl() at pfioctl+0x7a57/frame 0xfffffe0052123080
[4449] devfs_ioctl() at devfs_ioctl+0xcd/frame 0xfffffe00521230d0
[4449] vn_ioctl() at vn_ioctl+0x131/frame 0xfffffe00521231e0
[4449] devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe0052123200
[4449] kern_ioctl() at kern_ioctl+0x289/frame 0xfffffe0052123270
[4449] sys_ioctl() at sys_ioctl+0x12a/frame 0xfffffe0052123340
[4449] amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe0052123470
[4449] fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0052123470
[4449] --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80125f03a, rsp = 0x7fffffffd448, rbp = 0x7fffffffd4d0 ---
[4449] KDB: enter: panic
__curthread () at /usr/home/ceri/git/f/src.local/sys/amd64/include/pcpu_aux.h:55
warning: Source file is more recent than executable.
55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
(kgdb) backtrace
#0 __curthread () at /usr/home/ceri/git/f/src.local/sys/amd64/include/pcpu_aux.h:55
#1 doadump (textdump=textdump@entry=0) at /usr/home/ceri/git/f/src.local/sys/kern/kern_shutdown.c:399
#2 0xffffffff80481d0a in db_dump (dummy=<optimized out>, dummy2=<unavailable>, dummy3=<unavailable>, dummy4=<unavailable>)
at /usr/home/ceri/git/f/src.local/sys/ddb/db_command.c:575
#3 0xffffffff80481ace in db_command (last_cmdp=<optimized out>, cmd_table=<optimized out>, dopager=dopager@entry=1)
at /usr/home/ceri/git/f/src.local/sys/ddb/db_command.c:482
#4 0xffffffff8048180d in db_command_loop () at /usr/home/ceri/git/f/src.local/sys/ddb/db_command.c:535
#5 0xffffffff80484f96 in db_trap (type=<optimized out>, code=<optimized out>)
at /usr/home/ceri/git/f/src.local/sys/ddb/db_main.c:270
#6 0xffffffff80a4e864 in kdb_trap (type=type@entry=3, code=code@entry=0, tf=<optimized out>, tf@entry=0xfffffe0052122780)
at /usr/home/ceri/git/f/src.local/sys/kern/subr_kdb.c:727
#7 0xffffffff80e2c9d6 in trap (frame=0xfffffe0052122780) at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/trap.c:604
#8 <signal handler called>
#9 kdb_enter (why=0xffffffff80ff521d "panic", msg=<optimized out>) at /usr/home/ceri/git/f/src.local/sys/kern/subr_kdb.c:506
#10 0xffffffff80a01ec2 in vpanic (fmt=<optimized out>, ap=<optimized out>, ap@entry=0xfffffe00521228e0)
at /usr/home/ceri/git/f/src.local/sys/kern/kern_shutdown.c:907
#11 0xffffffff80a01c53 in panic (fmt=0xffffffff81a5d068 <cnputs_mtx> "\\\312\373\200\377\377\377\377")
at /usr/home/ceri/git/f/src.local/sys/kern/kern_shutdown.c:843
#12 0xffffffff80e2cde7 in trap_fatal (frame=0xfffffe0052122ae0, eva=34385043456)
at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/trap.c:943
#13 0xffffffff80e2ce87 in trap_pfault (frame=frame@entry=0xfffffe0052122ae0, usermode=false, signo=<optimized out>,
signo@entry=0x0, ucode=<optimized out>, ucode@entry=0x0) at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/trap.c:760
#14 0xffffffff80e2c454 in trap (frame=0xfffffe0052122ae0) at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/trap.c:438
#15 <signal handler called>
#16 copyout_smap_erms () at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/support.S:867
#17 0xffffffff82149fa7 in pfioctl (dev=<optimized out>, cmd=<optimized out>, addr=0xfffffe0052123290 "", flags=<optimized out>,
td=<optimized out>) at /usr/home/ceri/git/f/src.local/sys/netpfil/pf/pf_ioctl.c:2523
#18 0xffffffff808a015d in devfs_ioctl (ap=0xfffffe00521230e8) at /usr/home/ceri/git/f/src.local/sys/fs/devfs/devfs_vnops.c:943
#19 0xffffffff80b00dc1 in vn_ioctl (fp=0xfffff8000d71b780, com=<optimized out>, data=0xfffffe0052123290,
active_cred=0xfffff80003d34e00, td=0xfffffe008657b000) at /usr/home/ceri/git/f/src.local/sys/kern/vfs_vnops.c:1692
#20 0xffffffff808a081e in devfs_ioctl_f (fp=0x801822000, com=18446741876940193792, data=0x11a0, cred=0x1a0,
td=0xfffffe00865fbc80) at /usr/home/ceri/git/f/src.local/sys/fs/devfs/devfs_vnops.c:874
#21 0xffffffff80a76ce9 in fo_ioctl (fp=<optimized out>, com=3222815751, data=0x8080808080808080, active_cred=0x1a0,
td=0xfffffe00865fbc80) at /usr/home/ceri/git/f/src.local/sys/sys/file.h:356
#22 kern_ioctl (td=<optimized out>, td@entry=0xfffffe00865fbc80, fd=<optimized out>, com=<optimized out>, com@entry=3222815751,
data=0x8080808080808080 <error: Cannot access memory at address 0x8080808080808080>, data@entry=0xfffffe0052123290 "")
at /usr/home/ceri/git/f/src.local/sys/kern/sys_generic.c:803
#23 0xffffffff80a769aa in sys_ioctl (td=0xfffffe00865fbc80, uap=0xfffffe00865fc068)
at /usr/home/ceri/git/f/src.local/sys/kern/sys_generic.c:711
#24 0xffffffff80e2d7ae in syscallenter (td=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/../../kern/subr_syscall.c:189
#25 amd64_syscall (td=0xfffffe00865fbc80, traced=0) at /usr/home/ceri/git/f/src.local/sys/amd64/amd64/trap.c:1184
#26 <signal handler called>
#27 0x000000080125f03a in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffffffd448
(kgdb)
Event Timeline
ceri
created this paste.
Jun 15 2021, 1:59 PM
2021-06-15 13:59:43 (UTC+0)
ceri
created this object in space
S1 Global
.
ceri
archived this paste.
Jun 28 2021, 12:56 PM
2021-06-28 12:56:41 (UTC+0)
Log In to Comment