Date: Tue, 21 May 2019 18:16:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238030] graphics/drm-fbsd12.0-kmod System panic on suspend/resume with drm hang (Sany Bridge) Message-ID: <bug-238030-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238030 Bug ID: 238030 Summary: graphics/drm-fbsd12.0-kmod System panic on suspend/resume with drm hang (Sany Bridge) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jmd@freebsd.org Reporter: rkoberman@gmail.com Assignee: jmd@freebsd.org Flags: maintainer-feedback?(jmd@freebsd.org) When attempting to suspend, the display swithe from X to vt, but did not tu= rn off. The power light was flashing slowly, as it does when suspended, but pressing it did not resume the session and after sitting for a few minutes,= the system paniced and rebooted. I have a core dump. System is ThinkPad 520, Sandy Bridge. FreeBSD rogue 12.0-STABLE FreeBSD 12.0-STABLE r347635 GENERIC_4BSD amd64 drm-fbsd12.0-kmod-4.16.g20190430 >From dmesg: vgapci0: child drmn0 requested pci_disable_io vgapci0: child drmn0 requested pci_disable_io vgapci0: child drmn0 requested pci_set_powerstate pci0: failed to set ACPI power state D3 on \134_SB_.PCI0.VID_: AE_BAD_PARAM= ETER pcib0: failed to set ACPI power state D2 on \134_SB_.PCI0: AE_BAD_PARAMETER acpi0: cleared fixed power button status vgapci0: child drmn0 requested pci_set_powerstate vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io vblank wait timed out on crtc 0 [drm:drm_atomic_helper_wait_for_flip_done] [CRTC:37:pipe A] flip_done timed= out uhub0: 3 ports with 3 removable, self powered uhub1: 3 ports with 3 removable, self powered Fatal trap 1: privileged instruction fault while in kernel mode cpuid =3D 1; apic id =3D 01 instruction pointer =3D 0x20:0xffffffff82abd124 stack pointer =3D 0x28:0xfffffe004e13f520 frame pointer =3D 0x28:0xfffffe004e13f550 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 2715 (VirtualBox) trap number =3D 1 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:577 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:577 WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:622 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:821 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:821 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:821 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:821 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:821 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6a70888/drivers/gpu/drm/= drm_atomic_helper.c:821 WARN_ON(!mutex_is_locked(&dev->struct_mutex)) WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock)) panic: privileged instruction fault cpuid =3D 1 time =3D 1558422039 KDB: stack backtrace: #0 0xffffffff80c13c67 at kdb_backtrace+0x67 #1 0xffffffff80bca6cd at vpanic+0x19d #2 0xffffffff80bca523 at panic+0x43 #3 0xffffffff810a37f4 at trap_fatal+0x394 #4 0xffffffff810a2c0c at trap+0x6c #5 0xffffffff8107db95 at calltrap+0x8 #6 0xffffffff82abca1d at logo_update.ypos+0xcf91 #7 0xffffffff82ad5df4 at logo_update.ypos+0x26368 #8 0xffffffff825e2f3c at supdrvIOCtlFast+0x9c #9 0xffffffff825f236c at VBoxDrvFreeBSDIOCtl+0x5c #10 0xffffffff80a80d6d at devfs_ioctl+0xad #11 0xffffffff81225d2c at VOP_IOCTL_APV+0x7c #12 0xffffffff80ca65e1 at vn_ioctl+0x161 #13 0xffffffff80a8135f at devfs_ioctl_f+0x1f #14 0xffffffff80c31a47 at kern_ioctl+0x267 #15 0xffffffff80c3176d at sys_ioctl+0x15d #16 0xffffffff810a43c4 at amd64_syscall+0x364 #17 0xffffffff8107e47d at fast_syscall_common+0x101 -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --=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-238030-7788>