Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2020 21:59:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247153] emulators/virtualbox-ose-kmod System crash on VM resume after system upgrade
Message-ID:  <bug-247153-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247153

            Bug ID: 247153
           Summary: emulators/virtualbox-ose-kmod System crash on VM
                    resume after system upgrade
           Product: Base System
           Version: 12.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rkoberman@gmail.com

After I updated my 12-STABLE system yesterday I can no longer resume a paus=
ed
VM (Windows7). I get a system crash. I rolled back to my previous version,
r361980 but the VM shows "Powered off" and the system still crashes at some
point in the VM boot. Full dumps available.

Sue to all of the drm related stuff in hte backtrace, I am going to try
backingupto a slightly earlier kernel and see if I can get the VM to boot.

Both drm-fbsd12.0-kmod-4.16.g20200221  and virtualbox-ose-kmod-5.2.34 were
rebuilt after the kernel build using PORTS_MODULE.

Here is the backtrace from the first crash.
Fatal trap 12: page fault while in kernel mode
cpuid =3D 1; apic id =3D 01
fault virtual address   =3D 0x105887000
fault code              =3D supervisor write data, page not present
instruction pointer     =3D 0x20:0xffffffff82a93ce0
stack pointer           =3D 0x28:0xfffffe004e780390
frame pointer           =3D 0x28:0xfffffe004e7803f0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 2161 (VirtualBox)
trap number             =3D 12
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:577
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff828686bd at drm_atomic_helper_check_modeset+0xcd
#2 0xffffffff827b135f at intel_atomic_check+0x1f
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:577
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff828686bd at drm_atomic_helper_check_modeset+0xcd
#2 0xffffffff827b135f at intel_atomic_check+0x1f
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:622
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82868840 at drm_atomic_helper_check_modeset+0x250
#2 0xffffffff827b135f at intel_atomic_check+0x1f
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:821
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82869917 at drm_atomic_helper_check_planes+0xa7
#2 0xffffffff827b207c at intel_atomic_check+0xd3c
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:821
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82869917 at drm_atomic_helper_check_planes+0xa7
#2 0xffffffff827b207c at intel_atomic_check+0xd3c
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:821
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82869917 at drm_atomic_helper_check_planes+0xa7
#2 0xffffffff827b207c at intel_atomic_check+0xd3c
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:821
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82869917 at drm_atomic_helper_check_planes+0xa7
#2 0xffffffff827b207c at intel_atomic_check+0xd3c
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:821
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82869917 at drm_atomic_helper_check_planes+0xa7
#2 0xffffffff827b207c at intel_atomic_check+0xd3c
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
#11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
WARNING !drm_modeset_is_locked(&plane->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC.4BSD/usr/ports/graphics/drm-fbsd12=
.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_atomic_helper.c:821
#0 0xffffffff828df413 at linux_dump_stack+0x23
#1 0xffffffff82869917 at drm_atomic_helper_check_planes+0xa7
#2 0xffffffff827b207c at intel_atomic_check+0xd3c
#3 0xffffffff828666bb at drm_atomic_check_only+0x2ab
#4 0xffffffff82866a63 at drm_atomic_commit+0x13
#5 0xffffffff82892a88 at restore_fbdev_mode_atomic+0x1c8
#6 0xffffffff8288edaa at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#7 0xffffffff828b4767 at vt_kms_postswitch+0x127
#8 0xffffffff80a21a7a at vt_window_switch+0x13a
#9 0xffffffff80a1eaef at vtterm_cngrab+0x1f
#10 0xffffffff80b54fc6 at cngrab+0x16
11 0xffffffff80bb52d5 at vpanic+0xe5
#12 0xffffffff80bb51e3 at panic+0x43
#13 0xffffffff8107f331 at trap_fatal+0x391
#14 0xffffffff8107f38f at trap_pfault+0x4f
#15 0xffffffff8107e9d6 at trap+0x286
#16 0xffffffff81058d48 at calltrap+0x8
#17 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
<4>WARN_ON(!mutex_is_locked(&dev->struct_mutex))

<4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock=
))
panic: page fault
cpuid =3D 1
time =3D 1591763184
KDB: stack backtrace:
#0 0xffffffff80bfe565 at kdb_backtrace+0x65
#1 0xffffffff80bb536b at vpanic+0x17b
#2 0xffffffff80bb51e3 at panic+0x43
#3 0xffffffff8107f331 at trap_fatal+0x391
#4 0xffffffff8107f38f at trap_pfault+0x4f
#5 0xffffffff8107e9d6 at trap+0x286
#6 0xffffffff81058d48 at calltrap+0x8
#7 0xffffffff82a81867 at logo_update.ypos+0xcfe1b
#8 0xffffffff829d5ba0 at logo_update.ypos+0x24154
#9 0xffffffff829ce173 at logo_update.ypos+0x1c727
#10 0xffffffff829c4831 at logo_update.ypos+0x12de5
#11 0xffffffff82a9ab46 at logo_update.ypos+0xe90fa
#12 0xffffffff829d7b24 at logo_update.ypos+0x260d8
#13 0xffffffff824f0f77 at supdrvIOCtlFast+0xb7
#14 0xffffffff8250029b at VBoxDrvFreeBSDIOCtl+0x5b
#15 0xffffffff80a6fd30 at devfs_ioctl+0xb0
#16 0xffffffff811ff36b at VOP_IOCTL_APV+0x7b
#17 0xffffffff80c9058a at vn_ioctl+0x16a
Uptime: 6m35s

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247153-227>