On 11/3/21 10:36, Ed Maste wrote:
On Tue, 2 Nov 2021 at 18:32, Michael Butler via freebsd-emulation
<freebsd-emulation@freebsd.org> wrote:
Before reporting this, I rebuilt world including kernel, all kmods and
virtualbox itself to no avail :-(
Thanks for confirming.
Now that the WARN_ON noise is disabled by default would you mind
rebuilding a new kernel and obtaining a less-noisy log?
Dump header from device: /dev/ada1s3b
Architecture: amd64
Architecture Version: 2
Dump Length: 853581824
Blocksize: 512
Compression: none
Dumptime: 2021-11-03 10:57:00 -0400
Hostname: toshi.auburn.protected-networks.net
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 14.0-CURRENT #50 main-dbfe5dd3f9: Wed Nov 3
10:26:58 EDT 2021
r...@toshi.auburn.protected-networks.net:/usr/obj/usr/src/amd64.amd64/sys/TOSHI
Panic String: page fault
Dump Parity: 351593830
Bounds: 0
Dump Status: good
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x0
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80ca54e4
stack pointer = 0x28:0xfffffe0129a6ab80
frame pointer = 0x28:0xfffffe0129a6ab80
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 = 1384 (plasmashell)
trap number = 12
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex)
failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:666
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARN_ON(!mutex_is_locked(&dev->struct_mutex))
WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))
panic: page fault
cpuid = 0
time = 1635951420
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex)
failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:666
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARN_ON(!mutex_is_locked(&dev->struct_mutex))
WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))
Uptime: 1m22s
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:621
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex)
failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:666
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.144_2/drivers/gpu/drm/drm_atomic_helper.c:871
WARN_ON(!mutex_is_locked(&dev->struct_mutex))
WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))
Dumping 814 out of 16257
MB:..2%..12%..22%..32%..42%..52%..61%..71%..81%..91%
The kgdb back-trace isn't any more enlightening to me :-(
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n"
(offsetof(struct pcpu,
(kgdb) bt
#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:399
#2 0xffffffff808cbac5 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:487
#3 0xffffffff808cbedb in vpanic (fmt=<optimized out>,
ap=0xfffffe0129a6a8d0) at /usr/src/sys/kern/kern_shutdown.c:920
#4 0xffffffff808cbd33 in panic (fmt=<unavailable>) at
/usr/src/sys/kern/kern_shutdown.c:844
#5 0xffffffff80ca920c in trap_fatal
(frame=frame@entry=0xfffffe0129a6aac0, eva=0) at
/usr/src/sys/amd64/amd64/trap.c:946
#6 0xffffffff80ca95af in trap_pfault
(frame=frame@entry=0xfffffe0129a6aac0, usermode=false, signo=<optimized
out>, signo@entry=0x0, ucode=<optimized out>, ucode@entry=0x0)
at /usr/src/sys/amd64/include/cpufunc.h:417
#7 0xffffffff80ca89bc in trap (frame=0xfffffe0129a6aac0) at
/usr/src/sys/amd64/amd64/trap.c:443
#8 <signal handler called>
#9 strlen () at /usr/src/sys/amd64/amd64/support.S:751
#10 0xffffffff808b4d79 in sysctl_kern_proc_pathname (oidp=<optimized
out>, arg1=0xfffffe0129a6ad8c, arg2=<optimized out>,
req=0xfffffe0129a6acc0) at /usr/src/sys/kern/kern_proc.c:2330
#11 0xffffffff808dc331 in sysctl_root_handler_locked
(oid=oid@entry=0xffffffff810cf0e0 <sysctl___kern_proc_pathname>,
arg1=arg1@entry=0xfffffe0129a6ad8c, arg2=arg2@entry=1,
req=0xfffffe0129a6acc0, tracker=tracker@entry=0xfffffe0129a6ac38)
at /usr/src/sys/kern/kern_sysctl.c:185
#12 0xffffffff808db88b in sysctl_root (oidp=<optimized out>,
arg1=0xfffffe0129a6ad8c, arg1@entry=0xfffffe0129a6ad80, arg2=1,
arg2@entry=4, req=req@entry=0xfffffe0129a6acc0)
at /usr/src/sys/kern/kern_sysctl.c:2305
#13 0xffffffff808dbdf3 in userland_sysctl
(td=td@entry=0xfffffe012991a000, name=name@entry=0xfffffe0129a6ad80,
namelen=4, old=<optimized out>, oldlenp=<optimized out>,
inkernel=<optimized out>, inkernel@entry=0, new=0x0, newlen=0,
retval=0xfffffe0129a6ade8, flags=0) at /usr/src/sys/kern/kern_sysctl.c:2462
#14 0xffffffff808dbc3c in sys___sysctl (td=0xfffffe012991a000,
uap=0xfffffe012991a3f0) at /usr/src/sys/kern/kern_sysctl.c:2335
#15 0xffffffff80ca9b5c in syscallenter (td=0xfffffe012991a000) at
/usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189
#16 amd64_syscall (td=0xfffffe012991a000, traced=0) at
/usr/src/sys/amd64/amd64/trap.c:1191
#17 <signal handler called>
#18 0x000000080315a71a in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffffffc778
(kgdb)
Michael