NetBSD Problem Report #56815

From jarle@festningen.uninett.no  Thu May  5 11:53:53 2022
Return-Path: <jarle@festningen.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 50F0F1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  5 May 2022 11:53:53 +0000 (UTC)
Message-Id: <20220505115341.2C098170266D@festningen.uninett.no>
Date: Thu,  5 May 2022 13:53:41 +0200 (CEST)
From: jarle.greipsland@norid.no
To: gnats-bugs@NetBSD.org
Subject: Lenovo ThinkCentre with i915drmkms graphics fails to boot -current
X-Send-Pr-Version: 3.95

>Number:         56815
>Category:       port-amd64
>Synopsis:       Lenovo ThinkCentre with i915drmkms graphics fails to boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 05 11:55:01 +0000 2022
>Closed-Date:    
>Last-Modified:  Sun Jan 21 16:35:01 +0000 2024
>Originator:     Jarle Fredrik Greipsland
>Release:        NetBSD 9.99.96
>Organization:

>Environment:


System: NetBSD ask.home.greipsland.no 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Sun Nov 14 15:28:11 CET 2021  jarle@ask.home.greipsland.no:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
When trying to boot a -current (9.99.96) kernel, it prints autoconfig
messages as expected until about the place where it would normally
configure the graphics device.  Then the screen goes black, and the
system hangs, and must be power cycled.

The system is a Lenovo Thinkcentre.  It is connected to a KVM-switch
through its VGA connector.  Dmesg from a working 9.99.92 kernel below.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 9.99.92 (GENERIC) #0: Sun Nov 14 15:28:11 CET 2021
        jarle@ask.home.greipsland.no:/usr/obj/sys/arch/amd64/compile/GENERIC
total memory = 8104 MB
avail memory = 7826 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
ACPI: RSDP 0x00000000000F0580 000024 (v02 LENOVO)
ACPI: XSDT 0x00000000AB0C0090 0000A4 (v01 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: FACP 0x00000000AB0D2460 00010C (v05 LENOVO TC-M00   00001380 AMI  00010013)
Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20210930/tbfadt-640)
ACPI: DSDT 0x00000000AB0C01C8 012295 (v02 LENOVO TC-M00   00001380 INTL 20120913)
ACPI: FACS 0x00000000AB66DE80 000040
ACPI: APIC 0x00000000AB0D2570 000084 (v03 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: FPDT 0x00000000AB0D25F8 000044 (v01 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: FIDT 0x00000000AB0D2640 00009C (v01 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: MCFG 0x00000000AB0D26E0 00003C (v01 LENOVO TC-M00   00001380 MSFT 00000097)
ACPI: TCPA 0x00000000AB0D2720 000032 (v02 LENOVO TC-M00   00001380 MSFT 01000013)
ACPI: SLIC 0x00000000AB0D2758 000176 (v01 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: MSDM 0x00000000AB0D28D0 000055 (v03 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: SSDT 0x00000000AB0D2928 000763 (v01 LENOVO TC-M00   00001380 INTL 20061109)
ACPI: SSDT 0x00000000AB0D3090 000290 (v01 LENOVO TC-M00   00001380 INTL 20061109)
ACPI: SSDT 0x00000000AB0D3320 00017A (v01 LENOVO TC-M00   00001380 INTL 20061109)
ACPI: UEFI 0x00000000AB0D34A0 000042 (v01 LENOVO TC-M00   00001380      00000000)
ACPI: LPIT 0x00000000AB0D34E8 000104 (v01 LENOVO TC-M00   00001380 MSFT 0100000D)
ACPI: CSRT 0x00000000AB0D35F0 00014C (v00 LENOVO TC-M00   00001380 MSFT 0100000D)
ACPI: LUFT 0x00000000AB0D3740 0569E2 (v01 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: BGRT 0x00000000AB12A128 000038 (v01 LENOVO TC-M00   00001380 AMI  00010013)
ACPI: 4 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20, 115 pins
cpu0 at mainbus0 apid 0
cpu0: Use lfence to serialize rdtsc
cpu0: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
cpu0: node 0, package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
cpu1: node 0, package 0, core 1, smt 0
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
cpu2: node 0, package 0, core 2, smt 0
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
cpu3: node 0, package 0, core 3, smt 0
acpi0 at mainbus0: Intel ACPICA 20210930
acpi0: X/RSDT: OemId <LENOVO,TC-M00  ,00001380>, AslId <AMI ,00010013>
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFB430B775808 0006FA (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFB444B625348 0003A5 (v01 PmRef  Cpu0Cst  00003001 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFB444A437588 00015F (v01 PmRef  ApIst    00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFB430B798308 00008D (v01 PmRef  ApCst    00003000 INTL 20061109)
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0400 (acpiout8): Unknown Output Device, head 0
acpivga0:   0x22b8 (acpiout9): Unknown Output Device, head 0, non vga
FWHD (INT0800) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
pckbc1 at acpi0 (PS2K, MSFT0001-0) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, MSFT0003-0) (aux port): io 0x60,0x64 irq 12
BTH1 (BCM2E64) at acpi0 not configured
GPS1 (BCM4752) at acpi0 not configured
SHUB (SMO91D0) at acpi0 not configured
STRB (INTCF1C) at acpi0 not configured
TPD1 (MSFT0002) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
tpm0 at acpi0 (TPM, PNP0C31-1): mem 0xfed40000-0xfed44fff
tpm0: device 0x00fe1050 rev 0x2
acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
acpitz0 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
acpitz0: active cooling level 0: 110.0C
acpitz0: levels: critical 95.0 C, hot 90.0 C, passive 85.0 C
acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
LBAI (LEN4001) at acpi0 not configured
ACPI: Enabled 6 GPEs in block 00 to 3F
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: Intel Braswell Soc Transaction Router (rev. 0x35)
i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics (rev. 0x35)
ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI (rev. 0x35)
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 0xd734ff01<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SNCQ,S64A>
ahcisata0: interrupting at msi0 vec 0
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI (rev. 0x35)
xhci0: 64-bit DMA
xhci0: interrupting at msi1 vec 0
xhci0: xHCI version 1.0
usb0 at xhci0: USB revision 3.0
usb1 at xhci0: USB revision 2.0
Intel Braswell TXE (miscellaneous crypto, revision 0x35) at pci0 dev 26 function 0 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at msi2 vec 0
hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
hdafg0 at hdaudio0: vendor 10ec product 0233
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: DAC01 2ch: Speaker [Jack]
hdafg0: ADC02 2ch: Mic In [Jack]
hdafg0: ADC03 2ch: Mic In [Jack]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: playback, capture, full duplex, independent
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
hdafg1 at hdaudio0: vendor 8086 product 2883
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: DP01 8ch: Digital Out [Jack]
hdafg1: DP02 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev. 0x35)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
re0: interrupting at msix3 vec 0
re0: RTL8168G/8111G (0x4c00)
re0: Ethernet address xx:xx:xx:xx:xx:xx
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
ppb1 at pci0 dev 28 function 1: Intel Braswell PCIe (rev. 0x35)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
Atheros Communications product 0042 (miscellaneous network, revision 0x30) at pci2 dev 0 function 0 not configured
pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC (rev. 0x35)
ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU SMBus (rev. 0x35)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at pcib0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 500 us, pow    10 mW
acpicpu0: C3: FFH, lat 1000 us, pow    10 mW
acpicpu0: P0: FFH, lat  10 us, pow  2000 mW, 1601 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow  2000 mW, 1600 MHz
acpicpu0: P2: FFH, lat  10 us, pow  1900 mW, 1520 MHz
acpicpu0: P3: FFH, lat  10 us, pow  1800 mW, 1440 MHz
acpicpu0: P4: FFH, lat  10 us, pow  1700 mW, 1360 MHz
acpicpu0: P5: FFH, lat  10 us, pow  1600 mW, 1280 MHz
acpicpu0: P6: FFH, lat  10 us, pow  1500 mW, 1200 MHz
acpicpu0: P7: FFH, lat  10 us, pow  1400 mW, 1120 MHz
acpicpu0: P8: FFH, lat  10 us, pow  1300 mW, 1040 MHz
acpicpu0: P9: FFH, lat  10 us, pow  1200 mW,  960 MHz
acpicpu0: P10: FFH, lat  10 us, pow  1100 mW,  880 MHz
acpicpu0: P11: FFH, lat  10 us, pow  1000 mW,  800 MHz
acpicpu0: P12: FFH, lat  10 us, pow   900 mW,  720 MHz
acpicpu0: P13: FFH, lat  10 us, pow   800 mW,  640 MHz
acpicpu0: P14: FFH, lat  10 us, pow   700 mW,  560 MHz
acpicpu0: P15: FFH, lat  10 us, pow   600 mW,  480 MHz
acpicpu0: T0: FFH, lat   1 us, pow   600 mW, 100 %
acpicpu0: T1: FFH, lat   1 us, pow   525 mW,  88 %
acpicpu0: T2: FFH, lat   1 us, pow   450 mW,  75 %
acpicpu0: T3: FFH, lat   1 us, pow   375 mW,  63 %
acpicpu0: T4: FFH, lat   1 us, pow   300 mW,  50 %
acpicpu0: T5: FFH, lat   1 us, pow   225 mW,  38 %
acpicpu0: T6: FFH, lat   1 us, pow   150 mW,  25 %
acpicpu0: T7: FFH, lat   1 us, pow    75 mW,  13 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=90
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=90
acpicpu2 at cpu2: ACPI CPU
coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=90
acpicpu3 at cpu3: ACPI CPU
coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=90
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1601625000 Hz quality 3000
uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 7 ports with 7 removable, self powered
IPsec: Initialized Security Association Processing.
aes: Intel AES-NI
chacha: x86 SSE2 ChaCha
ahcisata0 port 0: device present, speed: 6.0Gb/s
wd0 at atabus0 drive 0
wd0: <SanDisk SD9TB8W256G1001>
wd0: drive supports 1-sector PIO transfers, LBA48 addressing
wd0: 238 GB, 496149 cyl, 16 head, 63 sec, 512 bytes/sect x 500118192 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
uhub2 at uhub1 port 5: vendor 0424 (0x0424) product 2514 (0x2514), class 9/0, rev 2.00/2.00, addr 1
uhub2: multiple transaction translators
uhub2: 4 ports with 4 removable, self powered
ahcisata0 port 1: PHY offline
ubt0 at uhub2 port 2
ubt0: vendor 0cf3 (0x0cf3) product e360 (0xe360), rev 2.01/0.01, addr 2
uhub3 at uhub2 port 4: vendor 0557 (0x0557) product 8021 (0x8021), class 9/0, rev 1.10/1.00, addr 3
uhub3: 4 ports with 4 removable, self powered
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213), rev 1.10/1.00, addr 4, iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0: console keyboard
uhidev1 at uhub3 port 1 configuration 1 interface 1
uhidev1: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213), rev 1.10/1.00, addr 4, iclass 3/1
ums0 at uhidev1: 5 buttons and Z dir
wsmouse0 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/amd64/9.99.92/modules
kern info: [drm] Memory usable by graphics device = 2048M
kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kern info: [drm] Driver supports precise vblank timestamp query.
kern info: [drm] failed to find VBIOS tables
i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
intelfb0 at i915drmkms0
intelfb0: framebuffer at 0xb80c0000, size 1920x1200, depth 32, stride 7680
no data for est. mode 640x480x67
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
no data for est. mode 640x480x67
wsdisplay0: screen 1 added (default, vt100 emulation)
no data for est. mode 640x480x67
wsdisplay0: screen 2 added (default, vt100 emulation)
no data for est. mode 640x480x67
wsdisplay0: screen 3 added (default, vt100 emulation)
no data for est. mode 640x480x67
wsdisplay0: screen 4 added (default, vt100 emulation)



>How-To-Repeat:
Boot a -current kernel on a similar system, I should think.

>Fix:


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 22 May 2022 22:08:51 +0000
State-Changed-Why:
Can you update your kernel, and at the boot prompt, `boot -v -x` and provide the dmesg? thanks.


From: Jarle Greipsland <jarle.greipsland@norid.no>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
 fails to boot)
Date: Thu, 26 May 2022 14:11:23 +0200 (CEST)

 maya@NetBSD.org writes:
 > Synopsis: Lenovo ThinkCentre with i915drmkms graphics fails to boot
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: maya@NetBSD.org
 > State-Changed-When: Sun, 22 May 2022 22:08:51 +0000
 > State-Changed-Why:
 > Can you update your kernel, and at the boot prompt, `boot -v -x` and provide the dmesg? thanks.
 > 

 Here is a manual transcription of the text visible on the console
 when the new kernel hung during boot.

 [    4.3731413] {drm:netbsd:i915_ggtt_probe_hw+0x3db} GMADR size = 128M
 [    4.3731413] {drm:netbsd:i915_ggtt_probe_hw+0x404} DSM size = 0M
 [    4.3731413] {drm:netbsd:intel_opregion_setup+0x4c} graphic opregion physical addr: 0xab612000
 [    4.3731413] {drm:netbsd:intel_opregion_setup+0x142} ACPI OpRegion version 2.0.0
 [    4.3731413] {drm:netbsd:intel_opregion_setup+0x166} Public ACPI methods supported
 [    4.3731413] {drm:netbsd:intel_opregion_setup+0x413} ASLE supported
 [    4.3731413] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [    4.3731413] kern info: [drm] Driver supports precise vblank timestamp query.
 [    4.3731413] {drm:netbsd:intel_power_domains_init_hw+0x23} rawclk rate: 200000 kHz
 [    4.3731413] allocated pic msi4 type edge pin 0 level 6 to cpu0 slot 20 idt entry 101
 [    4.3731413] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
 [    4.3731413] {drm:netbsd:intel_modeset_init+0x471} CZ clock rate: 320000 kHz
 [    4.3731413] {drm:netbsd:intel_dump_cdclk_state+0x36} Current CDCLK 266667 kHz, VCO 1600000 kHz, ref 0 kHz, bypass 0 kHz, voltage level 11
 [    4.3731413] {drm:netbsd:intel_update_max_cdclk+0x8d} Max CD clock rate: 320000 kHz
 [    4.3731413] {drm:netbsd:intel_modeset_init+0x1992} Max dotclock rate: 304000 kHz

 					-jarle

State-Changed-From-To: feedback->open
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 27 May 2022 01:11:16 +0000
State-Changed-Why:


From: Taylor R Campbell <riastradh@NetBSD.org>
To: Jarle Fredrik Greipsland <jarle.greipsland@norid.no>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/56815: Lenovo ThinkCentre with i915drmkms graphics fails to boot -current
Date: Tue, 31 May 2022 23:14:26 +0000

 When it reboots, are you able to get the preceding boot's dmesg?

 Can you try building a kernel with

 options 	DDB_ONPANIC=1
 options 	DDB_COMMANDONENTER="bt;ps;sync"

 and see if it produces a crash dump or dmesg from the preceding boot?
 Once it reboots, at the bootloader prompt, you can do

 > userconf disable i915drmkms

 to boot without the i915 driver.

 Alternatively, do you have a serial console, e.g. via Intel AMT?  Can
 you get the console output via that?

From: Jarle Greipsland <jarle.greipsland@norid.no>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/56815: Lenovo ThinkCentre with i915drmkms graphics fails
 to boot -current
Date: Mon, 06 Jun 2022 08:55:28 +0200 (CEST)

 Taylor R Campbell <riastradh@NetBSD.org> writes:
 >  When it reboots, are you able to get the preceding boot's dmesg?
 Unfortunately, no.  The system doesn't reboot by itself.  It has
 to be power-cycled, so any dmesg remnants are lost.

 >  Can you try building a kernel with
 >  
 >  options 	DDB_ONPANIC=1
 >  options 	DDB_COMMANDONENTER="bt;ps;sync"
 >  
 >  and see if it produces a crash dump or dmesg from the preceding boot?
 >  Once it reboots, at the bootloader prompt, you can do
 I tried this, but the system just froze like before.  And there
 was no disk activitiy, so I don't think it was writing a crash
 dump either.

 >  Alternatively, do you have a serial console, e.g. via Intel AMT?  Can
 >  you get the console output via that?
 No.  There is no physical serial port, and no trace of any Intel
 AMT functionality in the documentation, in the BIOS or by
 pressing Ctrl-P during boot.  This is a small (Thinkcentre M-600)
 device, with a not-too-powerful CPU, so advanced functionality
 seems not to be included.
 					-jarle

State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Thu, 15 Sep 2022 21:13:36 +0000
State-Changed-Why:
Does this still fail the same way?

The problem may have been affected by some recent changes to drm,
e.g. drm_mm.c 1.19 and 1.20.

If it still fails the same way, can you try blind typing C-A-ESC to
enter ddb and then typing `sync' to get a crash dump?  On the next
boot, use `userconf disable i915drmkms' to disable the driver so you
can get savecore to run.


From: Jarle Greipsland <jarle.greipsland@norid.no>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
 fails to boot)
Date: Sun, 25 Sep 2022 13:04:33 +0200 (CEST)

 riastradh@NetBSD.org writes:
 > Synopsis: Lenovo ThinkCentre with i915drmkms graphics fails to boot
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: riastradh@NetBSD.org
 > State-Changed-When: Thu, 15 Sep 2022 21:13:36 +0000
 > State-Changed-Why:
 > Does this still fail the same way?
 Yes, it does.

 > The problem may have been affected by some recent changes to drm,
 > e.g. drm_mm.c 1.19 and 1.20.
 > 
 > If it still fails the same way, can you try blind typing C-A-ESC to
 > enter ddb and then typing `sync' to get a crash dump?  On the next
 > boot, use `userconf disable i915drmkms' to disable the driver so you
 > can get savecore to run.
 I tried to do that, but there is no disk activity.  I waited a
 while, and then pressed the power button in order to reset the
 system.  There was no crash dump.

 Just to check that crash dumping works on this particular system,
 with the 9.99.92 kernel where the graphics system still works, I
 typed C-A-ESC and then sync, and got a crash dump as a result.
 Also, there was extensive disk activity during the dumping
 process.

 My guess is that the system hangs hard somewhere after messing
 with the graphics system.
 					-jarle
 -- 
 "strcmp(3): When you want to just relax and cruise down memory lane."
 				-- hpeyerl@novatel.ca

From: Jarle Greipsland <jarle.greipsland@norid.no>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
 fails to boot)
Date: Sun, 19 Feb 2023 13:49:20 +0100 (CET)

 Jarle Greipsland <jarle.greipsland@norid.no> writes:
 >  > If it still fails the same way, can you try blind typing C-A-ESC to
 >  > enter ddb and then typing `sync' to get a crash dump?  On the next
 >  > boot, use `userconf disable i915drmkms' to disable the driver so you
 >  > can get savecore to run.
 >  I tried to do that, but there is no disk activity.  I waited a
 >  while, and then pressed the power button in order to reset the
 >  system.  There was no crash dump.
 I tried a recent -current kernel, and the problem still persists.
 A normal boot of a new kernel will hang hard some short time
 after it starts probing the graphics stuff.  And I cannot produce
 a crash dump.

 I did however try and boot the same -current kernel after issuing a
 'userconf disable 915drmkms*' command to the bootloader.  The
 kernel then boots, but I then cannot get the X server to work.
 In case it might be useful, I enclose a copy of the dmesg output.

 					-jarle

 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
 [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
 [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All rights reserved.

 [     1.000000] NetBSD 10.99.2 (GENERIC) #8: Sun Feb 19 06:46:30 CET 2023
 [     1.000000] 	jarle@ask.home.greipsland.no:/usr/obj/sys/arch/amd64/compile/GENERIC
 [     1.000000] total memory = 8104 MB
 [     1.000000] avail memory = 7814 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] [   380.000000] i915drmkms* disabled
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [     1.000004] mainbus0 (root)
 [     1.000004] ACPI: RSDP 0x00000000000F0580 000024 (v02 LENOVO)
 [     1.000004] ACPI: XSDT 0x00000000AB0C0090 0000A4 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: FACP 0x00000000AB0D2460 00010C (v05 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20221020/tbfadt-640)
 [     1.000004] ACPI: DSDT 0x00000000AB0C01C8 012295 (v02 LENOVO TC-M00   00001380 INTL 20120913)
 [     1.000004] ACPI: FACS 0x00000000AB66DE80 000040
 [     1.000004] ACPI: APIC 0x00000000AB0D2570 000084 (v03 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: FPDT 0x00000000AB0D25F8 000044 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: FIDT 0x00000000AB0D2640 00009C (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: MCFG 0x00000000AB0D26E0 00003C (v01 LENOVO TC-M00   00001380 MSFT 00000097)
 [     1.000004] ACPI: TCPA 0x00000000AB0D2720 000032 (v02 LENOVO TC-M00   00001380 MSFT 01000013)
 [     1.000004] ACPI: SLIC 0x00000000AB0D2758 000176 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: MSDM 0x00000000AB0D28D0 000055 (v03 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: SSDT 0x00000000AB0D2928 000763 (v01 LENOVO TC-M00   00001380 INTL 20061109)
 [     1.000004] ACPI: SSDT 0x00000000AB0D3090 000290 (v01 LENOVO TC-M00   00001380 INTL 20061109)
 [     1.000004] ACPI: SSDT 0x00000000AB0D3320 00017A (v01 LENOVO TC-M00   00001380 INTL 20061109)
 [     1.000004] ACPI: UEFI 0x00000000AB0D34A0 000042 (v01 LENOVO TC-M00   00001380      00000000)
 [     1.000004] ACPI: LPIT 0x00000000AB0D34E8 000104 (v01 LENOVO TC-M00   00001380 MSFT 0100000D)
 [     1.000004] ACPI: CSRT 0x00000000AB0D35F0 00014C (v00 LENOVO TC-M00   00001380 MSFT 0100000D)
 [     1.000004] ACPI: LUFT 0x00000000AB0D3740 0569E2 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: BGRT 0x00000000AB12A128 000038 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: 4 ACPI AML tables successfully acquired and loaded
 [     1.000004] ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20, 115 pins
 [     1.000004] cpu0 at mainbus0 apid 0
 [     1.000004] cpu0: Use lfence to serialize rdtsc
 [     1.000004] cpu0: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu0: node 0, package 0, core 0, smt 0
 [     1.000004] cpu1 at mainbus0 apid 2
 [     1.000004] cpu1: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu1: node 0, package 0, core 1, smt 0
 [     1.000004] cpu2 at mainbus0 apid 4
 [     1.000004] cpu2: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu2: node 0, package 0, core 2, smt 0
 [     1.000004] cpu3 at mainbus0 apid 6
 [     1.000004] cpu3: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu3: node 0, package 0, core 3, smt 0
 [     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
 [     1.000004] acpi0: X/RSDT: OemId <LENOVO,TC-M00  ,00001380>, AslId <AMI ,00010013>
 [     1.000004] acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFF63CAA7A2808 0006FA (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFF63DE9A3D488 0003A5 (v01 PmRef  Cpu0Cst  00003001 INTL 20061109)
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFF63DE882D748 00015F (v01 PmRef  ApIst    00003000 INTL 20061109)
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFF63CAA785B08 00008D (v01 PmRef  ApCst    00003000 INTL 20061109)
 [     1.000004] acpi0: SCI interrupting at int 9
 [     1.000004] acpi0: fixed power button present
 [     1.000004] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 [     1.013774] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
 [     1.013774] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
 [     1.013774] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
 [     1.013774] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
 [     1.013774] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
 [     1.013774] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
 [     1.013774] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
 [     1.013774] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
 [     1.013774] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
 [     1.013774] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
 [     1.013774] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
 [     1.013774] acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output Device
 [     1.013774] acpivga0: connected output devices:
 [     1.013774] acpivga0:   0x0400 (acpiout8): Unknown Output Device, head 0
 [     1.013774] acpivga0:   0x22b8 (acpiout9): Unknown Output Device, head 0, non vga
 [     1.013774] FWHD (INT0800) at acpi0 not configured
 [     1.013774] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 [     1.013774] pckbc1 at acpi0 (PS2K, MSFT0001-0) (kbd port): io 0x60,0x64 irq 1
 [     1.013774] pckbc2 at acpi0 (PS2M, MSFT0003-0) (aux port): io 0x60,0x64 irq 12
 [     1.013774] BTH1 (BCM2E64) at acpi0 not configured
 [     1.013774] GPS1 (BCM4752) at acpi0 not configured
 [     1.013774] SHUB (SMO91D0) at acpi0 not configured
 [     1.013774] STRB (INTCF1C) at acpi0 not configured
 [     1.013774] TPD1 (MSFT0002) at acpi0 not configured
 [     1.013774] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 [     1.013774] acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 [     1.013774] tpm0 at acpi0 (TPM, PNP0C31-1): mem 0xfed40000-0xfed44fff
 [     1.013774] tpm0: device 0x00fe1050 rev 0x2
 [     1.013774] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
 [     1.013774] acpitz0 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
 [     1.013774] acpitz0: active cooling level 0: 110.0C
 [     1.013774] acpitz0: levels: critical 95.0 C, hot 90.0 C, passive 85.0 C
 [     1.013774] acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
 [     1.013774] acpiwmibus at acpiwmi0 not configured
 [     1.013774] LBAI (LEN4001) at acpi0 not configured
 [     1.013774] ACPI: Enabled 6 GPEs in block 00 to 3F
 [     1.013774] pci0 at mainbus0 bus 0: configuration mode 1
 [     1.013774] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [     1.013774] pchb0 at pci0 dev 0 function 0: Intel Braswell Soc Transaction Router (rev. 0x35)
 [     1.013774] vga0 at pci0 dev 2 function 0: Intel HD Graphics (rev. 0x35)
 [     1.013774] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
 [     1.013774] wsmux1: connecting to wsdisplay0
 [     1.013774] drm at vga0 not configured
 [     1.013774] ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI (rev. 0x35)
 [     1.013774] ahcisata0: 64-bit DMA
 [     1.013774] ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 0xd734ff01<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SNCQ,S64A>
 [     1.013774] ahcisata0: interrupting at msi0 vec 0
 [     1.013774] atabus0 at ahcisata0 channel 0
 [     1.013774] atabus1 at ahcisata0 channel 1
 [     1.013774] xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI (rev. 0x35)
 [     1.013774] xhci0: 64-bit DMA
 [     1.013774] xhci0: interrupting at msi1 vec 0
 [     1.013774] xhci0: xHCI version 1.0
 [     1.013774] usb0 at xhci0: USB revision 3.0
 [     1.013774] usb1 at xhci0: USB revision 2.0
 [     1.013774] Intel Braswell TXE (miscellaneous crypto, revision 0x35) at pci0 dev 26 function 0 not configured
 [     1.013774] hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 [     1.013774] hdaudio0: interrupting at msi2 vec 0
 [     1.013774] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
 [     1.013774] hdafg0 at hdaudio0: Realtek product 0233
 [     1.013774] hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
 [     1.013774] hdafg0: DAC01 2ch: Speaker [Jack]
 [     1.013774] hdafg0: ADC02 2ch: Mic In [Jack]
 [     1.013774] hdafg0: ADC03 2ch: Mic In [Jack]
 [     1.013774] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
 [     1.013774] audio0 at hdafg0: playback, capture, full duplex, independent
 [     1.013774] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
 [     1.013774] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
 [     1.013774] spkr0 at audio0: PC Speaker (synthesized)
 [     1.013774] wsbell at spkr0 not configured
 [     1.013774] hdafg1 at hdaudio0: Intel product 2883
 [     1.013774] hdafg1: DP00 8ch: Digital Out [Jack]
 [     1.013774] hdafg1: DP01 8ch: Digital Out [Jack]
 [     1.013774] hdafg1: DP02 8ch: Digital Out [Jack]
 [     1.013774] hdafg1: 8ch/0ch 48000Hz PCM16*
 [     1.013774] audio1 at hdafg1: playback, capture, full duplex, independent
 [     1.013774] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
 [     1.013774] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
 [     1.013774] spkr1 at audio1: PC Speaker (synthesized)
 [     1.013774] wsbell at spkr1 not configured
 [     1.013774] ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev. 0x35)
 [     1.013774] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [     1.013774] pci1 at ppb0 bus 1
 [     1.013774] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.013774] re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
 [     1.013774] re0: interrupting at msix3 vec 0
 [     1.013774] re0: RTL8168G/8111G (0x4c00)
 [     1.013774] re0: Ethernet address xx:xx:xx:xx:xx:xx
 [     1.013774] re0: using 256 tx descriptors
 [     1.013774] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
 [     1.013774] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 [     1.013774] ppb1 at pci0 dev 28 function 1: Intel Braswell PCIe (rev. 0x35)
 [     1.013774] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [     1.013774] pci2 at ppb1 bus 2
 [     1.013774] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.013774] Atheros Communications product 0042 (miscellaneous network, revision 0x30) at pci2 dev 0 function 0 not configured
 [     1.013774] pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC (rev. 0x35)
 [     1.013774] ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU SMBus (rev. 0x35)
 [     1.013774] ichsmb0: interrupting at ioapic0 pin 18
 [     1.013774] iic0 at ichsmb0: I2C bus
 [     1.013774] isa0 at pcib0
 [     1.013774] pcppi0 at isa0 port 0x61
 [     1.013774] spkr2 at pcppi0: PC Speaker
 [     1.013774] wsbell at spkr2 not configured
 [     1.013774] midi0 at pcppi0: PC speaker
 [     1.013774] sysbeep0 at pcppi0
 [     1.013774] attimer1: attached to pcppi0
 [     1.013774] acpicpu0 at cpu0: ACPI CPU
 [     1.013774] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
 [     1.013774] acpicpu0: C2: FFH, lat 500 us, pow    10 mW
 [     1.013774] acpicpu0: C3: FFH, lat 1000 us, pow    10 mW
 [     1.013774] acpicpu0: P0: FFH, lat  10 us, pow  2000 mW, 1601 MHz, turbo boost
 [     1.013774] acpicpu0: P1: FFH, lat  10 us, pow  2000 mW, 1600 MHz
 [     1.013774] acpicpu0: P2: FFH, lat  10 us, pow  1900 mW, 1520 MHz
 [     1.013774] acpicpu0: P3: FFH, lat  10 us, pow  1800 mW, 1440 MHz
 [     1.013774] acpicpu0: P4: FFH, lat  10 us, pow  1700 mW, 1360 MHz
 [     1.013774] acpicpu0: P5: FFH, lat  10 us, pow  1600 mW, 1280 MHz
 [     1.013774] acpicpu0: P6: FFH, lat  10 us, pow  1500 mW, 1200 MHz
 [     1.013774] acpicpu0: P7: FFH, lat  10 us, pow  1400 mW, 1120 MHz
 [     1.013774] acpicpu0: P8: FFH, lat  10 us, pow  1300 mW, 1040 MHz
 [     1.013774] acpicpu0: P9: FFH, lat  10 us, pow  1200 mW,  960 MHz
 [     1.013774] acpicpu0: P10: FFH, lat  10 us, pow  1100 mW,  880 MHz
 [     1.013774] acpicpu0: P11: FFH, lat  10 us, pow  1000 mW,  800 MHz
 [     1.013774] acpicpu0: P12: FFH, lat  10 us, pow   900 mW,  720 MHz
 [     1.013774] acpicpu0: P13: FFH, lat  10 us, pow   800 mW,  640 MHz
 [     1.013774] acpicpu0: P14: FFH, lat  10 us, pow   700 mW,  560 MHz
 [     1.013774] acpicpu0: P15: FFH, lat  10 us, pow   600 mW,  480 MHz
 [     1.013774] acpicpu0: T0: FFH, lat   1 us, pow   600 mW, 100 %
 [     1.013774] acpicpu0: T1: FFH, lat   1 us, pow   525 mW,  88 %
 [     1.013774] acpicpu0: T2: FFH, lat   1 us, pow   450 mW,  75 %
 [     1.013774] acpicpu0: T3: FFH, lat   1 us, pow   375 mW,  63 %
 [     1.013774] acpicpu0: T4: FFH, lat   1 us, pow   300 mW,  50 %
 [     1.013774] acpicpu0: T5: FFH, lat   1 us, pow   225 mW,  38 %
 [     1.013774] acpicpu0: T6: FFH, lat   1 us, pow   150 mW,  25 %
 [     1.013774] acpicpu0: T7: FFH, lat   1 us, pow    75 mW,  13 %
 [     1.013774] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=90
 [     1.013774] acpicpu1 at cpu1: ACPI CPU
 [     1.013774] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=90
 [     1.013774] acpicpu2 at cpu2: ACPI CPU
 [     1.013774] coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=90
 [     1.013774] acpicpu3 at cpu3: ACPI CPU
 [     1.013774] coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=90
 [     1.013774] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [     1.013774] timecounter: Timecounter "TSC" frequency 1602127600 Hz quality 3000
 [     1.835548] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
 [     1.835548] uhub0: 6 ports with 6 removable, self powered
 [     1.835548] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
 [     1.835548] uhub1: 7 ports with 7 removable, self powered
 [     1.842969] IPsec: Initialized Security Association Processing.
 [     1.932960] ahcisata0 port 0: device present, speed: 6.0Gb/s
 [     2.302958] uhub2 at uhub1 port 5: vendor 0424 (0x0424) product 2514 (0x2514), class 9/0, rev 2.00/2.00, addr 1
 [     2.302958] uhub2: multiple transaction translators
 [     2.302958] uhub2: 4 ports with 4 removable, self powered
 [     2.932955] ahcisata0 port 1: PHY offline
 [     3.052955] ubt0 at uhub2 port 2
 [     3.052955] ubt0: vendor 0cf3 (0x0cf3) product e360 (0xe360), rev 2.01/0.01, addr 2
 [     3.462953] uhub3 at uhub2 port 4: vendor 0557 (0x0557) product 8021 (0x8021), class 9/0, rev 1.10/1.00, addr 3
 [     3.462953] uhub3: 4 ports with 4 removable, self powered
 [     3.492952] wd0 at atabus0 drive 0
 [     3.492952] wd0: <SanDisk SD9TB8W256G1001>
 [     3.492952] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
 [     3.492952] wd0: 238 GB, 496149 cyl, 16 head, 63 sec, 512 bytes/sect x 500118192 sectors
 [     3.492952] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
 [     3.492952] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
 [     4.282949] uhidev0 at uhub3 port 1 configuration 1 interface 0
 [     4.282949] uhidev0: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213), rev 1.10/1.00, addr 4, iclass 3/1
 [     4.302949] ukbd0 at uhidev0
 [     4.302949] wskbd0 at ukbd0: console keyboard, using wsdisplay0
 [     4.302949] uhidev1 at uhub3 port 1 configuration 1 interface 1
 [     4.302949] uhidev1: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213), rev 1.10/1.00, addr 4, iclass 3/1
 [     4.332949] ums0 at uhidev1: 5 buttons and Z dir
 [     4.332949] wsmouse0 at ums0 mux 0
 [     4.332949] swwdog0: software watchdog initialized
 [     4.342949] boot device: wd0
 [     4.342949] root on wd0a dumps on wd0b
 [     4.342949] root file system type: ffs
 [     4.342949] kern.module.path=/stand/amd64/10.99.2/modules
 [    13.522907] wsdisplay0: screen 1 added (80x25, vt100 emulation)
 [    13.522907] wsdisplay0: screen 2 added (80x25, vt100 emulation)
 [    13.522907] wsdisplay0: screen 3 added (80x25, vt100 emulation)
 [    13.522907] wsdisplay0: screen 4 added (80x25, vt100 emulation)

State-Changed-From-To: feedback->open
State-Changed-By: nia@NetBSD.org
State-Changed-When: Tue, 20 Jun 2023 16:11:51 +0000
State-Changed-Why:
feedback received


From: Jarle Greipsland <jarle.greipsland@norid.no>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
 fails to boot)
Date: Wed, 21 Jun 2023 19:01:13 +0200 (CEST)

 nia@NetBSD.org writes:
 > Synopsis: Lenovo ThinkCentre with i915drmkms graphics fails to boot
 > 
 > State-Changed-From-To: feedback->open
 > State-Changed-By: nia@NetBSD.org
 > State-Changed-When: Tue, 20 Jun 2023 16:11:51 +0000
 > State-Changed-Why:
 > feedback received
 Some more feedback.  I tried a -current kernel from 2023-06-19,
 and it still goes black and hangs as before.  The system must be
 power-cycled in order to recover.

 I also experimented with some -current kernels from various dates
 in the past.  A kernel with sources checked out with date
 specified as -D '2021-12-18 00:00:00' boots fine, whilst a kernel
 with date specified as -D '2022-01-01 00:00:00' hangs as
 described in the problem report.  Now, the 13 days between the
 two dates coincides with an impressive number of commits by
 riastradh@ to the graphics subsystem.  I speculate that a bug
 might have made its way in to the sources at that time.

 					-jarle
 -- 
 "The average pointer points somewhere in X."
 				-- Henry Spencer

State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sun, 09 Jul 2023 22:10:47 +0000
State-Changed-Why:
more feedback requested


From: Taylor R Campbell <riastradh@NetBSD.org>
To: jarle.greipsland@norid.no
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-amd64/56815: Lenovo ThinkCentre with i915drmkms graphics fails to boot -current
Date: Sun, 9 Jul 2023 22:10:09 +0000

 Can you please try a current kernel with the new heartbeat option
 enabled?

 options 	HEARTBEAT
 options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
 options 	DDB_COMMANDONENTER="bt;ps;show all tstiles/t;sync"

From: Jarle Greipsland <jarle.greipsland@norid.no>
To: riastradh@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-amd64/56815: Lenovo ThinkCentre with i915drmkms graphics
 fails to boot -current
Date: Tue, 11 Jul 2023 12:56:48 +0200 (CEST)

 Taylor R Campbell <riastradh@NetBSD.org> writes:
 > Can you please try a current kernel with the new heartbeat option
 > enabled?
 > 
 > options 	HEARTBEAT
 > options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
 > options 	DDB_COMMANDONENTER="bt;ps;show all tstiles/t;sync"
 Neat!

 A -current kernel as of today (GENERIC plus the above options
 plus DDB_ONPANIC=1) goes black and unresponsive as before, but
 now produces a crash dump!  The dmesg output from the dump and a
 ps listing from ditto below.  I also tried a bt/a command on the
 only non-idle running process, but the frame pointer might be
 mangled, or the crash program in question might not handle a
 newer crash dump correctly.  Let me know what you want me to look
 for.
 					-jarle
 -- 
 "We do this not because it is easy, but because we thought it would be easy."

 dmesg:

 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
 [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
 [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All rights reserved.

 [     1.000000] NetBSD 10.99.5 (PR56815) #0: Tue Jul 11 11:47:29 CEST 2023
 [     1.000000]         jarle@ask.home.greipsland.no:/usr/obj/sys/arch/amd64/compile/PR56815
 [     1.000000] total memory = 8104 MB
 [     1.000000] avail memory = 7814 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [     1.000004] mainbus0 (root)
 [     1.000004] ACPI: RSDP 0x00000000000F0580 000024 (v02 LENOVO)
 [     1.000004] ACPI: XSDT 0x00000000AB0C0090 0000A4 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: FACP 0x00000000AB0D2460 00010C (v05 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20221020/tbfadt-640)
 [     1.000004] ACPI: DSDT 0x00000000AB0C01C8 012295 (v02 LENOVO TC-M00   00001380 INTL 20120913)
 [     1.000004] ACPI: FACS 0x00000000AB66DE80 000040
 [     1.000004] ACPI: APIC 0x00000000AB0D2570 000084 (v03 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: FPDT 0x00000000AB0D25F8 000044 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: FIDT 0x00000000AB0D2640 00009C (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: MCFG 0x00000000AB0D26E0 00003C (v01 LENOVO TC-M00   00001380 MSFT 00000097)
 [     1.000004] ACPI: TCPA 0x00000000AB0D2720 000032 (v02 LENOVO TC-M00   00001380 MSFT 01000013)
 [     1.000004] ACPI: SLIC 0x00000000AB0D2758 000176 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: MSDM 0x00000000AB0D28D0 000055 (v03 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: SSDT 0x00000000AB0D2928 000763 (v01 LENOVO TC-M00   00001380 INTL 20061109)
 [     1.000004] ACPI: SSDT 0x00000000AB0D3090 000290 (v01 LENOVO TC-M00   00001380 INTL 20061109)
 [     1.000004] ACPI: SSDT 0x00000000AB0D3320 00017A (v01 LENOVO TC-M00   00001380 INTL 20061109)
 [     1.000004] ACPI: UEFI 0x00000000AB0D34A0 000042 (v01 LENOVO TC-M00   00001380      00000000)
 [     1.000004] ACPI: LPIT 0x00000000AB0D34E8 000104 (v01 LENOVO TC-M00   00001380 MSFT 0100000D)
 [     1.000004] ACPI: CSRT 0x00000000AB0D35F0 00014C (v00 LENOVO TC-M00   00001380 MSFT 0100000D)
 [     1.000004] ACPI: LUFT 0x00000000AB0D3740 0569E2 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: BGRT 0x00000000AB12A128 000038 (v01 LENOVO TC-M00   00001380 AMI  00010013)
 [     1.000004] ACPI: 4 ACPI AML tables successfully acquired and loaded
 [     1.000004] ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20, 115 pins
 [     1.000004] cpu0 at mainbus0 apid 0
 [     1.000004] cpu0: Use lfence to serialize rdtsc
 [     1.000004] cpu0: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu0: node 0, package 0, core 0, smt 0
 [     1.000004] cpu1 at mainbus0 apid 2
 [     1.000004] cpu1: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu1: node 0, package 0, core 1, smt 0
 [     1.000004] cpu2 at mainbus0 apid 4
 [     1.000004] cpu2: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu2: node 0, package 0, core 2, smt 0
 [     1.000004] cpu3 at mainbus0 apid 6
 [     1.000004] cpu3: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [     1.000004] cpu3: node 0, package 0, core 3, smt 0
 [     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
 [     1.000004] acpi0: X/RSDT: OemId <LENOVO,TC-M00  ,00001380>, AslId <AMI ,00010013>
 [     1.000004] acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFFD546821B008 0006FA (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFFD55A7886488 0003A5 (v01 PmRef  Cpu0Cst  00003001 INTL 20061109)
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFFD55A6220748 00015F (v01 PmRef  ApIst    00003000 INTL 20061109)
 [     1.000004] ACPI: Dynamic OEM Table Load:
 [     1.000004] ACPI: SSDT 0xFFFFFD5468185B08 00008D (v01 PmRef  ApCst    00003000 INTL 20061109)
 [     1.000004] acpi0: SCI interrupting at int 9
 [     1.000004] acpi0: fixed power button present
 [     1.000004] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 [     1.007943] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
 [     1.007943] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
 [     1.007943] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
 [     1.007943] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
 [     1.007943] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
 [     1.007943] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
 [     1.007943] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
 [     1.007943] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
 [     1.007943] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
 [     1.007943] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
 [     1.007943] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
 [     1.007943] acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output Device
 [     1.007943] acpivga0: connected output devices:
 [     1.007943] acpivga0:   0x0400 (acpiout8): Unknown Output Device, head 0
 [     1.007943] acpivga0:   0x22b8 (acpiout9): Unknown Output Device, head 0, non vga
 [     1.007943] FWHD (INT0800) at acpi0 not configured
 [     1.007943] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 [     1.007943] pckbc1 at acpi0 (PS2K, MSFT0001-0) (kbd port): io 0x60,0x64 irq 1
 [     1.007943] pckbc2 at acpi0 (PS2M, MSFT0003-0) (aux port): io 0x60,0x64 irq 12
 [     1.007943] BTH1 (BCM2E64) at acpi0 not configured
 [     1.007943] GPS1 (BCM4752) at acpi0 not configured
 [     1.007943] SHUB (SMO91D0) at acpi0 not configured
 [     1.007943] STRB (INTCF1C) at acpi0 not configured
 [     1.007943] TPD1 (MSFT0002) at acpi0 not configured
 [     1.007943] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 [     1.007943] acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 [     1.007943] tpm0 at acpi0 (TPM, PNP0C31-1): mem 0xfed40000-0xfed44fff
 [     1.007943] tpm0: device 0x00fe1050 rev 0x2
 [     1.007943] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
 [     1.007943] acpitz0 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
 [     1.007943] acpitz0: active cooling level 0: 110.0C
 [     1.007943] acpitz0: levels: critical 95.0 C, hot 90.0 C, passive 85.0 C
 [     1.007943] acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
 [     1.007943] acpiwmibus at acpiwmi0 not configured
 [     1.007943] LBAI (LEN4001) at acpi0 not configured
 [     1.007943] ACPI: Enabled 6 GPEs in block 00 to 3F
 [     1.007943] pci0 at mainbus0 bus 0: configuration mode 1
 [     1.007943] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [     1.007943] pchb0 at pci0 dev 0 function 0: Intel Braswell Soc Transaction Router (rev. 0x35)
 [     1.007943] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics (rev. 0x35)
 [     1.007943] ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI (rev. 0x35)
 [     1.007943] ahcisata0: 64-bit DMA
 [     1.007943] ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 0xd734ff01<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SNCQ,S64A>
 [     1.007943] ahcisata0: interrupting at msi0 vec 0
 [     1.007943] atabus0 at ahcisata0 channel 0
 [     1.007943] atabus1 at ahcisata0 channel 1
 [     1.007943] xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI (rev. 0x35)
 [     1.007943] xhci0: 64-bit DMA
 [     1.007943] xhci0: interrupting at msi1 vec 0
 [     1.007943] xhci0: xHCI version 1.0
 [     1.007943] usb0 at xhci0: USB revision 3.0
 [     1.007943] usb1 at xhci0: USB revision 2.0
 [     1.007943] Intel Braswell TXE (miscellaneous crypto, revision 0x35) at pci0 dev 26 function 0 not configured
 [     1.007943] hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 [     1.007943] hdaudio0: interrupting at msi2 vec 0
 [     1.007943] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
 [     1.007943] hdafg0 at hdaudio0: Realtek product 0233
 [     1.007943] hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
 [     1.007943] hdafg0: DAC01 2ch: Speaker [Jack]
 [     1.007943] hdafg0: ADC02 2ch: Mic In [Jack]
 [     1.007943] hdafg0: ADC03 2ch: Mic In [Jack]
 [     1.007943] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
 [     1.007943] audio0 at hdafg0: playback, capture, full duplex, independent
 [     1.007943] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
 [     1.007943] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
 [     1.007943] spkr0 at audio0: PC Speaker (synthesized)
 [     1.007943] wsbell at spkr0 not configured
 [     1.007943] hdafg1 at hdaudio0: Intel product 2883
 [     1.007943] hdafg1: DP00 8ch: Digital Out [Jack]
 [     1.007943] hdafg1: DP01 8ch: Digital Out [Jack]
 [     1.007943] hdafg1: DP02 8ch: Digital Out [Jack]
 [     1.007943] hdafg1: 8ch/0ch 48000Hz PCM16*
 [     1.007943] audio1 at hdafg1: playback, capture, full duplex, independent
 [     1.007943] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
 [     1.007943] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
 [     1.007943] spkr1 at audio1: PC Speaker (synthesized)
 [     1.007943] wsbell at spkr1 not configured
 [     1.007943] ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev. 0x35)
 [     1.007943] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [     1.007943] pci1 at ppb0 bus 1
 [     1.007943] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.007943] re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
 [     1.007943] re0: interrupting at msix3 vec 0
 [     1.007943] re0: RTL8168G/8111G (0x4c00)
 [     1.007943] re0: Ethernet address 6c:4b:90:5e:10:e0
 [     1.007943] re0: using 256 tx descriptors
 [     1.007943] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
 [     1.007943] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 [     1.007943] ppb1 at pci0 dev 28 function 1: Intel Braswell PCIe (rev. 0x35)
 [     1.007943] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [     1.007943] pci2 at ppb1 bus 2
 [     1.007943] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.007943] Atheros Communications product 0042 (miscellaneous network, revision 0x30) at pci2 dev 0 function 0 not configured
 [     1.007943] pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC (rev. 0x35)
 [     1.007943] ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU SMBus (rev. 0x35)
 [     1.007943] ichsmb0: interrupting at ioapic0 pin 18
 [     1.007943] iic0 at ichsmb0: I2C bus
 [     1.007943] isa0 at pcib0
 [     1.007943] pcppi0 at isa0 port 0x61
 [     1.007943] spkr2 at pcppi0: PC Speaker
 [     1.007943] wsbell at spkr2 not configured
 [     1.007943] midi0 at pcppi0: PC speaker
 [     1.007943] sysbeep0 at pcppi0
 [     1.007943] attimer1: attached to pcppi0
 [     1.007943] acpicpu0 at cpu0: ACPI CPU
 [     1.007943] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
 [     1.007943] acpicpu0: C2: FFH, lat 500 us, pow    10 mW
 [     1.007943] acpicpu0: C3: FFH, lat 1000 us, pow    10 mW
 [     1.007943] acpicpu0: P0: FFH, lat  10 us, pow  2000 mW, 1601 MHz, turbo boost
 [     1.007943] acpicpu0: P1: FFH, lat  10 us, pow  2000 mW, 1600 MHz
 [     1.007943] acpicpu0: P2: FFH, lat  10 us, pow  1900 mW, 1520 MHz
 [     1.007943] acpicpu0: P3: FFH, lat  10 us, pow  1800 mW, 1440 MHz
 [     1.007943] acpicpu0: P4: FFH, lat  10 us, pow  1700 mW, 1360 MHz
 [     1.007943] acpicpu0: P5: FFH, lat  10 us, pow  1600 mW, 1280 MHz
 [     1.007943] acpicpu0: P6: FFH, lat  10 us, pow  1500 mW, 1200 MHz
 [     1.007943] acpicpu0: P7: FFH, lat  10 us, pow  1400 mW, 1120 MHz
 [     1.007943] acpicpu0: P8: FFH, lat  10 us, pow  1300 mW, 1040 MHz
 [     1.007943] acpicpu0: P9: FFH, lat  10 us, pow  1200 mW,  960 MHz
 [     1.007943] acpicpu0: P10: FFH, lat  10 us, pow  1100 mW,  880 MHz
 [     1.007943] acpicpu0: P11: FFH, lat  10 us, pow  1000 mW,  800 MHz
 [     1.007943] acpicpu0: P12: FFH, lat  10 us, pow   900 mW,  720 MHz
 [     1.007943] acpicpu0: P13: FFH, lat  10 us, pow   800 mW,  640 MHz
 [     1.007943] acpicpu0: P14: FFH, lat  10 us, pow   700 mW,  560 MHz
 [     1.007943] acpicpu0: P15: FFH, lat  10 us, pow   600 mW,  480 MHz
 [     1.007943] acpicpu0: T0: FFH, lat   1 us, pow   600 mW, 100 %
 [     1.007943] acpicpu0: T1: FFH, lat   1 us, pow   525 mW,  88 %
 [     1.007943] acpicpu0: T2: FFH, lat   1 us, pow   450 mW,  75 %
 [     1.007943] acpicpu0: T3: FFH, lat   1 us, pow   375 mW,  63 %
 [     1.007943] acpicpu0: T4: FFH, lat   1 us, pow   300 mW,  50 %
 [     1.007943] acpicpu0: T5: FFH, lat   1 us, pow   225 mW,  38 %
 [     1.007943] acpicpu0: T6: FFH, lat   1 us, pow   150 mW,  25 %
 [     1.007943] acpicpu0: T7: FFH, lat   1 us, pow    75 mW,  13 %
 [     1.007943] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=90
 [     1.007943] acpicpu1 at cpu1: ACPI CPU
 [     1.007943] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=90
 [     1.007943] acpicpu2 at cpu2: ACPI CPU
 [     1.007943] coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=90
 [     1.007943] acpicpu3 at cpu3: ACPI CPU
 [     1.007943] coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=90
 [     1.007943] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [     1.007943] timecounter: Timecounter "TSC" frequency 1601861400 Hz quality 3000
 [     1.823536] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
 [     1.823536] uhub0: 6 ports with 6 removable, self powered
 [     1.823536] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
 [     1.823536] uhub1: 7 ports with 7 removable, self powered
 [     1.830974] IPsec: Initialized Security Association Processing.
 [     1.920968] ahcisata0 port 0: device present, speed: 6.0Gb/s
 [     2.290968] uhub2 at uhub1 port 5: vendor 0424 (0x0424) product 2514 (0x2514), class 9/0, rev 2.00/2.00, addr 1
 [     2.290968] uhub2: multiple transaction translators
 [     2.290968] uhub2: 4 ports with 4 removable, self powered
 [     2.920967] ahcisata0 port 1: PHY offline
 [     3.040967] ubt0 at uhub2 port 2
 [     3.040967] ubt0: vendor 0cf3 (0x0cf3) product e360 (0xe360), rev 2.01/0.01, addr 2
 [     3.450966] uhub3 at uhub2 port 4: vendor 0557 (0x0557) product 8021 (0x8021), class 9/0, rev 1.10/1.00, addr 3
 [     3.450966] uhub3: 4 ports with 4 removable, self powered
 [     3.480966] wd0 at atabus0 drive 0
 [     3.480966] wd0: <SanDisk SD9TB8W256G1001>
 [     3.480966] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
 [     3.480966] wd0: 238 GB, 496149 cyl, 16 head, 63 sec, 512 bytes/sect x 500118192 sectors
 [     3.480966] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
 [     3.480966] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
 [     4.270966] uhidev0 at uhub3 port 1 configuration 1 interface 0
 [     4.270966] uhidev0: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213), rev 1.10/1.00, addr 4, iclass 3/1
 [     4.290966] ukbd0 at uhidev0
 [     4.290966] wskbd0 at ukbd0: console keyboard
 [     4.290966] uhidev1 at uhub3 port 1 configuration 1 interface 1
 [     4.290966] uhidev1: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213), rev 1.10/1.00, addr 4, iclass 3/1
 [     4.320966] ums0 at uhidev1: 5 buttons and Z dir
 [     4.320966] wsmouse0 at ums0 mux 0
 [     4.320966] swwdog0: software watchdog initialized
 [     4.330967] boot device: wd0
 [     4.330967] root on wd0a dumps on wd0b
 [     4.330967] root file system type: ffs
 [     4.330967] kern.module.path=/stand/amd64/10.99.5/modules
 [     4.333867] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [     4.333867] Driver supports precise vblank timestamp query.
 [     4.333867] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
 [     4.550965] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* bcs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
 [     4.550965] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* bcs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
 [     4.550965] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* vcs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
 [     4.560972] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* vecs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
 [     4.570966] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
 [     5.170968] intelfb0 at i915drmkms0
 [     5.170968] DRM_I915_DEBUG enabled
 [     5.170968] DRM_I915_DEBUG_GEM enabled
 [     5.170968] intelfb0: framebuffer at 0xb8020000, size 1920x1200, depth 32, stride 7680
 [     5.170968] uvm_fault(0xffffffff819101c0, 0xfffffffffffff000, 1) -> e
 [     5.170968] fatal page fault in supervisor mode
 [     5.170968] trap type 6 code 0 rip 0xffffffff80dc862e cs 0x8 rflags 0x10286 cr2 0xfffffffffffffff0 ilevel 0 rsp 0xffffdb023a6d8af0
 [     5.170968] curlwp 0xfffffd54685da9c0 pid 0.219 lowest kstack 0xffffdb023a6d42c0

 [     5.170968] dumping to dev 0,1 (offset=179551, size=2074708):
 [     5.170968] dump 

 ps listing:
 ask# crash -M netbsd.1.core -N netbsd.1
 Crash version 9.99.92, image version 10.99.5.
 WARNING: versions differ, you may not be able to examine this image.
 crash: _kvm_kvatop(0)
 Kernel compiled without options LOCKDEBUG.
 System panicked: dump forced via kernel debugger
 Backtrace from time of crash is available.
 crash> ps
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 1        1 3   0         0   fffffd54686878c0               init lbolt
 0      164 3   1       200   fffffd5468950980    i915-userptr-ac i915-userptr-ac
 q
 0      163 3   1       200   fffffd5468950540          pooldrain pooldrain
 0      162 3   2       200   fffffd5468950100            ioflush syncer
 0      161 3   0       200   fffffd546890b940           pgdaemon pgdaemon
 0      160 3   3       200   fffffd546890b500          i915_flip i915_flip
 0       95 3   3       200   fffffd546890b0c0       i915_modeset i915_modeset
 0      222 3   3       200   fffffd5468729900            i915-dp i915-dp
 0      221 3   3       200   fffffd54687294c0               i915 i915
 0      220 3   1       200   fffffd546849d940         configroot kthrwait
 0    > 219 7   1       200   fffffd54685da9c0         configroot
 0      218 3   0       200   fffffd54685b4100          swwreboot swwreboot
 0      216 3   0       200   fffffd5468729080             npfgc0 npfgcw
 0      215 3   0       200   fffffd5468687480            rt_free rt_free
 0      214 3   0       200   fffffd5468687040              unpgc unpgc
 0      213 3   0       200   fffffd54686a2bc0    key_timehandler key_timehandler

 0      212 3   3       200   fffffd54686a2780    icmp6_wqinput/3 icmp6_wqinput
 0      211 3   2       200   fffffd54686a2340    icmp6_wqinput/2 icmp6_wqinput
 0      210 3   1       200   fffffd546869db80    icmp6_wqinput/1 icmp6_wqinput
 0      209 3   0       200   fffffd546869d740    icmp6_wqinput/0 icmp6_wqinput
 0      208 3   1       200   fffffd546869d300          nd6_timer nd6_timer
 0      207 3   3       200   fffffd54686b8b40    carp6_wqinput/3 carp6_wqinput
 0      206 3   2       200   fffffd54686b8700    carp6_wqinput/2 carp6_wqinput
 0      205 3   1       200   fffffd54686b82c0    carp6_wqinput/1 carp6_wqinput
 0      204 3   0       200   fffffd5468623b00    carp6_wqinput/0 carp6_wqinput
 0      203 3   3       200   fffffd54686236c0     carp_wqinput/3 carp_wqinput
 0      202 3   2       200   fffffd5468623280     carp_wqinput/2 carp_wqinput
 0      201 3   1       200   fffffd5468605ac0     carp_wqinput/1 carp_wqinput
 0      200 3   0       200   fffffd5468605680     carp_wqinput/0 carp_wqinput
 0      199 3   3       200   fffffd5468605240     icmp_wqinput/3 icmp_wqinput
 0      198 3   2       200   fffffd5468619a80     icmp_wqinput/2 icmp_wqinput
 0      197 3   1       200   fffffd5468619640     icmp_wqinput/1 icmp_wqinput
 0      196 3   0       200   fffffd54685b4540     icmp_wqinput/0 icmp_wqinput
 0      195 3   0       200   fffffd54685da580           rt_timer rt_timer
 0      194 3   3       200   fffffd546849d500        vmem_rehash vmem_rehash
 0      193 3   3       200   fffffd54685f4a40               usb0 usbevt
 0      192 3   2       200   fffffd5468619200               usb1 usbevt
 0      125 3   3       200   fffffd54685f4600          coretemp3 coretemp3
 0      124 3   1       200   fffffd54685f41c0          coretemp2 coretemp2
 0      123 3   2       200   fffffd54685bfa00          coretemp1 coretemp1
 0      122 3   3       200   fffffd54685bf5c0          coretemp0 coretemp0
 0      121 3   1       200   fffffd54685bf180            acpitz0 acpitz0
 0      112 3   0       200   fffffd546849d0c0          entbutler entropy
 0      111 3   0       200   fffffd54682a9900         usbtask-dr usbtsk
 0      110 3   0       200   fffffd54682a94c0         usbtask-hc usbtsk
 0      109 3   0       240   fffffd54682a9080            atabus1 atath
 0      108 2   0       240   fffffd54682408c0            atabus0
 0      107 3   0       200   fffffd5468240480            intelfb intelfb
 0      106 3   1       240   fffffd5468240040               tpm0 tpm0
 0      105 3   3       200   fffffd54680ebbc0            xcall/3 xcall
 0      104 1   3       200   fffffd54680eb780          softser/3
 0      103 1   3       200   fffffd54680eb340          softclk/3
 0      102 1   3       200   fffffd54680beb80          softbio/3
 0      101 1   3       200   fffffd54680be740          softnet/3
 0    > 100 1   3       201   fffffd54680be300             idle/3
 0       99 3   2       200   fffffd546800eb40            xcall/2 xcall
 0       98 1   2       200   fffffd546800e700          softser/2
 0       97 1   2       200   fffffd546800e2c0          softclk/2
 0       96 1   2       200   fffffd5468031b00          softbio/2
 0       30 1   2       200   fffffd54680316c0          softnet/2
 0    >  29 1   2       201   fffffd5468031280             idle/2
 0       28 3   1       200   fffffd5467f9dac0            xcall/1 xcall
 0       27 1   1       200   fffffd5467f9d680          softser/1
 0       26 1   1       200   fffffd5467f9d240          softclk/1
 0       25 1   1       200   fffffd5467f6ca80          softbio/1
 0       24 1   1       200   fffffd5467f6c640          softnet/1
 0       23 1   1       201   fffffd5467f6c200             idle/1
 0       22 3   3       200   fffffd55a635ea40           lnxsyswq lnxsyswq
 0       21 3   0       200   fffffd55a635e600           lnxubdwq lnxubdwq
 0       20 3   0       200   fffffd55a635e1c0           lnxpwrwq lnxpwrwq
 0       19 3   0       200   fffffd55a6379a00           lnxlngwq lnxlngwq
 0       18 3   1       200   fffffd55a63795c0           lnxhipwq lnxhipwq
 0       17 3   0       240   fffffd55a6379180           lnxrcugc lnxrcugc
 0       16 3   0       200   fffffd55a63869c0             sysmon smtaskq
 0       15 3   0       200   fffffd55a6386580         pmfsuspend pmfsuspend
 0       14 3   0       200   fffffd55a6386140           pmfevent pmfevent
 0       13 3   0       200   fffffd55a63a1980         sopendfree sopendfr
 0       12 3   2       200   fffffd55a63a1540             ifwdog ifwdog
 0       11 3   1       200   fffffd55a63a1100            iflnkst iflnkst
 0       10 3   0       200   fffffd55a73ca940           nfssilly nfssilly
 0        9 3   0       200   fffffd55a73ca500             vdrain vdrain
 0        8 3   0       200   fffffd55a73ca0c0          modunload mod_unld
 0        7 3   0       200   fffffd55a73fb900            xcall/0 xcall
 0        6 1   0       200   fffffd55a73fb4c0          softser/0
 0        5 1   0       200   fffffd55a73fb080          softclk/0
 0        4 1   0       200   fffffd55a74258c0          softbio/0
 0        3 1   0       200   fffffd55a7425480          softnet/0
 0    >   2 1   0       201   fffffd55a7425040             idle/0
 0        0 3   1       200   ffffffff8188b580            swapper kthrwait
 crash> bt/a fffffd54685da9c0
 trace: pid 0 lid 219 at 0xfffffd54696de3c8
 _KERNEL_OPT_PMS_DISABLE_POWERHOOK() at fffffd546894c808
 Bad frame pointer: 0xfffffd546891a208
 crash> 

From: Taylor R Campbell <riastradh@NetBSD.org>
To: Jarle Greipsland <jarle.greipsland@norid.no>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-amd64/56815: Lenovo ThinkCentre with i915drmkms graphics
	fails to boot -current
Date: Tue, 11 Jul 2023 11:12:53 +0000

 > Date: Tue, 11 Jul 2023 12:56:48 +0200 (CEST)
 > From: Jarle Greipsland <jarle.greipsland@norid.no>
 > 
 > A -current kernel as of today (GENERIC plus the above options
 > plus DDB_ONPANIC=1) goes black and unresponsive as before, but
 > now produces a crash dump!  The dmesg output from the dump and a
 > ps listing from ditto below.  I also tried a bt/a command on the
 > only non-idle running process, but the frame pointer might be
 > mangled, or the crash program in question might not handle a
 > newer crash dump correctly.  Let me know what you want me to look
 > for.

 Excellent!  Can you see if gdb does better about a stack trace?

 $ gdb netbsd.gdb
 (gdb) target kvm netbsd.1.core
 (gdb) bt

 Also, can you try with a newer crash?

From: Jarle Greipsland <jarle.greipsland@norid.no>
To: riastradh@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-amd64/56815: Lenovo ThinkCentre with i915drmkms graphics
 fails to boot -current
Date: Tue, 11 Jul 2023 14:33:04 +0200 (CEST)

 Taylor R Campbell <riastradh@NetBSD.org> writes:
 >> Date: Tue, 11 Jul 2023 12:56:48 +0200 (CEST)
 >> From: Jarle Greipsland <jarle.greipsland@norid.no>
 >> 
 >> A -current kernel as of today (GENERIC plus the above options
 >> plus DDB_ONPANIC=1) goes black and unresponsive as before, but
 >> now produces a crash dump!  The dmesg output from the dump and a
 >> ps listing from ditto below.  I also tried a bt/a command on the
 >> only non-idle running process, but the frame pointer might be
 >> mangled, or the crash program in question might not handle a
 >> newer crash dump correctly.  Let me know what you want me to look
 >> for.
 > 
 > Excellent!  Can you see if gdb does better about a stack trace?
 > 
 > $ gdb netbsd.gdb
 > (gdb) target kvm netbsd.1.core
 > (gdb) bt
 > 
 > Also, can you try with a newer crash?
 Extracts using a -current gdb and -current crash below.  The
 crash one seems relevant.

 				-jarle
 -- 
 "Things always look the darkest before they go completely black."

 $ gdb netbsd.gdb
 GNU gdb (GDB) 11.0.50.20200914-git
 Copyright (C) 2020 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Type "show copying" and "show warranty" for details.
 This GDB was configured as "x86_64--netbsd".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <https://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from netbsd.gdb...
 (gdb) target kvm netbsd.1.core
 0xffffffff80239c85 in cpu_reboot (howto=howto@entry=256, 
     bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:717
 717                     dumpsys();
 (gdb) bt
 #0  0xffffffff80239c85 in cpu_reboot (howto=howto@entry=256, 
     bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:717
 #1  0xffffffff80dd5fee in kern_reboot (howto=howto@entry=256, 
     bootstr=bootstr@entry=0x0) at /usr/src/sys/kern/kern_reboot.c:73
 #2  0xffffffff80b5f873 in db_sync_cmd (addr=<optimized out>, 
     have_addr=<optimized out>, count=<optimized out>, modif=<optimized out>)
     at /usr/src/sys/ddb/db_command.c:1650
 #3  0xffffffff80b6001a in db_command (
     last_cmdp=last_cmdp@entry=0xffffdb023a6d8748)
     at /usr/src/sys/ddb/db_command.c:964
 #4  0xffffffff80b6060f in db_execute_commandlist (
     cmdlist=0xffffffff81873880 <db_cmd_on_enter> "bt;ps;show all tstiles/t;sync") at /usr/src/sys/ddb/db_command.c:460
 #5  db_command_loop () at /usr/src/sys/ddb/db_command.c:612
 #6  0xffffffff80b647d8 in db_trap (type=type@entry=6, code=code@entry=0)
     at /usr/src/sys/ddb/db_trap.c:91
 #7  0xffffffff80236b07 in kdb_trap (type=type@entry=6, code=code@entry=0, 
     regs=regs@entry=0xffffdb023a6d8a00)
     at /usr/src/sys/arch/amd64/amd64/db_interface.c:251
 #8  0xffffffff8023c274 in trap (frame=0xffffdb023a6d8a00)
     at /usr/src/sys/arch/amd64/amd64/trap.c:315
 #9  0xffffffff80234ad4 in alltraps ()
 #10 0xfffffffffffffff0 in ?? ()
 --Type <RET> for more, q to quit, c to continue without paging--
 #11 0x0000000000000001 in ?? ()
 #12 0x0000000000000001 in ?? ()
 #13 0x0000000000000000 in ?? ()

 crash

 bash-5.2$ crash -M netbsd.1.core -N netbsd.gdb 
 Crash version 10.99.5, image version 10.99.5.
 crash: _kvm_kvatop(0)
 Kernel compiled without options LOCKDEBUG.
 System panicked: dump forced via kernel debugger
 Backtrace from time of crash is available.
 crash> bt
 __kernel_end() at 0
 kern_reboot() at sys_reboot
 db_sync_cmd() at db_sifting_cmd
 db_command() at db_command+0x123
 db_command_loop() at db_command_loop+0x1c7
 db_trap() at db_trap+0xcc
 kdb_trap() at kdb_trap+0x106
 trap() at trap+0x2f4
 --- trap (number 6) ---
 mutex_oncpu() at mutex_oncpu+0x20
 mutex_vector_enter() at mutex_vector_enter+0xa7
 intel_rps_mark_interactive() at intel_rps_mark_interactive+0x1e
 intel_prepare_plane_fb() at intel_prepare_plane_fb+0x230
 drm_atomic_helper_prepare_planes() at drm_atomic_helper_prepare_planes+0x8f
 intel_atomic_commit() at intel_atomic_commit+0xb8
 drm_client_modeset_commit_atomic() at drm_client_modeset_commit_atomic+0x19a
 drm_client_modeset_commit_force() at drm_client_modeset_commit_force+0x4c
 drm_fb_helper_restore_fbdev_mode_unlocked() at drm_fb_helper_restore_fbdev_mode_
 unlocked+0x55
 drmfb_genfb_setmode() at drmfb_genfb_setmode+0x17
 genfb_attach() at genfb_attach+0x1af
 drmfb_attach() at drmfb_attach+0x23c
 intelfb_attach_task() at intelfb_attach_task+0x4e
 i915drmkms_attach_real() at i915drmkms_attach_real+0xb6
 config_mountroot_thread() at config_mountroot_thread+0x60
 crash> 

From: Jarle Greipsland <jarle.greipsland@norid.no>
To: riastradh@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-amd64/56815: Lenovo ThinkCentre with i915drmkms graphics
 fails to boot -current
Date: Wed, 12 Jul 2023 12:56:00 +0200 (CEST)

 Jarle Greipsland <jarle.greipsland@norid.no> writes:
 > Taylor R Campbell <riastradh@NetBSD.org> writes:
 [ ... ]
 >> Excellent!  Can you see if gdb does better about a stack trace?
 >> 
 >> $ gdb netbsd.gdb
 >> (gdb) target kvm netbsd.1.core
 >> (gdb) bt
 >> 
 >> Also, can you try with a newer crash?
 > Extracts using a -current gdb and -current crash below.  The
 > crash one seems relevant.
 I built a kernel with the LOCKDEBUG option set, and the panic
 messages now allude to there being an uninitialized lock:
 [ ... ]
 [   4.4428248] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [   4.4460886] [drm] Driver supports precise vblank timestamp query.
 [   4.4460886] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
 [   4.6660696] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* bcs'0 reset request
  timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.6660696] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* bcs'0 reset request
  timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.6660696] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* vcs'0 reset request
  timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.6760782] {drm:netbsd:gen8_reset_engines+0x394} *ERROR* vecs'0 reset reques
 t timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.6860750] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
 [   5.5760841] intelfb0 at i915drmkms0
 [   5.5760841] [drm] DRM_I915_DEBUG enabled
 [   5.5760841] [drm] DRM_I915_DEBUG_GEM enabled
 [   5.5760841] intelfb0: framebuffer at 0xb8020000, size 1920x1200, depth 32, st
 ride 7680
 [   5.5760841] panic: mutex_vector_enter,515: uninitialized lock (lock=0xffffc60
 010a6d460, from=ffffffff807eff7c)
 [   5.5760841] cpu1: Begin traceback...
 [   5.5760841] vpanic() at netbsd:vpanic+0x173
 [   5.5760841] panic() at netbsd:panic+0x3c
 [   5.5760841] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x180
 [   5.5860788] mutex_enter() at netbsd:mutex_enter+0x213
 [   5.5860788] intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive
 +0x1e
 [   5.5860788] intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x230
 [   5.5860788] drm_atomic_helper_prepare_planes() at netbsd:drm_atomic_helper_pr
 epare_planes+0x8f
 [   5.5860788] intel_atomic_commit() at netbsd:intel_atomic_commit+0xb8
 [   5.5960744] drm_client_modeset_commit_atomic() at netbsd:drm_client_modeset_c
 ommit_atomic+0x19a
 [   5.5960744] drm_client_modeset_commit_force() at netbsd:drm_client_modeset_co
 mmit_force+0x4c
 [   5.5960744] drm_fb_helper_restore_fbdev_mode_unlocked() at netbsd:drm_fb_help
 er_restore_fbdev_mode_unlocked+0x55
 [   5.5960744] drmfb_genfb_setmode() at netbsd:drmfb_genfb_setmode+0x17
 [   5.5960744] genfb_attach() at netbsd:genfb_attach+0x1af
 [   5.6060732] drmfb_attach() at netbsd:drmfb_attach+0x23c
 [   5.6060732] intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
 [   5.6060732] i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xb6
 [   5.6060732] config_mountroot_thread() at netbsd:config_mountroot_thread+0x60
 [   5.6060732] cpu1: End traceback...
 [   5.6060732] fatal breakpoint trap in supervisor mode
 [   5.6060732] trap type 1 code 0 rip 0xffffffff80235425 cs 0x8 rflags 0x202 cr2
  0 ilevel 0x8 rsp 0xffffc6023a6e6a20
 [   5.6060732] curlwp 0xffff90e0a73ea9c0 pid 0.219 lowest kstack 0xffffc6023a6e2
 2c0

 [   5.6060732] dumping to dev 0,1 (offset=179551, size=2074708):
 [   5.6060732] dump

 					-jarle
 -- 
 "Then I realized that I had spelled '-' wrong."
 				-- John Whitmore learns APL

State-Changed-From-To: feedback->open
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Wed, 02 Aug 2023 20:32:22 +0000
State-Changed-Why:
feedback received, need to analyze it


From: Jarle Greipsland <jarle.greipsland@norid.no>
To: gnats-bugs@netbsd.org, riastradh@NetBSD.org
Cc: 
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
 fails to boot)
Date: Sun, 21 Jan 2024 15:24:15 +0100 (CET)

 Hi!

 I noticed some fresh commits touching the interaction between the
 Intel graphics chipsets and the NetBSD memory handling system.  I
 therefore decided to try out a fresh kernel on my little
 ThinkCentre.  Unfortunately, the (LOCKDEBUG) kernel panics in the
 same place as before, and with the same backtrace.

 				-jarle
 -- 
 "Programming graphics in X is like finding sqrt(pi) using Roman
  numerals."			-- Henry Spencer

From: Taylor R Campbell <riastradh@NetBSD.org>
To: Jarle Greipsland <jarle.greipsland@norid.no>
Cc: gnats-bugs@netbsd.org
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
	fails to boot)
Date: Sun, 21 Jan 2024 14:59:58 +0000

 This is a multi-part message in MIME format.
 --=_cEFiPfdk98xHDMxf5dg4ZFdv6SEdn8RA

 > Date: Sun, 21 Jan 2024 15:24:15 +0100 (CET)
 > From: Jarle Greipsland <jarle.greipsland@norid.no>
 > 
 > I noticed some fresh commits touching the interaction between the
 > Intel graphics chipsets and the NetBSD memory handling system.  I
 > therefore decided to try out a fresh kernel on my little
 > ThinkCentre.  Unfortunately, the (LOCKDEBUG) kernel panics in the
 > same place as before, and with the same backtrace.

 Yes, unfortunately, this issue is clearly not related to the recent
 commits.

 Can you please try the attached patch and share the dmesg output when
 it panics?  It won't fix anything but it may help to track down what's
 going wrong.

 --=_cEFiPfdk98xHDMxf5dg4ZFdv6SEdn8RA
 Content-Type: text/plain; charset="ISO-8859-1"; name="pr56815-i915rpsmutexinit-printfs"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename="pr56815-i915rpsmutexinit-printfs.patch"

 From 5f23bd50408ce9976faf1e04b6ebd14f5259b512 Mon Sep 17 00:00:00 2001
 From: Taylor R Campbell <riastradh@NetBSD.org>
 Date: Sun, 21 Jan 2024 14:50:57 +0000
 Subject: [PATCH] WIP: PR 56815: sprinkle debug messages to see what gets
  called when

 ---
  .../bsd/drm2/dist/drm/i915/gt/intel_gt.c      | 40 +++++++++----------
  .../bsd/drm2/dist/drm/i915/gt/intel_gt_pm.c   |  2 +-
  .../bsd/drm2/dist/drm/i915/gt/intel_rps.c     | 12 +++---
  .../bsd/drm2/dist/drm/i915/i915_drv.c         | 22 +++++-----
  4 files changed, 38 insertions(+), 38 deletions(-)

 diff --git a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c b/sys/extern=
 al/bsd/drm2/dist/drm/i915/gt/intel_gt.c
 index 20fa85000ca8..87f17c09e153 100644
 --- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c
 +++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c
 @@ -26,7 +26,7 @@ __KERNEL_RCSID(0, "$NetBSD: intel_gt.c,v 1.3 2021/12/19 1=
 1:39:55 riastradh Exp $
  #include "intel_pm.h"
 =20
  void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i91=
 5)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	gt->i915 =3D i915;
  	gt->uncore =3D &i915->uncore;
 =20
 @@ -563,12 +563,12 @@ static void __intel_gt_disable(struct intel_gt *gt)
  }
 =20
  int intel_gt_init(struct intel_gt *gt)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	int err;
 =20
  	err =3D i915_inject_probe_error(gt->i915, -ENODEV);
 -	if (err)
 -		return err;
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		return err; }
 =20
  	/*
  	 * This is just a security blanket to placate dragons.
 @@ -580,39 +580,39 @@ int intel_gt_init(struct intel_gt *gt)
  	intel_uncore_forcewake_get(gt->uncore, FORCEWAKE_ALL);
 =20
  	err =3D intel_gt_init_scratch(gt, IS_GEN(gt->i915, 2) ? SZ_256K : SZ_4K);
 -	if (err)
 -		goto out_fw;
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto out_fw; }
 =20
  	intel_gt_pm_init(gt);
 =20
  	gt->vm =3D kernel_vm(gt);
 -	if (!gt->vm) {
 +	if (!gt->vm) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  		err =3D -ENOMEM;
  		goto err_pm;
  	}
 =20
  	err =3D intel_engines_init(gt);
 -	if (err)
 -		goto err_engines;
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_engines; }
 =20
  	intel_uc_init(&gt->uc);
 =20
  	err =3D intel_gt_resume(gt);
 -	if (err)
 -		goto err_uc_init;
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_uc_init; }
 =20
  	err =3D __engines_record_defaults(gt);
 -	if (err)
 -		goto err_gt;
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_gt; }
 =20
  	err =3D __engines_verify_workarounds(gt);
 -	if (err)
 -		goto err_gt;
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_gt; }
 =20
  	err =3D i915_inject_probe_error(gt->i915, -EIO);
 -	if (err)
 -		goto err_gt;
 -
 +	if (err) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_gt; }
 +	printf("%s:%d: %s ok\n", __FILE__, __LINE__, __func__);
  	goto out_fw;
  err_gt:
  	__intel_gt_disable(gt);
 @@ -626,8 +626,8 @@ err_pm:
  	intel_gt_pm_fini(gt);
  	intel_gt_fini_scratch(gt);
  out_fw:
 -	if (err)
 -		intel_gt_set_wedged_on_init(gt);
 +	if (err) {	printf("%s:%d: %s err=3D%d\n", __FILE__, __LINE__, __func__, e=
 rr);
 +		intel_gt_set_wedged_on_init(gt); }
  	intel_uncore_forcewake_put(gt->uncore, FORCEWAKE_ALL);
  	return err;
  }
 diff --git a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt_pm.c b/sys/ext=
 ernal/bsd/drm2/dist/drm/i915/gt/intel_gt_pm.c
 index 5441ec62120b..3bdbcc2b192d 100644
 --- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt_pm.c
 +++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt_pm.c
 @@ -113,7 +113,7 @@ void intel_gt_pm_init_early(struct intel_gt *gt)
  }
 =20
  void intel_gt_pm_init(struct intel_gt *gt)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	/*
  	 * Enabling power-management should be "self-healing". If we cannot
  	 * enable a feature, simply leave it disabled with a notice to the
 diff --git a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c b/sys/exter=
 nal/bsd/drm2/dist/drm/i915/gt/intel_rps.c
 index d3faefcffe98..6afd4eab71c4 100644
 --- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c
 +++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c
 @@ -537,7 +537,7 @@ static u32 rps_limits(struct intel_rps *rps, u8 val)
  }
 =20
  static void rps_set_power(struct intel_rps *rps, int new_power)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	struct intel_uncore *uncore =3D rps_to_uncore(rps);
  	struct drm_i915_private *i915 =3D rps_to_i915(rps);
  	u32 threshold_up =3D 0, threshold_down =3D 0; /* in % */
 @@ -610,7 +610,7 @@ skip_hw_write:
  }
 =20
  static void gen6_rps_set_thresholds(struct intel_rps *rps, u8 val)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	int new_power;
 =20
  	new_power =3D rps->power.mode;
 @@ -650,7 +650,7 @@ static void gen6_rps_set_thresholds(struct intel_rps *r=
 ps, u8 val)
  }
 =20
  void intel_rps_mark_interactive(struct intel_rps *rps, bool interactive)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	mutex_lock(&rps->power.mutex);
  	if (interactive) {
  		if (!rps->power.interactive++ && rps->active)
 @@ -1617,7 +1617,7 @@ void gen5_rps_irq_handler(struct intel_rps *rps)
  }
 =20
  void intel_rps_init_early(struct intel_rps *rps)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	mutex_init(&rps->lock);
  	mutex_init(&rps->power.mutex);
 =20
 @@ -1627,7 +1627,7 @@ void intel_rps_init_early(struct intel_rps *rps)
  }
 =20
  void intel_rps_init(struct intel_rps *rps)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	struct drm_i915_private *i915 =3D rps_to_i915(rps);
 =20
  	if (IS_CHERRYVIEW(i915))
 @@ -1678,7 +1678,7 @@ void intel_rps_init(struct intel_rps *rps)
  }
 =20
  void intel_rps_fini(struct intel_rps *rps)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 =20
  	mutex_destroy(&rps->power.mutex);
  	mutex_destroy(&rps->lock);
 diff --git a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c b/sys/external/=
 bsd/drm2/dist/drm/i915/i915_drv.c
 index bf64ff40059f..052bef78f1e2 100644
 --- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c
 +++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c
 @@ -511,11 +511,11 @@ static void sanitize_gpu(struct drm_i915_private *i91=
 5)
   * function hooks not requiring accessing the device.
   */
  static int i915_driver_early_probe(struct drm_i915_private *dev_priv)
 -{
 +{	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
  	int ret =3D 0;
 =20
 -	if (i915_inject_probe_failure(dev_priv))
 -		return -ENODEV;
 +	if (i915_inject_probe_failure(dev_priv)) {	printf("%s:%d: %s\n", __FILE__=
 , __LINE__, __func__);
 +		return -ENODEV; }
 =20
  	intel_device_info_subplatform_init(dev_priv);
 =20
 @@ -539,12 +539,12 @@ static int i915_driver_early_probe(struct drm_i915_pr=
 ivate *dev_priv)
  	intel_runtime_pm_init_early(&dev_priv->runtime_pm);
 =20
  	ret =3D i915_workqueues_init(dev_priv);
 -	if (ret < 0)
 -		return ret;
 +	if (ret < 0) {	printf("%s:%d: %s ret=3D%d\n", __FILE__, __LINE__, __func_=
 _, ret);
 +		return ret; }
 =20
  	ret =3D vlv_alloc_s0ix_state(dev_priv);
 -	if (ret < 0)
 -		goto err_workqueues;
 +	if (ret < 0) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_workqueues; }
 =20
  	intel_wopcm_init_early(&dev_priv->wopcm);
 =20
 @@ -558,8 +558,8 @@ static int i915_driver_early_probe(struct drm_i915_priv=
 ate *dev_priv)
  	intel_pm_setup(dev_priv);
  	intel_init_dpio(dev_priv);
  	ret =3D intel_power_domains_init(dev_priv);
 -	if (ret < 0)
 -		goto err_gem;
 +	if (ret < 0) {	printf("%s:%d: %s\n", __FILE__, __LINE__, __func__);
 +		goto err_gem; }
  	intel_irq_init(dev_priv);
  	intel_init_display_hooks(dev_priv);
  	intel_init_clock_gating_hooks(dev_priv);
 @@ -567,14 +567,14 @@ static int i915_driver_early_probe(struct drm_i915_pr=
 ivate *dev_priv)
  	intel_display_crc_init(dev_priv);
 =20
  	intel_detect_preproduction_hw(dev_priv);
 -
 +	printf("%s:%d: %s ok\n", __FILE__, __LINE__, __func__);
  	return 0;
 =20
  err_gem:
  	i915_gem_cleanup_early(dev_priv);
  	intel_gt_driver_late_release(&dev_priv->gt);
  	vlv_free_s0ix_state(dev_priv);
 -err_workqueues:
 +err_workqueues:	printf("%s:%d: %s ret=3D%d\n", __FILE__, __LINE__, __func_=
 _, ret);
  	i915_workqueues_cleanup(dev_priv);
  	mutex_destroy(&dev_priv->hdcp_comp_mutex);
  	mutex_destroy(&dev_priv->pps_mutex);

 --=_cEFiPfdk98xHDMxf5dg4ZFdv6SEdn8RA--

From: Jarle Greipsland <jarle.greipsland@norid.no>
To: riastradh@NetBSD.org
Cc: gnats-bugs@netbsd.org
Subject: Re: port-amd64/56815 (Lenovo ThinkCentre with i915drmkms graphics
 fails to boot)
Date: Sun, 21 Jan 2024 17:31:52 +0100 (CET)

 Taylor R Campbell <riastradh@NetBSD.org> writes:
 > Can you please try the attached patch and share the dmesg
 > output when it panics?  It won't fix anything but it may help
 > to track down what's going wrong.

 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
 [   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
 [   1.0000000]     2024
 [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights rese
 rved.

 [   1.0000000] NetBSD 10.99.10 (PR56815_LOCKDEBUG) #1: Sun Jan 21 17:09:39 CET 2
 024
 [   1.0000000]  jarle@ask.home.greipsland.no:/usr/obj/sys/arch/amd64/compile/PR5
 6815_LOCKDEBUG
 [   1.0000000] total memory = 8104 MB
 [   1.0000000] avail memory = 7814 MB
 [   1.0000000] timecounter: Timecounters tick every 10.000 msec
 [   1.0000000] Kernelized RAIDframe activated
 [   1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100

 [   1.0000040] mainbus0 (root)
 [   1.0000040] ACPI: RSDP 0x00000000000F0580 000024 (v02 LENOVO)
 [   1.0000040] ACPI: XSDT 0x00000000AB0C0090 0000A4 (v01 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: FACP 0x00000000AB0D2460 00010C (v05 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block
 : 128/32 (20230628/tbfadt-640)
 [   1.0000040] ACPI: DSDT 0x00000000AB0C01C8 012295 (v02 LENOVO TC-M00   0000138
 0 INTL 20120913)
 [   1.0000040] ACPI: FACS 0x00000000AB66DE80 000040
 [   1.0000040] ACPI: APIC 0x00000000AB0D2570 000084 (v03 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: FPDT 0x00000000AB0D25F8 000044 (v01 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: FIDT 0x00000000AB0D2640 00009C (v01 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: MCFG 0x00000000AB0D26E0 00003C (v01 LENOVO TC-M00   0000138
 0 MSFT 00000097)
 [   1.0000040] ACPI: TCPA 0x00000000AB0D2720 000032 (v02 LENOVO TC-M00   0000138
 0 MSFT 01000013)
 [   1.0000040] ACPI: SLIC 0x00000000AB0D2758 000176 (v01 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: MSDM 0x00000000AB0D28D0 000055 (v03 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: SSDT 0x00000000AB0D2928 000763 (v01 LENOVO TC-M00   0000138
 0 INTL 20061109)
 [   1.0000040] ACPI: SSDT 0x00000000AB0D3090 000290 (v01 LENOVO TC-M00   0000138
 0 INTL 20061109)
 [   1.0000040] ACPI: SSDT 0x00000000AB0D3320 00017A (v01 LENOVO TC-M00   0000138
 0 INTL 20061109)
 [   1.0000040] ACPI: UEFI 0x00000000AB0D34A0 000042 (v01 LENOVO TC-M00   0000138
 0      00000000)
 [   1.0000040] ACPI: LPIT 0x00000000AB0D34E8 000104 (v01 LENOVO TC-M00   0000138
 0 MSFT 0100000D)
 [   1.0000040] ACPI: CSRT 0x00000000AB0D35F0 00014C (v00 LENOVO TC-M00   0000138
 0 MSFT 0100000D)
 [   1.0000040] ACPI: LUFT 0x00000000AB0D3740 0569E2 (v01 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: BGRT 0x00000000AB12A128 000038 (v01 LENOVO TC-M00   0000138
 0 AMI  00010013)
 [   1.0000040] ACPI: 4 ACPI AML tables successfully acquired and loaded
 [   1.0000040] ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20, 115 pins

 [   1.0000040] cpu0 at mainbus0 apid 0
 [   1.0000040] cpu0: Use lfence to serialize rdtsc
 [   1.0000040] cpu0: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [   1.0000040] cpu0: node 0, package 0, core 0, smt 0
 [   1.0000040] cpu1 at mainbus0 apid 2
 [   1.0000040] cpu1: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [   1.0000040] cpu1: node 0, package 0, core 1, smt 0
 [   1.0000040] cpu2 at mainbus0 apid 4
 [   1.0000040] cpu2: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [   1.0000040] cpu2: node 0, package 0, core 2, smt 0
 [   1.0000040] cpu3 at mainbus0 apid 6
 [   1.0000040] cpu3: Intel(R) Pentium(R) CPU  J3710  @ 1.60GHz, id 0x406c4
 [   1.0000040] cpu3: node 0, package 0, core 3, smt 0
 [   1.0000040] acpi0 at mainbus0: Intel ACPICA 20230628
 [   1.0000040] acpi0: X/RSDT: OemId <LENOVO,TC-M00  ,00001380>, AslId <AMI ,0001
 0013>
 [   1.0000040] acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFDC6D887EC008 0006FA (v01 PmRef  Cpu0Ist  0000300
 0 INTL 20061109)
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFDC6EC7E8D488 0003A5 (v01 PmRef  Cpu0Cst  0000300
 1 INTL 20061109)
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFDC6EC680E748 00015F (v01 PmRef  ApIst    0000300
 0 INTL 20061109)
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFDC6D8879A008 00008D (v01 PmRef  ApCst    0000300
 0 INTL 20061109)
 [   1.0000040] acpi0: SCI interrupting at int 9
 [   1.0000040] acpi0: fixed power button present
 [   1.0000040] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality
  1000
 [   1.0471066] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
 [   1.0471066] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
 [   1.0471066] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
 [   1.0471066] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
 [   1.0471066] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
 [   1.0471066] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
 [   1.0471066] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
 [   1.0471066] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
 [   1.0471066] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
 [   1.0471066] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
 [   1.0471066] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
 [   1.0471066] acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output Device
 [   1.0471066] acpivga0: connected output devices:
 [   1.0471066] acpivga0:   0x0400 (acpiout8): Unknown Output Device, head 0
 [   1.0471066] acpivga0:   0x22b8 (acpiout9): Unknown Output Device, head 0, non
  vga
 [   1.0471066] FWHD (INT0800) at acpi0 not configured
 [   1.0471066] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 [   1.0471066] pckbc1 at acpi0 (PS2K, MSFT0001-0) (kbd port): io 0x60,0x64 irq 1

 [   1.0471066] pckbc2 at acpi0 (PS2M, MSFT0003-0) (aux port): io 0x60,0x64 irq 1
 2
 [   1.0471066] BTH1 (BCM2E64) at acpi0 not configured
 [   1.0471066] GPS1 (BCM4752) at acpi0 not configured
 [   1.0471066] SHUB (SMO91D0) at acpi0 not configured
 [   1.0471066] STRB (INTCF1C) at acpi0 not configured
 [   1.0471066] TPD1 (MSFT0002) at acpi0 not configured
 [   1.0471066] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 [   1.0471066] acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 [   1.0471066] tpm0 at acpi0 (TPM, PNP0C31-1): mem 0xfed40000-0xfed44fff
 [   1.0471066] tpm0: device 0x00fe1050 rev 0x2
 [   1.0471066] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
 [   1.0471066] acpitz0 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
 [   1.0471066] acpitz0: active cooling level 0: 110.0C
 [   1.0471066] acpitz0: levels: critical 95.0 C, hot 90.0 C, passive 85.0 C
 [   1.0471066] acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
 [   1.0471066] acpiwmibus at acpiwmi0 not configured
 [   1.0471066] LBAI (LEN4001) at acpi0 not configured
 [   1.0471066] ACPI: Enabled 6 GPEs in block 00 to 3F
 [   1.0471066] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0471066] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv o
 k
 [   1.0471066] pchb0 at pci0 dev 0 function 0: Intel Braswell Soc Transaction Ro
 uter (rev. 0x35)
 [   1.0471066] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics (rev. 0x3
 5)
 [   1.0471066] ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI (rev. 0x
 35)
 [   1.0471066] ahcisata0: 64-bit DMA
 [   1.0471066] ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 0xd734ff01<
 PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SNCQ,S64A>
 [   1.0471066] ahcisata0: interrupting at msi0 vec 0
 [   1.0471066] atabus0 at ahcisata0 channel 0
 [   1.0471066] atabus1 at ahcisata0 channel 1
 [   1.0471066] xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI (rev. 0x35)
 [   1.0471066] xhci0: 64-bit DMA
 [   1.0471066] xhci0: interrupting at msi1 vec 0
 [   1.0471066] xhci0: xHCI version 1.0
 [   1.0471066] usb0 at xhci0: USB revision 3.0
 [   1.0471066] usb1 at xhci0: USB revision 2.0
 [   1.0471066] Intel Braswell TXE (miscellaneous crypto, revision 0x35) at pci0 
 dev 26 function 0 not configured
 [   1.0471066] hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 [   1.0471066] hdaudio0: interrupting at msi2 vec 0
 [   1.0471066] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
 [   1.0471066] hdafg0 at hdaudio0: Realtek product 0233
 [   1.0471066] hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
 [   1.0471066] hdafg0: DAC01 2ch: Speaker [Jack]
 [   1.0471066] hdafg0: ADC02 2ch: Mic In [Jack]
 [   1.0471066] hdafg0: ADC03 2ch: Mic In [Jack]
 [   1.0471066] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM2
 4 AC3
 [   1.0471066] audio0 at hdafg0: playback, capture, full duplex, independent
 [   1.0471066] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for play
 back
 [   1.0471066] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for reco
 rding
 [   1.0471066] spkr0 at audio0: PC Speaker (synthesized)
 [   1.0471066] wsbell at spkr0 not configured
 [   1.0471066] hdafg1 at hdaudio0: Intel product 2883
 [   1.0471066] hdafg1: DP00 8ch: Digital Out [Jack]
 [   1.0471066] hdafg1: DP01 8ch: Digital Out [Jack]
 [   1.0471066] hdafg1: DP02 8ch: Digital Out [Jack]
 [   1.0471066] hdafg1: 8ch/0ch 48000Hz PCM16*
 [   1.0471066] audio1 at hdafg1: playback, capture, full duplex, independent
 [   1.0471066] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for play
 back
 [   1.0471066] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for reco
 rding
 [   1.0471066] spkr1 at audio1: PC Speaker (synthesized)
 [   1.0471066] wsbell at spkr1 not configured
 [   1.0471066] ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev. 0x35)
 [   1.0471066] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root C
 omplex> x1 @ 2.5GT/s
 [   1.0471066] pci1 at ppb0 bus 1
 [   1.0471066] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0471066] re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethe
 rnet (rev. 0x0c)
 [   1.0471066] re0: interrupting at msix3 vec 0
 [   1.0471066] re0: RTL8168G/8111G (0x4c00)
 [   1.0471066] re0: Ethernet address 6c:4b:90:5e:10:e0
 [   1.0471066] re0: using 256 tx descriptors
 [   1.0471066] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
 [   1.0471066] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000base
 T-FDX, auto
 [   1.0471066] ppb1 at pci0 dev 28 function 1: Intel Braswell PCIe (rev. 0x35)
 [   1.0471066] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root C
 omplex> x1 @ 2.5GT/s
 [   1.0471066] pci2 at ppb1 bus 2
 [   1.0471066] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0471066] Atheros Communications product 0042 (miscellaneous network, revis
 ion 0x30) at pci2 dev 0 function 0 not configured
 [   1.0471066] pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC (rev. 0x3
 5)
 [   1.0471066] ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU SMBus (rev.
  0x35)
 [   1.0471066] ichsmb0: interrupting at ioapic0 pin 18
 [   1.0471066] iic0 at ichsmb0: I2C bus
 [   1.0471066] isa0 at pcib0
 [   1.0471066] pcppi0 at isa0 port 0x61
 [   1.0471066] spkr2 at pcppi0: PC Speaker
 [   1.0471066] wsbell at spkr2 not configured
 [   1.0471066] midi0 at pcppi0: PC speaker
 [   1.0471066] sysbeep0 at pcppi0
 [   1.0471066] attimer1: attached to pcppi0
 [   1.0471066] acpicpu0 at cpu0: ACPI CPU
 [   1.0471066] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
 [   1.0471066] acpicpu0: C2: FFH, lat 500 us, pow    10 mW
 [   1.0471066] acpicpu0: C3: FFH, lat 1000 us, pow    10 mW
 [   1.0471066] acpicpu0: P0: FFH, lat  10 us, pow  2000 mW, 1601 MHz, turbo boos
 t
 [   1.0471066] acpicpu0: P1: FFH, lat  10 us, pow  2000 mW, 1600 MHz
 [   1.0471066] acpicpu0: P2: FFH, lat  10 us, pow  1900 mW, 1520 MHz
 [   1.0471066] acpicpu0: P3: FFH, lat  10 us, pow  1800 mW, 1440 MHz
 [   1.0471066] acpicpu0: P4: FFH, lat  10 us, pow  1700 mW, 1360 MHz
 [   1.0471066] acpicpu0: P5: FFH, lat  10 us, pow  1600 mW, 1280 MHz
 [   1.0471066] acpicpu0: P6: FFH, lat  10 us, pow  1500 mW, 1200 MHz
 [   1.0471066] acpicpu0: P7: FFH, lat  10 us, pow  1400 mW, 1120 MHz
 [   1.0471066] acpicpu0: P8: FFH, lat  10 us, pow  1300 mW, 1040 MHz
 [   1.0471066] acpicpu0: P9: FFH, lat  10 us, pow  1200 mW,  960 MHz
 [   1.0471066] acpicpu0: P10: FFH, lat  10 us, pow  1100 mW,  880 MHz
 [   1.0471066] acpicpu0: P11: FFH, lat  10 us, pow  1000 mW,  800 MHz
 [   1.0471066] acpicpu0: P12: FFH, lat  10 us, pow   900 mW,  720 MHz
 [   1.0471066] acpicpu0: P13: FFH, lat  10 us, pow   800 mW,  640 MHz
 [   1.0471066] acpicpu0: P14: FFH, lat  10 us, pow   700 mW,  560 MHz
 [   1.0471066] acpicpu0: P15: FFH, lat  10 us, pow   600 mW,  480 MHz
 [   1.0471066] acpicpu0: T0: FFH, lat   1 us, pow   600 mW, 100 %
 [   1.0471066] acpicpu0: T1: FFH, lat   1 us, pow   525 mW,  88 %
 [   1.0471066] acpicpu0: T2: FFH, lat   1 us, pow   450 mW,  75 %
 [   1.0471066] acpicpu0: T3: FFH, lat   1 us, pow   375 mW,  63 %
 [   1.0471066] acpicpu0: T4: FFH, lat   1 us, pow   300 mW,  50 %
 [   1.0471066] acpicpu0: T5: FFH, lat   1 us, pow   225 mW,  38 %
 [   1.0471066] acpicpu0: T6: FFH, lat   1 us, pow   150 mW,  25 %
 [   1.0471066] acpicpu0: T7: FFH, lat   1 us, pow    75 mW,  13 %
 [   1.0471066] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=90
 [   1.0471066] acpicpu1 at cpu1: ACPI CPU
 [   1.0471066] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=90
 [   1.0471066] acpicpu2 at cpu2: ACPI CPU
 [   1.0471066] coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=90
 [   1.0471066] acpicpu3 at cpu3: ACPI CPU
 [   1.0471066] coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=90
 [   1.0471066] timecounter: Timecounter "clockinterrupt" frequency 100 Hz qualit
 y 0
 [   1.0471066] timecounter: Timecounter "TSC" frequency 1602134400 Hz quality 30
 00
 [   1.9912258] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0,
  rev 3.00/1.00, addr 0
 [   1.9912258] uhub0: 6 ports with 6 removable, self powered
 [   1.9912258] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0,
  rev 2.00/1.00, addr 0
 [   1.9912258] uhub1: 7 ports with 7 removable, self powered
 [   1.9985344] IPsec: Initialized Security Association Processing.
 [   2.0885270] ahcisata0 port 0: device present, speed: 6.0Gb/s
 [   2.4685285] uhub2 at uhub1 port 5: vendor 0424 (0x0424) product 2514 (0x2514)
 , class 9/0, rev 2.00/2.00, addr 1
 [   2.4685285] uhub2: multiple transaction translators
 [   2.4685285] uhub2: 4 ports with 4 removable, self powered
 [   3.0885306] ahcisata0 port 1: PHY offline
 [   3.2285308] ubt0 at uhub2 port 2
 [   3.2285308] ubt0: vendor 0cf3 (0x0cf3) product e360 (0xe360), rev 2.01/0.01, 
 addr 2
 [   3.6485321] wd0 at atabus0 drive 0
 [   3.6485321] wd0: <SanDisk SD9TB8W256G1001>
 [   3.6485321] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
 [   3.6485321] wd0: 238 GB, 496149 cyl, 16 head, 63 sec, 512 bytes/sect x 500118
 192 sectors
 [   3.6485321] uhub3 at uhub2 port 4: vendor 0557 (0x0557) product 8021 (0x8021)
 , class 9/0, rev 1.10/1.00, addr 3
 [   3.6485321] uhub3: 4 ports with 4 removable, self powered
 [   3.6485321] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ult
 ra/133), NCQ (32 tags)
 [   3.6485321] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 
 6 (Ultra/133) (using DMA), NCQ (31 tags)
 [   4.4685354] uhidev0 at uhub3 port 1 configuration 1 interface 0
 [   4.4685354] uhidev0: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213),
  rev 1.10/1.00, addr 4, iclass 3/1
 [   4.4985365] ukbd0 at uhidev0
 [   4.4985365] wskbd0 at ukbd0: console keyboard
 [   4.4985365] uhidev1 at uhub3 port 1 configuration 1 interface 1
 [   4.4985365] uhidev1: ATEN Advance Tech Inc. (0x0557) CS84U V1.1.101 (0x2213),
  rev 1.10/1.00, addr 4, iclass 3/1
 [   4.5285356] ums0 at uhidev1: 5 buttons and Z dir
 [   4.5285356] wsmouse0 at ums0 mux 0
 [   4.5285356] swwdog0: software watchdog initialized
 [   4.5385376] boot device: wd0
 [   4.5385376] root on wd0a dumps on wd0b
 [   4.5385376] root file system type: ffs
 [   4.5385376] kern.module.path=/stand/amd64/10.99.10/modules
 [   4.5438934] /usr/src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c:514: i915
 _driver_early_probe
 [   4.5438934] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c:29: in
 tel_gt_init_early
 [   4.5438934] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c:1620:
  intel_rps_init_early
 [   4.5438934] /usr/src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c:570: i915
 _driver_early_probe ok
 [   4.5438934] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [   4.5438934] [drm] Driver supports precise vblank timestamp query.
 [   4.5485971] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
 [   4.5685389] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c:566: i
 ntel_gt_init
 [   4.5685389] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt_pm.c:116
 : intel_gt_pm_init
 [   4.5685389] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c:1630:
  intel_rps_init
 [   4.5685389] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c:613: 
 gen6_rps_set_thresholds
 [   4.5685389] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c:540: 
 rps_set_power
 [   4.7685360] {drm:netbsd:gen8_reset_engines+0x377} *ERROR* bcs'0 reset request
  timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.7685360] {drm:netbsd:gen8_reset_engines+0x377} *ERROR* bcs'0 reset request
  timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.7685360] {drm:netbsd:gen8_reset_engines+0x377} *ERROR* vcs'0 reset request
  timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.7685360] {drm:netbsd:gen8_reset_engines+0x377} *ERROR* vecs'0 reset reques
 t timed out: {request: 00000001, RESET_CTL: 00000001}
 [   4.7785536] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c:605: i
 ntel_gt_init
 [   4.7785536] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c:1681:
  intel_rps_fini
 [   4.7785536] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gt.c:629: i
 ntel_gt_init err=-5
 [   4.7885382] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
 [   5.7585414] intelfb0 at i915drmkms0
 [   5.7585414] [drm] DRM_I915_DEBUG enabled
 [   5.7585414] [drm] DRM_I915_DEBUG_GEM enabled
 [   5.7585414] intelfb0: framebuffer at 0xb8020000, size 1920x1200, depth 32, st
 ride 7680
 [   5.7585414] /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c:653: 
 intel_rps_mark_interactive
 [   5.7585414] panic: mutex_vector_enter,520: uninitialized lock (lock=0xffffae0
 010a6d460, from=ffffffff807f6236)
 [   5.7585414] cpu0: Begin traceback...
 [   5.7585414] vpanic() at netbsd:vpanic+0x173
 [   5.7585414] panic() at netbsd:panic+0x3c
 [   5.7585414] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x180
 [   5.7585414] mutex_enter() at netbsd:mutex_enter+0x216
 [   5.7585414] intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive
 +0x40
 [   5.7585414] intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x1fb
 [   5.7585414] drm_atomic_helper_prepare_planes() at netbsd:drm_atomic_helper_pr
 epare_planes+0x8f
 [   5.7585414] intel_atomic_commit() at netbsd:intel_atomic_commit+0xb8
 [   5.7585414] drm_client_modeset_commit_atomic() at netbsd:drm_client_modeset_c
 ommit_atomic+0x19a
 [   5.7585414] drm_client_modeset_commit_force() at netbsd:drm_client_modeset_co
 mmit_force+0x4c
 [   5.7585414] drm_fb_helper_restore_fbdev_mode_unlocked() at netbsd:drm_fb_help
 er_restore_fbdev_mode_unlocked+0x55
 [   5.7585414] drmfb_genfb_setmode() at netbsd:drmfb_genfb_setmode+0x17
 [   5.7585414] genfb_attach() at netbsd:genfb_attach+0x1af
 [   5.7585414] drmfb_attach() at netbsd:drmfb_attach+0x23c
 [   5.7585414] intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
 [   5.7585414] i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xb6
 [   5.7585414] config_mountroot_thread() at netbsd:config_mountroot_thread+0x60
 [   5.7585414] cpu0: End traceback...
 [   5.7585414] fatal breakpoint trap in supervisor mode
 [   5.7585414] trap type 1 code 0 rip 0xffffffff80235415 cs 0x8 rflags 0x202 cr2
  0 ilevel 0x8 rsp 0xffffae023a5fca10
 [   5.7585414] curlwp 0xffffdc6d88bb4000 pid 0.220 lowest kstack 0xffffae023a5f8
 2c0

 [   5.7585414] dumping to dev 0,1 (offset=179551, size=2074708):
 [   5.7585414] dump

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.