Also: lock order reversal: 1st 0xffffffff81df80f8 &sched_lock (&sched_lock) @ /usr/src/sys/kern/kern_synch.c:444 2nd 0xffff800000159270 &dev_priv->irq_lock (&dev_priv->irq_lock) @ /usr/src/sys/dev/pci/drm/i915/intel_lrc.c:1645 lock order "&dev_priv->irq_lock"(mutex) -> "&sched_lock"(sched_lock) first seen at: #0 witness_checkorder+0x4c0 #1 ___mp_lock+0x70 #2 wakeup_n+0x39 #3 task_add+0x93 #4 gen6_rps_boost+0x129 #5 __i915_wait_request+0x155 #6 i915_wait_request+0x97 #7 i915_gem_object_wait_rendering+0x19c #8 i915_gem_object_sync+0x6c #9 i915_gem_object_pin_to_display_plane+0x2e #10 intel_pin_and_fence_fb_obj+0x1cd #11 intel_prepare_plane_fb+0xb4 #12 drm_atomic_helper_prepare_planes+0x6b #13 intel_atomic_commit+0x52 #14 drm_atomic_helper_set_config+0x80 #15 drm_mode_setcrtc+0x36f #16 drm_do_ioctl+0x221 #17 drmioctl+0xf9 #18 VOP_IOCTL+0x5a
On Wed, Dec 19, 2018 at 11:49:59AM -0500, David Hill wrote: > Hello - > > Received this: > > lock order reversal: > 1st 0xffffffff81de09e8 &sched_lock (&sched_lock) @ > /usr/src/sys/kern/kern_synch.c:444 > 2nd 0xffff800000159270 &dev_priv->irq_lock (&dev_priv->irq_lock) @ > /usr/src/sys/dev/pci/drm/i915/intel_lrc.c:1645 > lock order "&sched_lock"(sched_lock) -> "&dev_priv->irq_lock"(mutex) first > seen at: > #0 witness_checkorder+0x4c0 > #1 _mtx_enter+0x31 > #2 gen8_logical_ring_put_irq+0x36 > #3 __i915_wait_request+0x367 > #4 i915_gem_wait_ioctl+0x4b6 > #5 drm_do_ioctl+0x221 > #6 drmioctl+0xf9 > #7 VOP_IOCTL+0x5a > #8 vn_ioctl+0x6b > #9 sys_ioctl+0x404 > #10 syscall+0x32a > #11 Xsyscall+0x128 > > > OpenBSD 6.4-current (GENERIC.MP) #19: Tue Dec 18 20:15:24 EST 2018 > [email protected]:/sys/arch/amd64/compile/GENERIC.MP > real mem = 8485691392 (8092MB) > avail mem = 8150355968 (7772MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xaceed000 (81 entries) > bios0: vendor American Megatrends Inc. version "5.6.5" date 03/01/2016 > bios0: Intel Corporation SharkBay Platform > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S1 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI LPIT SSDT ASF! > SSDT SSDT SSDT DMAR CSRT > acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) > PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) > PXSX(S4) RP05(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz, 2889.01 MHz, 06-3d-04 > 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,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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,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 2 (application processor) > cpu1: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz, 2879.66 MHz, 06-3d-04 > 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,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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz, 2877.31 MHz, 06-3d-04 > 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,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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz, 2879.51 MHz, 06-3d-04 > 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,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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu3: 256KB 64b/line 8-way L2 cache > cpu3: smt 1, core 1, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins > acpimadt0: bogus nmi for apid 2 > acpimadt0: bogus nmi for apid 1 > acpimadt0: bogus nmi for apid 3 > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG0) > acpiprt2 at acpi0: bus -1 (PEG1) > acpiprt3 at acpi0: bus -1 (PEG2) > acpiprt4 at acpi0: bus 1 (RP01) > acpiprt5 at acpi0: bus -1 (RP02) > acpiprt6 at acpi0: bus -1 (RP03) > acpiprt7 at acpi0: bus 2 (RP04) > acpiprt8 at acpi0: bus -1 (RP05) > acpiprt9 at acpi0: bus -1 (RP06) > acpiprt10 at acpi0: bus -1 (RP07) > acpiprt11 at acpi0: bus -1 (RP08) > acpiec0 at acpi0 > 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: PG00, resource for PEG0 > acpipwrres1 at acpi0: PG01, resource for PEG1 > acpipwrres2 at acpi0: PG02, resource for PEG2 > acpitz0 at acpi0: critical temperature is 110 degC > acpitz1 at acpi0: critical temperature is 110 degC > acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 > acpibat0 at acpi0: BAT0 model "S10" type LION oem "TPS" > acpicmos0 at acpi0 > "INT33A1" at acpi0 not configured > acpiac0 at acpi0: AC unit online > acpibtn0 at acpi0: LID0 > acpibtn1 at acpi0: PWRB > acpibtn2 at acpi0: SLPB > "TPS0001" at acpi0 not configured > "INT3420" at acpi0 not configured > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD1F > cpu0: Enhanced SpeedStep 2889 MHz: speeds: 3101, 3100, 3000, 2700, 2500, > 2400, 2200, 2000, 1800, 1600, 1400, 1200, 1100, 900, 700, 500 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09 > inteldrm0 at pci0 dev 2 function 0 "Intel Iris Graphics 6100" rev 0x09 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1920x1080, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: 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 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured > azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x03: msi > azalia1: codecs: Realtek ALC269 > audio0 at azalia1 > ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3 > pci1 at ppb0 bus 1 > ppb1 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xe3: msi > pci2 at ppb1 bus 2 > "Atheros AR9462" rev 0x01 at pci2 dev 0 function 0 not configured > ehci0 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x03: apic 2 int 23 > 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 9 Series LPC" rev 0x03 > ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi, AHCI 1.3 > ahci0: port 0: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0> SCSI3 0/direct > fixed naa.5002538d40ca47d8 > sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin > ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x03: apic 2 int > 18 > iic0 at ichiic0 > spdmem0 at iic0 addr 0x50: 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, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation) > efifb at mainbus0 not configured > urtwn0 at uhub0 port 4 configuration 1 interface 0 "Realtek 802.11n NIC" rev > 2.00/0.00 addr 2 > urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address c0:25:e9:30:a2:1b > ugen0 at uhub0 port 6 "Lite-On Technology product 0x300d" rev 1.10/0.01 addr 3 > uvideo0 at uhub0 port 7 configuration 1 interface 0 "0x0001 USB 2.0 Camera" > rev 2.00/60.24 addr 4 > video0 at uvideo0 > uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.03 addr 2 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (8fcafd3450898e7b.a) swap on sd0b dump on sd0b >
