Hi,

sorry to not having being able to test the drm upgrade on this machine
earlier, but the new drm code hangs on boot shorly after attachine
drm, clearing the screen and displaying:

wsdisplay0 at inteldrm0 mux1: console (std, vt100, emulation), using
wskbd1

It's not a hard hang (the capslock led still toggles, and the CPU
don't seem to go full speed, power use stays uner 1A at 19V), but I
can't enter DDB nor do a Ctl+Alt+Del to trigger a reboot.
I've the latest BIOS for this machine.

a kernel built with DRMDEBUG shows a bit more information after
cleaning the screen.

wsdisplay0 at inteldrm0 mux1: console (std, vt100, emulation), using wskbd1
[drm] OBJ ID: 241 (7)
[drm] OBJ ID: 250 (2)
[drm] OBJ ID: 257 (2)
[drm] OBJ ID: 267 (2)
[drm] OBJ ID: 276 (2)
[drm] OBJ ID: 285 (2)
[drm] OBJ ID: 295 (1)
[drm] OBJ ID: 241 (5)
[drm] OBJ ID: 241 (5)
[drm] OBJ ID: 293 (1)
[drm] OBJ ID: 294 (5)
[drm] OBJ ID: 294 (4)
[drm] OBJ ID: 297 (1)
[drm] OBJ ID: 241 (4)
[drm] OBJ ID: 241 (3)
[drm] OBJ ID: 241 (4)
[drm] OBJ ID: 250 (2)
[drm] OBJ ID: 257 (2)
[drm] OBJ ID: 267 (2)
[drm] OBJ ID: 276 (2)
[drm] OBJ ID: 285 (2)
[drm] OBJ ID: 294 (3)
[drm] OBJ ID: 294 (4)
[drm] OBJ ID: 242 (1)
[drm] OBJ ID: 294 (5)
[drm] OBJ ID: 294 (6)
[drm] OBJ ID: 241 (4)
[drm] OBJ ID: 241 (5)
[drm] OBJ ID: 241 (5)
[drm] OBJ ID: 241 (4)
[drm] OBJ ID: 294 (5)
[drm] OBJ ID: 294 (4)
[drm] enabling vblank on crtc0, ret: 0
[drm] vblank event on 16, current 16
[drm] OBJ ID: 241 (5)
[drm] OBJ ID: 241 (4)
[drm] OBJ ID: 242 (2)
[drm] OBJ ID: 294 (5)
[drm] OBJ ID: 294 (4)
[drm] disabling vblank on crtc0
<<< hangs here >>>


A dmesg from an earlier kernel :
OpenBSD 7.6-current (GENERIC.MP) #173: Fri Jan 24 15:56:12 CET 2025
    matth...@peach.herrb.net:/usr/obj/GENERIC.MP
real mem = 68347465728 (65181MB)
avail mem = 66251751424 (63182MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.4 @ 0x3df17000 (54 entries)
bios0: vendor INSYDE Corp. version "03.08" date 12/25/2023
bios0: Framework Laptop (12th Gen Intel Core)
efi0 at bios0: UEFI 2.8
efi0: INSYDE Corp. rev 0x308
acpi0 at bios0: ACPI 6.3
acpi0: sleep states S0ix S3 S4 S5
acpi0: tables DSDT FACP UEFI SSDT SSDT SSDT SSDT SSDT SSDT SSDT TPM2 MSDM SSDT 
LPIT WSMT SSDT SSDT DBGP DBG2 NHLT ECDT HPET APIC MCFG SSDT DMAR SSDT SSDT SSDT 
SSDT FPDT PHAT ASF! BGRT
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEGP(S4) XHCI(S4) XDCI(S4) 
HDAS(S4) CNVW(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) [...]
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: 12th Gen Intel(R) Core(TM) i7-1260P, 1554.28 MHz, 06-9a-03, patch 00000435
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=77fafbff<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>
cpu0: cpuid 6 eax=df8ff7<SENSOR,ARAT> ecx=409<EFFFREQ>
cpu0: cpuid 7.0 
ebx=239c27eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA>
 ecx=984007ac<UMIP,PKU,WAITPKG,PKS> 
edx=fc18c410<MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD>
cpu0: cpuid a vers=5, gp=6, gpwidth=48, ff=3, 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=1488fd6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,GDS_NO,RFDS_CLEAR>
cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 18MB 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.2.0.1.0.1, IBE
cpu1 at mainbus0: apid 8 (application processor)
cpu1: 12th Gen Intel(R) Core(TM) i7-1260P, 1139.41 MHz, 06-9a-03, patch 00000435
cpu1: smt 0, core 4, package 0
cpu2 at mainbus0: apid 16 (application processor)
cpu2: 12th Gen Intel(R) Core(TM) i7-1260P, 876.50 MHz, 06-9a-03, patch 00000435
cpu2: smt 0, core 8, package 0
cpu3 at mainbus0: apid 24 (application processor)
cpu3: 12th Gen Intel(R) Core(TM) i7-1260P, 736.19 MHz, 06-9a-03, patch 00000435
cpu3: smt 0, core 12, package 0
cpu4 at mainbus0: apid 32 (application processor)
cpu4: 12th Gen Intel(R) Core(TM) i7-1260P, 698.40 MHz, 06-9a-03, patch 00000435
cpu4: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB 64b/line 
16-way L2 cache, 18MB 64b/line 12-way L3 cache
cpu4: smt 0, core 16, package 0
cpu5 at mainbus0: apid 34 (application processor)
cpu5: 12th Gen Intel(R) Core(TM) i7-1260P, 698.39 MHz, 06-9a-03, patch 00000435
cpu5: smt 0, core 17, package 0
cpu6 at mainbus0: apid 36 (application processor)
cpu6: 12th Gen Intel(R) Core(TM) i7-1260P, 698.39 MHz, 06-9a-03, patch 00000435
cpu6: smt 0, core 18, package 0
cpu7 at mainbus0: apid 38 (application processor)
cpu7: 12th Gen Intel(R) Core(TM) i7-1260P, 698.39 MHz, 06-9a-03, patch 00000435
cpu7: smt 0, core 19, package 0
cpu8 at mainbus0: apid 40 (application processor)
cpu8: 12th Gen Intel(R) Core(TM) i7-1260P, 698.40 MHz, 06-9a-03, patch 00000435
cpu8: smt 0, core 20, package 0
cpu9 at mainbus0: apid 42 (application processor)
cpu9: 12th Gen Intel(R) Core(TM) i7-1260P, 627.54 MHz, 06-9a-03, patch 00000435
cpu9: smt 0, core 21, package 0
cpu10 at mainbus0: apid 44 (application processor)
cpu10: 12th Gen Intel(R) Core(TM) i7-1260P, 602.78 MHz, 06-9a-03, patch 00000435
cpu10: smt 0, core 22, package 0
cpu11 at mainbus0: apid 46 (application processor)
cpu11: 12th Gen Intel(R) Core(TM) i7-1260P, 598.62 MHz, 06-9a-03, patch 00000435
cpu11: smt 0, core 23, 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 1 (PEG0)
acpiprt2 at acpi0: bus -1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (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 166 (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 -1 (RP25)
acpiprt27 at acpi0: bus -1 (RP26)
acpiprt28 at acpi0: bus -1 (RP27)
acpiprt29 at acpi0: bus -1 (RP28)
acpiprt30 at acpi0: bus 2 (TRP0)
acpiprt31 at acpi0: bus 43 (TRP1)
acpiprt32 at acpi0: bus 84 (TRP2)
acpiprt33 at acpi0: bus 125 (TRP3)
acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
acpicmos0 at acpi0
acpibtn0 at acpi0: LID0
"INTC1046" at acpi0 not configured
"INTC1046" at acpi0 not configured
"INTC1046" at acpi0 not configured
"INTC1046" at acpi0 not configured
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model "f" serial 267 type LION oem "0"
"FRMW0001" at acpi0 not configured
"PIXA3854" at acpi0 not configured
pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 
0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 360 pins
acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu4 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu5 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu6 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu7 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu8 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu9 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu10 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
acpicpu11 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), 
C1(1000@1 mwait.1), PSS
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
intelpmc0 at acpi0: PEPD
state 0: 0x7f:1:2:0x00:0x0000000000000060
counter: 0x7f:64:0:0x00:0x0000000000000632
frequency: 0
state 1: 0x7f:1:2:0x00:0x0000000000000060
counter: 0x00:32:0:0x03:0x00000000fe00193c
frequency: 8197
acpibtn1 at acpi0: PWRB(wakeup)
"INTC1041" at acpi0 not configured
tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x00fc1050 rev 0x1
"USBC000" at acpi0 not configured
acpipwrres0 at acpi0: PXP_, resource for PEG0, PEGP, MINI
acpipwrres1 at acpi0: PXP_, resource for PEG1
acpipwrres2 at acpi0: PXP_, resource for PEG2, PEGP, MINI
acpipwrres3 at acpi0: BTRT
acpipwrres4 at acpi0: WRST
acpipwrres5 at acpi0: PXP_, resource for RP06
acpipwrres6 at acpi0: PXP_, resource for RP08
acpipwrres7 at acpi0: WRST
acpipwrres8 at acpi0: DRST
acpipwrres9 at acpi0: TBT0, resource for TDM0, TRP0, TRP1
acpipwrres10 at acpi0: TBT1, resource for TDM1, TRP2, TRP3
acpipwrres11 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2, 
TRP3
acpipwrres12 at acpi0: PAUD, resource for HDAS
acpitz0 at acpi0: critical temperature is 210 degC
acpitz1 at acpi0: critical temperature is 210 degC
acpitz2 at acpi0: critical temperature is 210 degC
acpitz3 at acpi0: critical temperature is 210 degC
acpitz4 at acpi0: critical temperature is 210 degC
acpipwrres13 at acpi0: PIN_
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
acpivout1 at acpivideo0: DD2F
cpu0: using VERW MDS workaround
cpu0: Enhanced SpeedStep 1554 MHz: speeds: 2501, 2500, 2300, 2100, 2000, 1900, 
1600, 1500, 1400, 1300, 1100, 1000, 800, 700, 500, 400 MHz
pci0 at mainbus0 bus 0
0:31:5: mem address conflict 0xfe010000/0x1000
pchb0 at pci0 dev 0 function 0 "Intel Core 12G Host" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel Graphics" rev 0x0c
drm0 at inteldrm0
inteldrm0: msi, ALDERLAKE_P, gen 12
"Intel Core 12G DTT" rev 0x02 at pci0 dev 4 function 0 not configured
ppb0 at pci0 dev 6 function 0 "Intel Core 12G PCIE" rev 0x02: msi
pci1 at ppb0 bus 1
nvme0 at pci1 dev 0 function 0 "Samsung PM9A1 NVMe" rev 0x00: msix, NVMe 1.3
nvme0: Samsung SSD 980 PRO 1TB, firmware 5B2QGXA7, serial S5GXNX0T403518A
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 980, 5B2Q>
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
ppb1 at pci0 dev 7 function 0 "Intel Core 12G PCIE" rev 0x02: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 7 function 1 "Intel Core 12G PCIE" rev 0x02: msi
pci3 at ppb2 bus 43
ppb3 at pci0 dev 7 function 2 "Intel Core 12G PCIE" rev 0x02: msi
pci4 at ppb3 bus 84
ppb4 at pci0 dev 7 function 3 "Intel Core 12G PCIE" rev 0x02: msi
pci5 at ppb4 bus 125
"Intel Core 12G GNA" rev 0x02 at pci0 dev 8 function 0 not configured
"Intel Core 12G CL" rev 0x01 at pci0 dev 10 function 0 not configured
xhci0 at pci0 dev 13 function 0 "Intel Core 12G xHCI" rev 0x02: msi, xHCI 1.20
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 Core 12G TBT" rev 0x02 at pci0 dev 13 function 2 not configured
"Intel Core 12G TBT" rev 0x02 at pci0 dev 13 function 3 not configured
xhci1 at pci0 dev 20 function 0 "Intel 600 Series 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 600 Series SRAM" rev 0x01 at pci0 dev 20 function 2 not configured
dwiic0 at pci0 dev 21 function 0 "Intel 600 Series I2C" rev 0x01: apic 2 int 27
iic0 at dwiic0
dwiic1 at pci0 dev 21 function 1 "Intel 600 Series I2C" rev 0x01: apic 2 int 40
iic1 at dwiic1
ihidev0 at iic1 addr 0x50 gpio 163, vendor 0x32ac product 0x6, FRMW0001
ihidev0: 3 report ids
hid at ihidev0 reportid 1 not configured
icc0 at ihidev0 reportid 2: 1024 usages, 20 keys, array
wskbd0 at icc0 mux 1
hid at ihidev0 reportid 3 not configured
dwiic2 at pci0 dev 21 function 3 "Intel 600 Series I2C" rev 0x01: apic 2 int 43
iic2 at dwiic2
ihidev1 at iic2 addr 0x2c gpio 3, vendor 0x93a product 0x274, PIXA3854
ihidev1: 67 report ids
imt0 at ihidev1: clickpad, 5 contacts
wsmouse0 at imt0 mux 0
hid at ihidev1 reportid 2 not configured
hid at ihidev1 reportid 4 not configured
hid at ihidev1 reportid 5 not configured
hid at ihidev1 reportid 7 not configured
hid at ihidev1 reportid 8 not configured
hid at ihidev1 reportid 65 not configured
hid at ihidev1 reportid 66 not configured
hid at ihidev1 reportid 67 not configured
"Intel 600 Series HECI" rev 0x01 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 600 Series KT" rev 0x01: ports: 16 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
ppb5 at pci0 dev 29 function 0 "Intel 600 Series PCIE" rev 0x01: msi
pci6 at ppb5 bus 166
iwx0 at pci6 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix
pcib0 at pci0 dev 31 function 0 "Intel 600 Series eSPI" rev 0x01
azalia0 at pci0 dev 31 function 3 "Intel 600 Series HD Audio" rev 0x01: msi
azalia0: codecs: IDT 92HD95
audio0 at azalia0
ichiic0 at pci0 dev 31 function 4 "Intel 600 Series SMBus" rev 0x01: apic 2 int 
16
iic3 at ichiic0
spdmem0 at iic3 addr 0x50: 32GB DDR4 SDRAM PC4-25600 SO-DIMM
spdmem1 at iic3 addr 0x52: 32GB DDR4 SDRAM PC4-25600 SO-DIMM
"Intel 600 Series SPI" rev 0x01 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)
wskbd1 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
uhidev0 at uhub1 port 4 configuration 1 interface 1 "Framework HDMI Expansion 
Card" rev 2.01/0.00 addr 2
uhidev0: iclass 3/0, 228 report ids
uhid0 at uhidev0 reportid 224: input=0, output=0, feature=63
uhid1 at uhidev0 reportid 225: input=0, output=7, feature=0
uhid2 at uhidev0 reportid 226: input=0, output=131, feature=0
uhid3 at uhidev0 reportid 227: input=0, output=0, feature=131
uhid4 at uhidev0 reportid 228: input=0, output=0, feature=7
ugen0 at uhub1 port 4 configuration 1 "Framework HDMI Expansion Card" rev 
2.01/0.00 addr 2
uvideo0 at uhub1 port 7 configuration 1 interface 0 "Generic Laptop Camera" rev 
2.01/0.21 addr 3
video0 at uvideo0
ugen1 at uhub1 port 10 "Intel Bluetooth" rev 2.01/0.00 addr 4
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
softraid0: sd1 was not shutdown properly
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd1: 460127MB, 512 bytes/sector, 942340991 sectors
root on sd1a (5e2760b9094c380c.a) swap on sd1b dump on sd1b
WARNING: / was not properly unmounted
inteldrm0: 2256x1504, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd1
wskbd0: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwx0: hw rev 0x420, fw 77.f92b5fed.0, pnvm ce1a5094, address 8c:f8:c5:ed:e0:36

I can do more tests on this machine this week if it can help figuring
out what's wrong.

-- 
Matthieu Herrb

Reply via email to