>Synopsis: inteldrm displayport panic >Category: kernel amd64 >Environment: System : OpenBSD 7.6 Details : OpenBSD 7.6-current (GENERIC.MP) #9: Sat Feb 22 12:19:55 CET 2025 lor...@xha.li:/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64 Machine : amd64 >Description: inteldrm panics when connecting a displayport cable to a thunderbolt dock. same thing happens when booting with the cable connected. it used to work before, however, it does not with the import of the latest drm. since saving the panic does not work somehow, i have transcribed it: uvm_fault(0xffffffff82a51658, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at intel_dp_add_mst_connector+0x394 [/sys/dev/pci/drm/i915/display/intel_dp_mst.c:1690]: movq 0(%rax),%rsi TID PID UID PRFLAGS PFLAGS CPU COMMAND 329617 3872 0 0x100002 0 0 ctfconv 149004 77005 0 0x14000 0x200 1 i1915-dp 262811 17778 0 0x14000 0x200 3 drmlwq *276160 86830 0 0x14000 0x200 2K drmlwq intel_dp_add_mst_connector(ffff8000011c0680, ffff8000011b5000, ffff800035738bd0) at intel_dp_add_mst_connector+0x394 [/sys/dev/pci/drm/i915/display/intel_dp_mst.c:1690] drm_dp_mst_port_add_connector(ffff8000014a6680, ffff8000011b5000) at drm_dp_mst_port_add_connector+0x162 [/sys/dev/pci/drm/display/drm_dp_mst_topology.c:2286] drm_dp_send_link_address(ffff8000011c0680, ffff8000014a6680) at drm_dp_send_link_address+0x78f [/sys/dev/pci/drm/display/drm_dp_mst_topology.c:2457] drm_dp_check_and_send_link_address(ffff8000011c0680, ffff8000014a6680) at drm_dp_check_and_send_link_address+0x38 [/sys/dev/pci/drm/display/drm_dp_mst_topology.c:0] drm_dp_mst_link_probe_work(ffff8000011c0a30) at drm_dp_mst_link_probe_work+0x20d [/sys/dev/pci/drm/display/drm_dp_mst_topology.c:2700] taskq_thread(ffff8000002fc880) at taskq_thread+0x129 [/sys/kern/kern_task.c:449] end trace frame: 0x0, count: 9 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{2}> >How-To-Repeat: connect displayport cable to thunderbolt dock (display connected on the other side). i don't know and cannot test if it is related to the thunerbolt dock or a general displayport problem. >Fix: unknown. commenting out the drm_dbg_kms() call makes it crash at another place instead. dmesg: OpenBSD 7.6-current (GENERIC.MP) #9: Sat Feb 22 12:19:55 CET 2025 lor...@xha.li:/sys/arch/amd64/compile/GENERIC.MP real mem = 16846938112 (16066MB) avail mem = 16309817344 (15554MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x70368000 (53 entries) bios0: vendor LENOVO version "R1EET46W(1.46 )" date 12/08/2021 bios0: LENOVO 20TD0005GE efi0 at bios0: UEFI 2.7 efi0: Lenovo rev 0x12e0 acpi0 at bios0: ACPI 6.1 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT ECDT HPET APIC MCFG SSDT SSDT SSDT NHLT SSDT SSDT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM SSDT BATB DMAR SSDT BGRT PTDT UEFI FPDT acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEGP(S4) XHCI(S3) XDCI(S3) HDAS(S3) RP01(S3) PXSX(S4) RP02(S3) PXSX(S4) RP03(S3) PXSX(S4) RP04(S3) PXSX(S4) RP05(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpihpet0 at acpi0: 19200000 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4521.26 MHz, 06-8c-01, patch 000000b8 cpu0: cpuid 1 edx=bfebfbff<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> ecx=77fafbbf<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> cpu0: cpuid 6 eax=17eff7<SENSOR,ARAT> ecx=9<EFFFREQ> cpu0: cpuid 7.0 ebx=f3bfa7eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL> ecx=18c05fce<AVX512VBMI,UMIP,PKU> edx=fc100710<SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD> cpu0: cpuid a vers=5, gp=8, gpwidth=48, ff=4, ffwidth=48 cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=121<LAHF,ABM,3DNOWP> cpu0: cpuid 80000007 edx=100<ITSC> cpu0: msr 10a=a005c6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,RFDS_NO> cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 20-way L2 cache, 12MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 38MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4528.72 MHz, 06-8c-01, patch 000000b8 cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4090.57 MHz, 06-8c-01, patch 000000b8 cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4090.57 MHz, 06-8c-01, patch 000000b8 cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xc0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PC00) acpiprt1 at acpi0: bus 2 (PEG0) acpiprt2 at acpi0: bus 3 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus 4 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus 7 (RP09) acpiprt11 at acpi0: bus -1 (RP10) acpiprt12 at acpi0: bus -1 (RP11) acpiprt13 at acpi0: bus -1 (RP12) acpiprt14 at acpi0: bus -1 (RP13) acpiprt15 at acpi0: bus -1 (RP14) acpiprt16 at acpi0: bus -1 (RP15) acpiprt17 at acpi0: bus -1 (RP16) acpiprt18 at acpi0: bus -1 (RP17) acpiprt19 at acpi0: bus -1 (RP18) acpiprt20 at acpi0: bus -1 (RP19) acpiprt21 at acpi0: bus -1 (RP20) acpiprt22 at acpi0: bus -1 (RP21) acpiprt23 at acpi0: bus -1 (RP22) acpiprt24 at acpi0: bus -1 (RP23) acpiprt25 at acpi0: bus -1 (RP24) acpiprt26 at acpi0: bus 8 (TRP0) acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001 acpithinkpad0 at acpi0: version 2.0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "5B10X026" serial 3555 type LiP oem "SMP" "PNP0C60" at acpi0 not configured "LEN0111" at acpi0 not configured "LEN0100" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "LEN0130" at acpi0 not configured "LEN0071" at acpi0 not configured "LEN2145" at acpi0 not configured "ACPI000E" at acpi0 not configured pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 360 pins acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB(wakeup) "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpibtn2 at acpi0: LID_(wakeup) "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "INTC1040" at acpi0 not configured "PNP0C14" at acpi0 not configured "USBC000" at acpi0 not configured acpipwrres0 at acpi0: PUBS, resource for XHCI acpipwrres1 at acpi0: V0PR acpipwrres2 at acpi0: V1PR acpipwrres3 at acpi0: V2PR acpipwrres4 at acpi0: PXTC acpipwrres5 at acpi0: WRST acpipwrres6 at acpi0: TBT0, resource for TDM0, TRP0, TRP1 acpipwrres7 at acpi0: TBT1, resource for TDM1, TRP2, TRP3 acpipwrres8 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2, TRP3 acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpipwrres9 at acpi0: PIN_ acpipwrres10 at acpi0: PINP acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F acpivout1 at acpivideo0: DD2F cpu0: Enhanced SpeedStep 4521 MHz: speeds: 2701, 2700, 2600, 2500, 2300, 2100, 1900, 1700, 1600, 1400, 1200, 1100, 900, 700, 600, 400 MHz pci0 at mainbus0 bus 0 0:31:5: mem address conflict 0xfe010000/0x1000 pchb0 at pci0 dev 0 function 0 "Intel Core 11G Host" rev 0x01 inteldrm0 at pci0 dev 2 function 0 "Intel Xe Graphics" rev 0x01 drm0 at inteldrm0 inteldrm0: msi, TIGERLAKE, gen 12 "Intel Core 11G DTT" rev 0x01 at pci0 dev 4 function 0 not configured ppb0 at pci0 dev 6 function 0 "Intel Core 11G PCIE" rev 0x01: msi pci1 at ppb0 bus 2 nvme0 at pci1 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, NVMe 1.3 nvme0: Samsung SSD 970 EVO Plus 2TB, firmware 2B2QEXM7, serial S4J4NM0W330551L scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q> sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors ppb1 at pci0 dev 7 function 0 "Intel Core 11G PCIE" rev 0x01: msi pci2 at ppb1 bus 8 ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x15ef rev 0x06 pci3 at ppb2 bus 9 ppb3 at pci3 dev 2 function 0 vendor "Intel", unknown product 0x15ef rev 0x06: msi pci4 at ppb3 bus 10 xhci0 at pci4 dev 0 function 0 vendor "Intel", unknown product 0x15f0 rev 0x06: msi, xHCI 1.10 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 ppb4 at pci3 dev 4 function 0 vendor "Intel", unknown product 0x15ef rev 0x06: msi pci5 at ppb4 bus 11 "Intel Core 11G SRAM" rev 0x01 at pci0 dev 10 function 0 not configured xhci1 at pci0 dev 13 function 0 "Intel Core 11G xHCI" rev 0x01: msi, xHCI 1.20 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 2 not configured xhci2 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x20: msi, xHCI 1.20 usb2 at xhci2: USB revision 3.0 uhub2 at usb2 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 500 Series Shared SRAM" rev 0x20 at pci0 dev 20 function 2 not configured dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2 int 27 iic0 at dwiic0 dwiic1 at pci0 dev 21 function 2 "Intel 500 Series I2C" rev 0x20: apic 2 int 29 iic1 at dwiic1 "Intel 500 Series HECI" rev 0x20 at pci0 dev 22 function 0 not configured ppb5 at pci0 dev 28 function 0 "Intel 500 Series PCIE" rev 0x20 pci6 at ppb5 bus 3 ppb6 at pci0 dev 28 function 2 "Intel 500 Series PCIE" rev 0x20: msi pci7 at ppb6 bus 4 re0 at pci7 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address 8c:8c:aa:64:9e:63 rgephy0 at re0 phy 7: RTL8251, rev. 0 ppb7 at pci0 dev 29 function 0 "Intel 500 Series PCIE" rev 0x20: msi pci8 at ppb7 bus 7 nvme1 at pci8 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, NVMe 1.3 nvme1: Samsung SSD 970 EVO Plus 2TB, firmware 2B2QEXM7, serial S4J4NM0W330548H scsibus2 at nvme1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q> sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors pcib0 at pci0 dev 31 function 0 "Intel 500 Series eSPI" rev 0x20 azalia0 at pci0 dev 31 function 3 "Intel 500 Series HD Audio" rev 0x20: msi azalia0: codecs: Realtek ALC257, Intel/0x2812, using Realtek ALC257 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 500 Series SMBus" rev 0x20: apic 2 int 16 iic2 at ichiic0 "Intel 500 Series SPI" rev 0x20 at pci0 dev 31 function 5 not configured 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 pms0: Elantech Clickpad, version 4, firmware 0x6f3001 wsmouse1 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x27 vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured uhub3 at uhub0 port 2 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/51.53 addr 2 uhub4 at uhub3 port 1 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/51.33 addr 3 uhub5 at uhub4 port 1 configuration 1 interface 0 "Lenovo USB2.0 HUB" rev 2.00/60.52 addr 4 uaudio0 at uhub5 port 2 configuration 1 interface 1 "Lenovo ThinkPad Thunderbolt 3 Dock USB Audio" rev 2.01/0.92 addr 5 uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 4 ctls audio1 at uaudio0 uhidev0 at uhub5 port 2 configuration 1 interface 3 "Lenovo ThinkPad Thunderbolt 3 Dock USB Audio" rev 2.01/0.92 addr 5 uhidev0: iclass 3/0, 16 report ids ucc0 at uhidev0 reportid 1: 6 usages, 3 keys, enum wskbd1 at ucc0 mux 1 uhid0 at uhidev0 reportid 2: input=2, output=0, feature=0 uhid1 at uhidev0 reportid 3: input=0, output=2, feature=0 uhid2 at uhidev0 reportid 4: input=0, output=38, feature=0 uhid3 at uhidev0 reportid 5: input=34, output=0, feature=0 uhid4 at uhidev0 reportid 6: input=0, output=36, feature=0 uhid5 at uhidev0 reportid 7: input=32, output=0, feature=0 uhid6 at uhidev0 reportid 16: input=2, output=0, feature=0 uhidev1 at uhub4 port 4 configuration 1 interface 0 "Razer Razer DeathAdder Essential" rev 2.00/2.00 addr 6 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons, Z dir wsmouse2 at ums0 mux 0 uhidev2 at uhub4 port 4 configuration 1 interface 1 "Razer Razer DeathAdder Essential" rev 2.00/2.00 addr 6 uhidev2: iclass 3/0, 5 report ids ukbd0 at uhidev2 reportid 1: 8 variable keys, 6 key codes wskbd2 at ukbd0 mux 1 ucc1 at uhidev2 reportid 2: 573 usages, 20 keys, array wskbd3 at ucc1 mux 1 uhid7 at uhidev2 reportid 3: input=15, output=0, feature=0 uhid8 at uhidev2 reportid 4: input=15, output=0, feature=0 uhid9 at uhidev2 reportid 5: input=15, output=0, feature=0 uhidev3 at uhub4 port 4 configuration 1 interface 2 "Razer Razer DeathAdder Essential" rev 2.00/2.00 addr 6 uhidev3: iclass 3/0 ukbd1 at uhidev3: 8 variable keys, 6 key codes wskbd4 at ukbd1 mux 1 uftdi0 at uhub3 port 2 configuration 1 interface 0 "FTDI FT232R USB UART" rev 2.00/6.00 addr 7 ucom0 at uftdi0 portno 1: usb0.2.00002.0 ugen0 at uhub3 port 5 "VIA Labs, Inc. 40AN" rev 2.01/10.30 addr 8 uhub6 at uhub0 port 4 configuration 1 interface 0 "VIA Labs, Inc. USB3.1 Hub" rev 3.10/51.53 addr 9 uhub7 at uhub6 port 1 configuration 1 interface 0 "VIA Labs, Inc. USB3.1 Hub" rev 3.10/51.33 addr 10 ure0 at uhub7 port 2 configuration 1 interface 0 "Realtek ThinkPad TBT 3 Dock" rev 3.00/31.01 addr 11 ure0: RTL8153B (0x6010), address 08:3a:88:59:9a:18 rgephy1 at ure0 phy 0: RTL8251, rev. 0 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets softraid0: sd2 was not shutdown properly sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1C, 006> sd2: 1907728MB, 512 bytes/sector, 3907027583 sectors root on sd2a (cb52860e8ae25c1f.a) swap on sd2b dump on sd2b WARNING: / was not properly unmounted inteldrm0: 1920x1080, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wskbd3: connecting to wsdisplay0 wskbd4: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation)