rw_enter: drrs locking against myself

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

rw_enter: drrs locking against myself

Greg Steuck-5
>Synopsis: panic: rw_enter: drrs locking against myself
>Category: acpi/drm
>Environment:
        System      : OpenBSD 6.9
        Details     : OpenBSD 6.9-beta (GENERIC.MP) #0: Sat Feb 13 14:00:12 PST 2021
                         [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:

        The kernel panic'd on wake up. The preserved dmesg is below, it has
        seemingly relevant pre-panic chatter.

        rw_enter: drrs locking against myself
        db_enter() at db_enter+0x10
        panic(ffffffff81e2461f) at panic+0x12a
        rw_enter(ffff80000025a578,1) at rw_enter+0x26f
        intel_edp_drrs_flush(ffff800000258000,101) at intel_edp_drrs_flush+0x64
        __intel_fb_flush(ffff800000cccf00,4,101) at __intel_fb_flush+0x9d
        __i915_gem_object_flush_frontbuffer(ffff800000cc6f40,4) at __i915_gem_object_flush_frontbuffer+0x84
        intel_prepare_plane_fb(ffff8000005ca400,ffff8000012a6e00) at intel_prepare_plane_fb+0x2b1
        drm_atomic_helper_prepare_planes(ffff800000258078,ffff8000012a8000) at drm_atomic_helper_prepare_planes+0x7e
        intel_atomic_commit(ffff800000258078,ffff8000012a8000,0) at intel_atomic_commit+0xda
        drm_client_modeset_commit_atomic(ffff800000cb6800,1) at drm_client_modeset_commit_atomic+0x158
        drm_client_modeset_commit_locked(ffff800000cb6800) at drm_client_modeset_commit_locked+0x53
        drm_fb_helper_restore_fbdev_mode_unlocked(ffff800000cb6800) at drm_fb_helper_restore_fbdev_mode_unlocked+0x44
        intel_fbdev_restore_mode(ffff800000258078) at intel_fbdev_restore_mode+0x33
        db_ktrap(6,0,ffff8000227a9460) at db_ktrap+0x2c
        kerntrap(ffff8000227a9460) at kerntrap+0xa2
        alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
        intel_edp_drrs_flush(ffff800000258000,101) at intel_edp_drrs_flush+0x7b
        __intel_fb_flush(ffff800000cccf00,4,101) at __intel_fb_flush+0x9d
        __i915_gem_object_flush_frontbuffer(ffff800000cc6f40,4) at __i915_gem_object_flush_frontbuffer+0x84
        intel_prepare_plane_fb(ffff8000005ca400,ffff8000012a6800) at intel_prepare_plane_fb+0x2b1
        drm_atomic_helper_prepare_planes(ffff800000258078,ffff80000122b800) at drm_atomic_helper_prepare_planes+0x7e
        intel_atomic_commit(ffff800000258078,ffff80000122b800,0) at intel_atomic_commit+0xda
        drm_atomic_helper_commit_duplicated_state(ffff80000122b800,ffff8000227a97b0) at drm_atomic_helper_commit_duplicated_state+0x11d
        __intel_display_resume(ffff800000258078,ffff80000122b800,ffff8000227a97b0) at __intel_display_resume+0xb4
        intel_display_resume(ffff800000258078) at intel_display_resume+0x90
        i915_drm_resume(ffff800000258078) at i915_drm_resume+0x122
        inteldrm_activate(ffff800000258000,5) at inteldrm_activate+0x97
        config_activate_children(ffff80000015a500,5) at config_activate_children+0x85
        config_activate_children(ffff800000031180,5) at config_activate_children+0x85
        config_suspend_all(5) at config_suspend_all+0x147
        acpi_sleep_state(ffff80000002e400,1) at acpi_sleep_state+0x370
        acpi_sleep_task(ffff80000002e400,1) at acpi_sleep_task+0x1d
        acpi_thread(ffff8000001754a0) at acpi_thread+0x1c8
        end trace frame: 0x0, count: -33

>How-To-Repeat:
        Not sure if I can easily repro, something to do with multiple displays and the
        external one switching to a different input may be implicated.
>Fix:
        Unknown

ACPI dump: https://blackgnezdo.github.io/hp-elitebook-840.tgz 

dmesg:

OpenBSD 6.9-beta (GENERIC.MP) #0: Sat Feb 13 14:00:12 PST 2021
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17055608832 (16265MB)
avail mem = 16523354112 (15757MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbbe3f000 (33 entries)
bios0: vendor Hewlett-Packard version "L71 Ver. 01.20" date 07/28/2014
bios0: Hewlett-Packard HP EliteBook 840 G1
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SSDT FPDT BGRT SSDT SSDT SSDT SSDT SSDT ASF! DMAR
acpi0: wakeup devices LANC(S5) EHC1(S3) XHC_(S3) PCIB(S5) NIC_(S5) RP04(S5) WNIC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.71 MHz, 06-45-01
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz, 06-45-01
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.39 MHz, 06-45-01
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz, 06-45-01
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 40 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP04)
acpiprt4 at acpi0: bus 3 (RP06)
acpiprt5 at acpi0: bus -1 (RP07)
acpiprt6 at acpi0: bus -1 (RP08)
acpiec0 at acpi0
"HPQ6001" at acpi0 not configured
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
"PNP0A06" at acpi0 not configured
"SYN3003" at acpi0 not configured
"HPQ6007" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "Primary" serial 41076 2014/09/16 type LIon oem "Hewlett-Packard"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
"PNP0C14" at acpi0 not configured
tpm0 at acpi0 GTPM addr 0xfed40000/0x5000, Infineon SLB9635 1.2 rev 0x10
"INT33A0" at acpi0 not configured
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: APPR, resource for HDEF
acpipwrres1 at acpi0: COMP, resource for COM1
acpipwrres2 at acpi0: LPP_, resource for LPT0
acpipwrres3 at acpi0: PXP6, resource for RP06
acpitz0 at acpi0: critical temperature is 128 degC
acpitz1 at acpi0: critical temperature is 128 degC
acpitz2 at acpi0: critical temperature is 128 degC
acpitz3 at acpi0: critical temperature is 128 degC
acpitz4 at acpi0: critical temperature is 128 degC
acpitz5 at acpi0: critical temperature is 128 degC
acpitz6 at acpi0: critical temperature is 128 degC
acpitz7 at acpi0: critical temperature is 128 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD01
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2701, 2700, 2600, 2400, 2300, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1100, 1000, 800, 756 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x0b
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b
drm0 at inteldrm0
inteldrm0: msi, HASWELL, gen 7
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x0b: msi
azalia0: No codecs found
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel I218-LM" rev 0x04: msi, address 34:64:*
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi
azalia1: codecs: IDT/0x76e0
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi
pci2 at ppb1 bus 2
iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0x73, msi
ppb2 at pci0 dev 28 function 5 "Intel 8 Series PCIE" rev 0xe4: msi
pci3 at ppb2 bus 3
ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 0 int 17
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSC2BF18, LH6i> naa.55cd2e404b57893b
sd0: 171705MB, 512 bytes/sector, 351651888 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 0 int 18
iic0 at ichiic0
iic0: addr 0x2c 80=04 81=04 82=04 83=04 84=04 85=04 86=04 87=04 fd=01 words 00=ffff 01=ffff 02=ffff 03=ffff 04=ffff 05=ffff 06=ffff 07=ffff
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhub2 at uhub0 port 3 configuration 1 interface 0 "SMSC USB2134B" rev 2.10/50.00 addr 2
ugen0 at uhub2 port 2 "Intel product 0x07dc" rev 2.00/0.01 addr 3
ugen1 at uhub0 port 5 "Validity Sensors product 0x003f" rev 1.10/1.04 addr 4
uvideo0 at uhub0 port 7 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. HP HD Webcam" rev 2.00/66.63 addr 5
video0 at uvideo0
uhub3 at uhub0 port 12 configuration 1 interface 0 "SMSC USB5534B" rev 3.00/50.00 addr 6
uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (86a971afbc66ee3f.a) swap on sd0b dump on sd0b
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x140, fw ver 17.3216344376.0, address 80:19:*
ugen0 detached
uhub2 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub3 detached
uhub0 detached
uhub4 detached
uhub1 detached
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 3 configuration 1 interface 0 "SMSC USB2134B" rev 2.10/50.00 addr 2
drm : drm_WARN_ON(!intel_irqs_enabled(dev_priv))ugen0 at uhub2 port 2 "Intel product 0x07dc" rev 2.00/0.01 addr 3
uhub3 at uhub2 port 4 configuration 1 interface 0 "GenesysLogic USB2.0 Hub" rev 2.00/92.16 addr 4
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Yubico Yubico Gnubby (gnubby1)" rev 2.00/0.97 addr 5
uhidev0: iclass 3/0
fido0 at uhidev0: input=64, output=64, feature=0
uvideo0 at uhub3 port 2 configuration 1 interface 0 "Logitech HD Pro Webcam C920" rev 2.00/0.19 addr 6
video0 at uvideo0
uaudio0 at uhub3 port 2 configuration 1 interface 3 "Logitech HD Pro Webcam C920" rev 2.00/0.19 addr 6
uaudio0: class v1, high-speed, sync, channels: 0 play, 2 rec, 2 ctls
audio1 at uaudio0
uhidev1 at uhub3 port 3 configuration 1 interface 0 "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 7
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev2 at uhub3 port 4 configuration 1 interface 0 "Kinesis Advantage2 Keyboard" rev 2.00/1.00 addr 8
uhidev2: iclass 3/1
ums1 at uhidev2: 3 buttons, Z dir
wsmouse2 at ums1 mux 0
uhidev3 at uhub3 port 4 configuration 1 interface 1 "Kinesis Advantage2 Keyboard" rev 2.00/1.00 addr 8
uhidev3: iclass 3/1
ukbd0 at uhidev3: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev4 at uhub3 port 4 configuration 1 interface 2 "Kinesis Advantage2 Keyboard" rev 2.00/1.00 addr 8
uhidev4: iclass 3/0, 2 report ids
uhid0 at uhidev4 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev4 reportid 2: input=1, output=0, feature=0
ugen1 at uhub0 port 5 "Validity Sensors product 0x003f" rev 1.10/1.04 addr 9
uvideo1 at uhub0 port 7 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. HP HD Webcam" rev 2.00/66.63 addr 10
video1 at uvideo1
uhub4 at uhub0 port 12 configuration 1 interface 0 "SMSC USB5534B" rev 3.00/50.00 addr 11
uhub5 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2
ugen0 detached
fido0 detached
uhidev0 detached
video0 detached
uvideo0 detached
audio1 detached
uaudio0 detached
wsmouse1 detached
ums0 detached
uhidev1 detached
wsmouse2 detached
ums1 detached
uhidev2 detached
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev3 detached
uhid0 detached
uhid1 detached
uhidev4 detached
uhub3 detached
uhub2 detached
ugen1 detached
video1 detached
uvideo1 detached
drm:pid76163:intel_dp_link_training_clock_recovery *ERROR* [drm] *ERROR* failed to enable link training
uhub4 detached
uhub0 detached
uhub5 detached
uhub1 detached
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
drm:pid76163:intel_dp_aux_xfer *ERROR* [drm] *ERROR* AUX A/port A: not done (status 0x000300e1)
drm : drm_WARN_ON(!intel_irqs_enabled(dev_priv))drm : drm_WARN_ON(!intel_irqs_enabled(dev_priv))vblank wait timed out on crtc 0
vblank wait timed out on crtc 0
uhub2 at uhub0 port 3 configuration 1 interface 0 "SMSC USB2134B" rev 2.10/50.00 addr 2
ugen0 at uhub2 port 2 "Intel product 0x07dc" rev 2.00/0.01 addr 3
uhub3 at uhub2 port 4 configuration 1 interface 0 "GenesysLogic USB2.0 Hub" rev 2.00/92.16 addr 4
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Yubico Yubico Gnubby (gnubby1)" rev 2.00/0.97 addr 5
uhidev0: iclass 3/0
fido0 at uhidev0: input=64, output=64, feature=0
uhidev1 at uhub3 port 3 configuration 1 interface 0 "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 6
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
ugen1 at uhub0 port 5 "Validity Sensors product 0x003f" rev 1.10/1.04 addr 7
uvideo0 at uhub0 port 7 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. HP HD Webcam" rev 2.00/66.63 addr 8
video0 at uvideo0
uhub4 at uhub0 port 12 configuration 1 interface 0 "SMSC USB5534B" rev 3.00/50.00 addr 9
uhub5 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2
uvideo1 at uhub3 port 2 configuration 1 interface 0 "Logitech HD Pro Webcam C920" rev 2.00/0.19 addr 10
video1 at uvideo1
uaudio0 at uhub3 port 2 configuration 1 interface 3 "Logitech HD Pro Webcam C920" rev 2.00/0.19 addr 10
uaudio0: class v1, high-speed, sync, channels: 0 play, 2 rec, 2 ctls
audio1 at uaudio0
uhidev2 at uhub3 port 4 configuration 1 interface 0 "Kinesis Advantage2 Keyboard" rev 2.00/1.00 addr 11
uhidev2: iclass 3/1
ums1 at uhidev2: 3 buttons, Z dir
wsmouse2 at ums1 mux 0
uhidev3 at uhub3 port 4 configuration 1 interface 1 "Kinesis Advantage2 Keyboard" rev 2.00/1.00 addr 11
uhidev3: iclass 3/1
ukbd0 at uhidev3: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev4 at uhub3 port 4 configuration 1 interface 2 "Kinesis Advantage2 Keyboard" rev 2.00/1.00 addr 11
uhidev4: iclass 3/0, 2 report ids
uhid0 at uhidev4 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev4 reportid 2: input=1, output=0, feature=0
[drm] *ERROR* [CRTC:45:pipe \\] flip_done timed out
attached crtc is active, but connector isn't
crtc active state doesn't match with hw state (expected 1, found 0)
[ENCODER:76] active 0 with crtc active 1
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in cpu_transcoder 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in lane_count 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in dp_m_n 0xffff80002277cbc8V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in dp_m2_n2 0xffff80002277cbc8V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in output_types 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_hdisplay 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_htotal 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_hblank_start 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_hblank_end 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_hsync_start 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_hsync_end 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_vdisplay 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_vtotal 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_vblank_start 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_vblank_end 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_vsync_start 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_vsync_end 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in pixel_multiplier 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in output_format 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.flags 0xffff80002277cbf8V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.flags 0xffff80002277cbf8V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in pipe_src_w 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in pipe_src_h 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in pixel_rate 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in csc_mode 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in gamma_enable 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in linetime 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in ips_linetime 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in shared_dpll 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in pipe_bpp 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in hw.adjusted_mode.crtc_clock 0xffff80002277cc08V
drm:pid76163:pipe_config_mismatch *ERROR* [drm] *ERROR* [CRTC:45:pipe \\] mismatch in port_clock 0xffff80002277cc08V
pipe state doesn't match!
WARNING !list_empty(&dev->vblank_event_list) failed at /home/greg/s/src/sys/dev/pci/drm/drm_vblank.c:1323
WARNING !list_empty(&dev->vblank_event_list) failed at /home/greg/s/src/sys/dev/pci/drm/drm_vblank.c:1323
WARNING !list_empty(&dev->vblank_event_list) failed at /home/greg/s/src/sys/dev/pci/drm/drm_vblank.c:1323
drm : drm_WARN_ON(put_domains)drm : drm_WARN_ON(was_visible)uvm_fault(0xffffffff8220ff68, 0x4a8, 0, 1) -> e
drm : drm_WARN_ON(was_visible)Global state not read locked
panic: rw_enter: drrs locking against myself
Stopped at db_enter+0x10: popq %rbp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND                      
  52457  87676     35    0x100010          0    2  xconsole                      
 451149  55361     77    0x100010       0x80    3  dhclient                      
 428258  71563      0     0x14000      0x200    1  drmwq                          
*267777    932      0     0x14000 0x40000200    0K acpi0                          
db_enter() at db_enter+0x10
panic(ffffffff81e2461f) at panic+0x12a
rw_enter(ffff80000025a578,1) at rw_enter+0x26f
intel_edp_drrs_flush(ffff800000258000,101) at intel_edp_drrs_flush+0x64
__intel_fb_flush(ffff800000cccf00,4,101) at __intel_fb_flush+0x9d
__i915_gem_object_flush_frontbuffer(ffff800000cc6f40,4) at __i915_gem_object_flush_frontbuffer+0x84
intel_prepare_plane_fb(ffff8000005ca400,ffff8000012a6e00) at intel_prepare_plane_fb+0x2b1
drm_atomic_helper_prepare_planes(ffff800000258078,ffff8000012a8000) at drm_atomic_helper_prepare_planes+0x7e
intel_atomic_commit(ffff800000258078,ffff8000012a8000,0) at intel_atomic_commit+0xda
drm_client_modeset_commit_atomic(ffff800000cb6800,1) at drm_client_modeset_commit_atomic+0x158
drm_client_modeset_commit_locked(ffff800000cb6800) at drm_client_modeset_commit_locked+0x53
drm_fb_helper_restore_fbdev_mode_unlocked(ffff800000cb6800) at drm_fb_helper_restore_fbdev_mode_unlocked+0x44
intel_fbdev_restore_mode(ffff800000258078) at intel_fbdev_restore_mode+0x33
db_ktrap(6,0,ffff8000227a9460) at db_ktrap+0x2c
end trace frame: 0xffff8000227a9450, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}>    PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND        
 85106  131264      1   1000  3        0xb2  poll          xlock          
  6637  378740  52375   1000  3    0x200082  poll          xmobar        
 62070  484650  52375   1000  3    0x1000b0  poll          ssh-agent      
   807  161035      1   1000  3        0x82  select        xwrits        
 52375  364966   6611   1000  3    0x200082  poll          xmonad-x86_64-op
  6611  262898  57606   1000  3    0x10008a  sigsusp       sh            
 87676   52457      1     35  7    0x100010                xconsole      
 28968  363923      1      0  3        0x80  netio         xconsole      
 57606   22486  26639      0  3    0x100080  wait          xenodm        
 76755   55003  24503      0  3    0x100080  netio         Xorg          
 71126  487599      1      0  3    0x100083  ttyin         getty          
 63599  159102      1      0  3    0x100083  ttyin         getty          
 69052  444367      1      0  3    0x100083  ttyin         getty          
 20031  446128      1      0  3    0x100083  ttyin         getty          
 74652  469451      1      0  3    0x100083  ttyin         getty          
 24503  382479  26639     35  3        0x12  drmioc        Xorg          
 24503  232787  26639     35  3   0x4000092  poll          Xorg          
 26639  270363      1      0  3        0x88  sigsusp       xenodm        
 10437  141659      1      0  3    0x100098  poll          cron          
 41749  204976      1      0  3        0x80  kqread        apmd          
 36580  101054      1     99  3    0x100090  poll          sndiod        
 21587   43258      1    110  3    0x100090  poll          sndiod        
 37179  479048      1      0  3    0x100080  kqread        vmd            
 20437  130263      1    107  3    0x100092  kqread        vmd            
 42391  116922      1    107  3    0x100092  kqread        vmd            
 93990  216323      1      0  3        0x92  kqread        vmd            
 55566  113893      1      0  3        0x80  select        sshd          
 81496  462987      1      0  3    0x100080  poll          ntpd          
 53179  388720  73833     83  3    0x100092  poll          ntpd          
 73833  477282      1     83  3    0x100092  poll          ntpd          
 69739  185697  20788     74  3    0x100092  bpf           pflogd        
 20788  462170      1      0  3        0x80  netio         pflogd        
 86704  205269  23197     73  3    0x100090  kqread        syslogd        
 23197  469249      1      0  3    0x100082  netio         syslogd        
  1660  266135      1     77  3    0x100090  poll          dhclient      
 75212  509158      1      0  3        0x80  poll          dhclient      
 55361  451149      1     77  7    0x100090                dhclient      
 82892  280411      1      0  3        0x80  poll          dhclient      
 95284  135293  66882    115  3    0x100092  kqread        slaacd        
 31483  132905  66882    115  3    0x100092  kqread        slaacd        
 66882  329073      1      0  3    0x100080  kqread        slaacd        
 80869  243156      0      0  3     0x14200  bored         i915-userptr-acq
 41126  440569      0      0  3     0x14200  bored         i915_flip      
 49344  522103      0      0  3     0x14200  bored         i915_modeset  
 56828  301418      0      0  3     0x14200  bored         i915-dp        
 74877  496481      0      0  3     0x14200  bored         i915          
 64575  442992      0      0  3     0x14200  bored         smr            
 72441  204319      0      0  3     0x14200  pgzero        zerothread    
 29784  237342      0      0  3     0x14200  aiodoned      aiodoned      
 84318   53621      0      0  3     0x14200  syncer        update        
 87047  160994      0      0  3     0x14200  cleaner       cleaner        
 82077  397218      0      0  3     0x14200  reaper        reaper        
 68792  408248      0      0  3     0x14200  pgdaemon      pagedaemon    
 95467  160111      0      0  3     0x14200  bored         crynlk        
 43609  112395      0      0  3     0x14200  bored         crypto        
 90774   17329      0      0  3     0x14200  bored         iwmns          
 18399  268165      0      0  3     0x14200  usbtsk        usbtask        
 44981  110451      0      0  3     0x14200  usbatsk       usbatsk        
 32593  249830      0      0  3     0x14200  bored         drmtskl        
 77632  262851      0      0  3     0x14200  bored         drmlwq        
 44054  512640      0      0  3     0x14200  bored         drmlwq        
 92255  230158      0      0  3     0x14200  bored         drmlwq        
 37906  386065      0      0  3     0x14200  bored         drmlwq        
 47603  300405      0      0  3     0x14200  bored         drmubwq        
   379  128096      0      0  3     0x14200  bored         drmubwq        
 19521  488996      0      0  3     0x14200  bored         drmubwq        
 73966  451936      0      0  3     0x14200  bored         drmubwq        
  3914  168323      0      0  3     0x14200  bored         drmhpwq        
 20635  335179      0      0  3     0x14200  bored         drmhpwq        
 23834   25137      0      0  3     0x14200  bored         drmhpwq        
 11652  200599      0      0  3     0x14200  bored         drmhpwq        
 35403   66492      0      0  2     0x14200                drmwq          
 53490  314262      0      0  2     0x14200                drmwq          
 71563  428258      0      0  7     0x14200                drmwq          
 67639  406703      0      0  3     0x14200  bored         drmwq          
*  932  267777      0      0  7  0x40014200                acpi0          
 30725  348176      0      0  3  0x40014200                idle3          
 83289  101780      0      0  3  0x40014200                idle2          
         
 89007  186572      0      0  3     0x14200  bored         sensors        
 65497  289124      0      0  3     0x14200  bored         softnet        
 30927   32982      0      0  3     0x14200  bored         systqmp        
 76163  260778      0      0  2     0x14200                systq          
  2127  245939      0      0  3  0x40014200  bored         softclock      
 53285  260521      0      0  3  0x40014200                idle0          
     1   50660      0      0  3        0x82  wait          init          
     0       0     -1      0  3     0x10200  scheduler     swapper        
ddb{0}> rw_enter: drrs locking against myself
ddb{0}> db_enter() at db_enter+0x10
panic(ffffffff81e2461f) at panic+0x12a
rw_enter(ffff80000025a578,1) at rw_enter+0x26f
intel_edp_drrs_flush(ffff800000258000,101) at intel_edp_drrs_flush+0x64
__intel_fb_flush(ffff800000cccf00,4,101) at __intel_fb_flush+0x9d
__i915_gem_object_flush_frontbuffer(ffff800000cc6f40,4) at __i915_gem_object_flush_frontbuffer+0x84
intel_prepare_plane_fb(ffff8000005ca400,ffff8000012a6e00) at intel_prepare_plane_fb+0x2b1
drm_atomic_helper_prepare_planes(ffff800000258078,ffff8000012a8000) at drm_atomic_helper_prepare_planes+0x7e
intel_atomic_commit(ffff800000258078,ffff8000012a8000,0) at intel_atomic_commit+0xda
drm_client_modeset_commit_atomic(ffff800000cb6800,1) at drm_client_modeset_commit_atomic+0x158
drm_client_modeset_commit_locked(ffff800000cb6800) at drm_client_modeset_commit_locked+0x53
drm_fb_helper_restore_fbdev_mode_unlocked(ffff800000cb6800) at drm_fb_helper_restore_fbdev_mode_unlocked+0x44
intel_fbdev_restore_mode(ffff800000258078) at intel_fbdev_restore_mode+0x33
db_ktrap(6,0,ffff8000227a9460) at db_ktrap+0x2c
kerntrap(ffff8000227a9460) at kerntrap+0xa2
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
intel_edp_drrs_flush(ffff800000258000,101) at intel_edp_drrs_flush+0x7b
__intel_fb_flush(ffff800000cccf00,4,101) at __intel_fb_flush+0x9d
__i915_gem_object_flush_frontbuffer(ffff800000cc6f40,4) at __i915_gem_object_flush_frontbuffer+0x84
intel_prepare_plane_fb(ffff8000005ca400,ffff8000012a6800) at intel_prepare_plane_fb+0x2b1
drm_atomic_helper_prepare_planes(ffff800000258078,ffff80000122b800) at drm_atomic_helper_prepare_planes+0x7e
intel_atomic_commit(ffff800000258078,ffff80000122b800,0) at intel_atomic_commit+0xda
drm_atomic_helper_commit_duplicated_state(ffff80000122b800,ffff8000227a97b0) at drm_atomic_helper_commit_duplicated_state+0x11d
__intel_display_resume(ffff800000258078,ffff80000122b800,ffff8000227a97b0) at __intel_display_resume+0xb4
intel_display_resume(ffff800000258078) at intel_display_resume+0x90
i915_drm_resume(ffff800000258078) at i915_drm_resume+0x122
inteldrm_activate(ffff800000258000,5) at inteldrm_activate+0x97
config_activate_children(ffff80000015a500,5) at config_activate_children+0x85
config_activate_children(ffff800000031180,5) at config_activate_children+0x85
config_suspend_all(5) at config_suspend_all+0x147
acpi_sleep_state(ffff80000002e400,1) at acpi_sleep_state+0x370
acpi_sleep_task(ffff80000002e400,1) at acpi_sleep_task+0x1d
acpi_thread(ffff8000001754a0) at acpi_thread+0x1c8
end trace frame: 0x0, count: -33
ddb{0}> PROC (acpi0) pid=267777 stat=onproc
    flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
    pri=0, usrpri=50, nice=20
    forw=0xffffffffffffffff, list=0xffff800022768d20,0xffff800022769cf0
    process=0xffff80002279cbf0 user=0xffff8000227a4000, vmspace=0xffffffff8220ff68
    estcpu=0, cpticks=0, pctcpu=0.14
    user=0, sys=0, intr=0
addb{0}> syncing disks...16 16 16 16  d