NetBSD Problem Report #57154

From makoto@mx.ki.nu  Tue Jan  3 12:26:55 2023
Return-Path: <makoto@mx.ki.nu>
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 752AE1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  3 Jan 2023 12:26:55 +0000 (UTC)
Message-Id: <202301031226.303CQcD7022072@mx.ki.nu>
Date: Tue, 3 Jan 2023 21:26:38 +0900 (JST)
From: mef@netbsd.org
Reply-To: mef@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: CPU N3150 panics with DRMkms related function
X-Send-Pr-Version: 3.95

>Number:         57154
>Category:       kern
>Synopsis:       CPU N3150 panics with DRMkms related function
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 03 12:30:01 +0000 2023
>Closed-Date:    
>Last-Modified:  Wed Sep 06 11:55:01 +0000 2023
>Originator:     Makoto Fujiwara
>Release:        NetBSD 10.99.2
>Organization:
ki.nu
>Environment:



Architecture: x86_64
Machine: amd64
>Description:
      Recent DRMkms have problem with Intel N3150 embedded graphic controller.
      It seems to me it panics at graphic driver attach
      info is written at
         http://www.ki.nu/~makoto/diary/2022/12/20/#202212201
      Also debug print is listed at
         http://www.ki.nu/~makoto/diary/attach/2023/10.99.2-N3150-debug-print
      with 
         __drm_debug = 4;
      at 
         sys/external/bsd/drm2/dist/drm/drm_print.c
>How-To-Repeat:
     - Have Intel N3150 CPU mother board
     - Try boot from install media (I'm using following file for example)
          zcat NetBSD-10.0_BETA-amd64-bios-install.img.gz | sudo dd of=/dev/sd0d bs=2m

     - It'll be nice to connect serial console and at booting,
       interrupt by space key and select
           Drop to boot prompt 
       and type
           consdev com0     
       Then you will see the output at serial console, then
           boot netbsd
       and you may record the lines
>Fix:
     Unknown    

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: mef@NetBSD.org
Responsible-Changed-When: Tue, 03 Jan 2023 12:32:10 +0000
Responsible-Changed-Why:
Assign to correct person


From: Makoto Fujiwara <makoto@if.t.u-tokyo.ac.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/57154: CPU N3150 panics with DRMkms related function
Date: Tue, 03 Jan 2023 21:38:58 +0900

 Let me add debug console listing as
   http://www.ki.nu/~makoto/diary/attach/2023/10.99.2-N3150-debug-print

 -- 
 Makoto Fujiwara
 mef@NetBSD.org

 >> NetBSD/x86 BIOS Boot, Revision 5.11 (Sun Oct 18 19:24:30 UTC 2020) (from NetBSD 9.1)
 >> Memory: 626/506880 k

 > boot
 command(s): rndseed /etc/entropy-file;boot
 default boot twice, skipping..
 .
 21688704|781096|1316056|933079|1400376|1023271|0x1b34330
 Loading /etc/entropy-file  
 [   1.0000000] cpu_rng: rdrand
 [   1.0000000] entropy: ready
 [   1.0000000] entropy: entering seed from bootloader with 256 bits of entropy
 [   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]     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 reserved.

 [   1.0000000] NetBSD 10.99.2 (GENERIC) #0: Mon Jan  2 17:19:56 JST 2023
 [   1.0000000] 	root@h97:/tmp/O/sys/arch/amd64/compile/GENERIC
 [   1.0000000] total memory = 16293 MB
 [   1.0000000] avail memory = 15738 MB
 [   1.0000040] mainbus0 (root)
 [   1.0000040] ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA)
 [   1.0000040] ACPI: XSDT 0x000000007B40E080 00007C (v01 ALASKA A M I    01072009 AMI  00010013)
 [   1.0000040] ACPI: FACP 0x000000007B41B0E8 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
 [   1.0000040] Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20221020/tbfadt-640)
 [   1.0000040] ACPI: DSDT 0x000000007B40E190 00CF57 (v02 ALASKA A M I    01072009 INTL 20120913)
 [   1.0000040] ACPI: FACS 0x000000007B4A6E80 000040
 [   1.0000040] ACPI: APIC 0x000000007B41B1F8 000084 (v03 ALASKA A M I    01072009 AMI  00010013)
 [   1.0000040] ACPI: FPDT 0x000000007B41B280 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
 [   1.0000040] ACPI: FIDT 0x000000007B41B2C8 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
 [   1.0000040] ACPI: MCFG 0x000000007B41B368 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
 [   1.0000040] ACPI: SSDT 0x000000007B41B3A8 000763 (v01 PmRef  CpuPm    00003000 INTL 20061109)
 [   1.0000040] ACPI: SSDT 0x000000007B41BB10 000290 (v01 PmRef  Cpu0Tst  00003000 INTL 20061109)
 [   1.0000040] ACPI: SSDT 0x000000007B41BDA0 00017A (v01 PmRef  ApTst    00003000 INTL 20061109)
 [   1.0000040] ACPI: UEFI 0x000000007B41BF20 000042 (v01 ALASKA A M I    00000000      00000000)
 [   1.0000040] ACPI: LPIT 0x000000007B41BF68 000104 (v01 ALASKA A M I    00000005 MSFT 0100000D)
 [   1.0000040] ACPI: CSRT 0x000000007B41C070 00014C (v00 INTEL  LANFORDC 00000005 MSFT 0100000D)
 [   1.0000040] ACPI: 4 ACPI AML tables successfully acquired and loaded
 [   1.0000040] ioapic0 at mainbus0 apid 1
 [   1.0000040] cpu0 at mainbus0 apid 0
 [   1.0000040] cpu0: Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz, id 0x406c3
 [   1.0000040] cpu0: node 0, package 0, core 0, smt 0
 [   1.0000040] cpu1 at mainbus0 apid 2
 [   1.0000040] cpu1: Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz, id 0x406c3
 [   1.0000040] cpu1: node 0, package 0, core 1, smt 0
 [   1.0000040] cpu2 at mainbus0 apid 4
 [   1.0000040] cpu2: Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz, id 0x406c3
 [   1.0000040] cpu2: node 0, package 0, core 2, smt 0
 [   1.0000040] cpu3 at mainbus0 apid 6
 [   1.0000040] cpu3: Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz, id 0x406c3
 [   1.0000040] cpu3: node 0, package 0, core 3, smt 0
 [   1.0000040] acpi0 at mainbus0: Intel ACPICA 20221020
 [   1.0000040] acpi0: fixed power button present
 [   1.0049814] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
 [   1.0049814] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
 [   1.0049814] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
 [   1.0049814] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
 [   1.0049814] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
 [   1.0049814] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
 [   1.0049814] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
 [   1.0049814] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
 [   1.0049814] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
 [   1.0049814] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
 [   1.0049814] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
 [   1.0049814] acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output Device
 [   1.0049814] FWHD (INT0800) at acpi0 not configured
 [   1.0049814] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 [   1.0049814] com0 at acpi0 (UAR1, PNP0501-0): io 0x3f8-0x3ff irq 4
 [   1.0049814] com: ns16550a, 16-byte FIFO
 [   1.0049814] com0: console
 [   1.0049814] pckbc1 at acpi0 (PS2M, MSFT0003-0) (aux port): io 0x60,0x64 irq 12
 [   1.0049814] com1 at acpi0 (UR11, PNP0501-10): io 0x240-0x247 irq 10
 [   1.0049814] com1: ns16550a, 16-byte FIFO
 [   1.0049814] com2 at acpi0 (UR12, PNP0501-11): io 0x248-0x24f irq 10
 [   1.0049814] com2: ns16550a, 16-byte FIFO
 [   1.0049814] BTH1 (BCM2E64) at acpi0 not configured
 [   1.0049814] GPS1 (BCM4752) at acpi0 not configured
 [   1.0049814] SHUB (SMO91D0) at acpi0 not configured
 [   1.0049814] STRB (INTCF1C) at acpi0 not configured
 [   1.0049814] TPD1 (MSFT0002) at acpi0 not configured
 [   1.0049814] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 [   1.0049814] acpiwmi0 at acpi0 (WMIO, PNP0C14-MFBI): ACPI WMI Interface
 [   1.0049814] acpiwmibus at acpiwmi0 not configured
 [   1.0049814] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
 [   1.0049814] acpitz0 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
 [   1.0049814] acpitz0: active cooling level 0: 110.0C
 [   1.0049814] ACPI: Enabled 5 GPEs in block 00 to 3F
 [   1.0049814] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0049814] pchb0 at pci0 dev 0 function 0: Intel Braswell Soc Transaction Router (rev. 0x21)
 [   1.0049814] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics (rev. 0x21)
 [   1.0049814] ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI (rev. 0x21)
 [   1.0049814] 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.0049814] ahcisata0: interrupting at msi0 vec 0
 [   1.0049814] atabus0 at ahcisata0 channel 0
 [   1.0049814] atabus1 at ahcisata0 channel 1
 [   1.0049814] xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI (rev. 0x21)
 [   1.0049814] xhci0: interrupting at msi1 vec 0
 [   1.0049814] usb0 at xhci0: USB revision 3.0
 [   1.0049814] usb1 at xhci0: USB revision 2.0
 [   1.0049814] Intel Braswell TXE (miscellaneous crypto, revision 0x21) at pci0 dev 26 function 0 not configured
 [   1.0049814] ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev. 0x21)
 [   1.0049814] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0049814] pci1 at ppb0 bus 1
 [   1.0049814] re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
 [   1.0049814] re0: interrupting at msix2 vec 0
 [   1.0049814] re0: RTL8168G/8111G (0x4c00)
 [   1.0049814] re0: Ethernet address 4c:cc:6a:b2:8a:f2
 [   1.0049814] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
 [   1.0049814] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 [   1.0049814] ppb1 at pci0 dev 28 function 1: Intel Braswell PCIe (rev. 0x21)
 [   1.0049814] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
 [   1.0049814] pci2 at ppb1 bus 2
 [   1.0049814] pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC (rev. 0x21)
 [   1.0049814] ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU SMBus (rev. 0x21)
 [   1.0049814] ichsmb0: interrupting at ioapic0 pin 18
 [   1.0049814] iic0 at ichsmb0: I2C bus
 [   1.0049814] isa0 at pcib0
 [   1.0049814] pckbc0 at isa0 port 0x60-0x64
 [   1.0049814] pcppi0 at isa0 port 0x61
 [   1.0049814] spkr0 at pcppi0: PC Speaker
 [   1.0049814] wsbell at spkr0 not configured
 [   1.0049814] midi0 at pcppi0: PC speaker
 [   1.0049814] sysbeep0 at pcppi0
 [   1.0049814] attimer1: attached to pcppi0
 [   1.0049814] acpicpu0 at cpu0: ACPI CPU
 [   1.0049814] coretemp0 at cpu0: thermal sensor, 1 C resolution
 [   1.0049814] acpicpu1 at cpu1: ACPI CPU
 [   1.0049814] coretemp1 at cpu1: thermal sensor, 1 C resolution
 [   1.0049814] acpicpu2 at cpu2: ACPI CPU
 [   1.0049814] coretemp2 at cpu2: thermal sensor, 1 C resolution
 [   1.0049814] acpicpu3 at cpu3: ACPI CPU
 [   1.0049814] coretemp3 at cpu3: thermal sensor, 1 C resolution
 [   1.4560268] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
 [   1.5533610] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
 [   1.7633604] ahcisata0 port 0: device present, speed: 6.0Gb/s
 [   2.1833619] uhub2 at uhub1 port 5: vendor 05e3 (0x05e3) USB2.0 Hub (0x0608), class 9/0, rev 2.00/88.32, addr 1
 [   2.3029156] uhub2: single transaction translator
 [   3.1133664] uhidev0 at uhub2 port 2 configuration 1 interface 0
 [   3.1838269] uhidev0: CHICONY (0x03f0) HP Basic USB Keyboard - JP (0x0224), rev 1.10/3.00, addr 2, iclass 3/1
 [   3.3033654] ukbd0 at uhidev0
 [   3.3381052] wskbd0 at ukbd0 mux 1
 [   3.6933682] wd0 at atabus0 drive 0
 [   3.7633708] wd0: <LITEONIT LCT-128M3S 2.5 7mm 128GB>
 [   3.8233693] wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
 [   3.9233695] swwdog0: software watchdog initialized
 [   3.9833735] boot device: wd0
 [   4.0133696] root on wd0a dumps on wd0b
 [   4.0633689] root file system type: ffs
 [   4.1033700] kern.module.path=/stand/amd64/10.99.2/modules
 [   4.1733765] i915drmkms0 {drm:netbsd:intel_detect_pch+0xf0} No PCH found.
 [   4.2516764] {drm:netbsd:intel_power_domains_init+0xa6} Allowed DC state mask 00
 [   4.3389199] {drm:netbsd:intel_opregion_setup+0x3d2} Found valid VBT in ACPI OpRegion (Mailbox #4)
 [   4.4465133] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [   4.5254458] [drm] Driver supports precise vblank timestamp query.
 [   4.5981428] {drm:netbsd:intel_bios_init+0xdb} Set default to SSC at 100000 kHz
 [   4.6843476] {drm:netbsd:intel_bios_init+0x11e} VBT signature "$VBT CHERRYVIEW     ", BDB version 190
 [   4.7933959] {drm:netbsd:intel_bios_init+0x266} BDB_GENERAL_FEATURES int_tv_support 0 int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 120000 display_clock_mode 0 fdi_rx_polarity_inverted 0
 [   4.9917628] {drm:netbsd:intel_bios_init+0x2b6} crt_ddc_bus_pin: 2
 [   5.0644624] {drm:netbsd:intel_bios_init+0x3c3} Found VBT child device with type 0x60d2
 [   5.1589721] {drm:netbsd:intel_bios_init+0x3c3} Found VBT child device with type 0x68c6
 [   5.2534798] {drm:netbsd:intel_opregion_get_panel_type+0x65} Failed to get panel details from OpRegion (-19)
 [   5.3697960] {drm:netbsd:intel_bios_init+0x1b5f} Panel type: 2 (VBT)
 [   5.4445748] {drm:netbsd:intel_bios_init+0x1d42} DRRS supported mode is static
 [   5.5297397] {drm:netbsd:intel_bios_init+0x1eba} Found panel mode in BIOS VBT legacy lfp table:
 [   5.6325553] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1024x768": 0 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
 [   5.7738012] {drm:netbsd:intel_bios_init+0x281d} VBT initial LVDS value 0
 [   5.8537678] {drm:netbsd:intel_bios_init+0x6e7} VBT backlight PWM modulation frequency 200 Hz, active high, min brightness 0, level 255, controller 0
 [   6.0126687] {drm:netbsd:intel_bios_init+0x15f3} DRRS State Enabled:1
 [   6.0884861] {drm:netbsd:intel_bios_init+0x1c9c} Skipping SDVO device mapping
 [   6.1726111] {drm:netbsd:intel_bios_init+0x12ac} Port B VBT info: CRT:0 DVI:1 HDMI:1 DP:0 eDP:0 LSPCON:0 USB-Type-C:0 TBT:0 DSC:0
 [   6.3107412] {drm:netbsd:intel_bios_init+0x153f} VBT HDMI level shift for port B: 0
 [   6.4010955] {drm:netbsd:intel_bios_init+0x12ac} Port C VBT info: CRT:0 DVI:0 HDMI:0 DP:1 eDP:0 LSPCON:0 USB-Type-C:0 TBT:0 DSC:0
 [   6.5392209] {drm:netbsd:intel_bios_init+0x153f} VBT HDMI level shift for port C: 1
 [   6.6295788] {drm:netbsd:intel_power_domains_init_hw+0x753} Initial PHY_CONTROL=0x150607fd
 [   6.7272027] {drm:netbsd:__intel_display_power_get_domain.part.0+0x95} enabling always-on
 [   6.8237898] {drm:netbsd:__intel_display_power_get_domain.part.0+0x95} enabling display
 [   6.9182997] {drm:netbsd:__intel_display_power_get_domain.part.0+0x95} enabling dpio-common-bc
 [   7.0200781] {drm:netbsd:chv_dpio_cmn_power_well_enable+0x159} Enabled DPIO PHY0 (PHY_CONTROL=0x150607fd)
 [   7.1333816] {drm:netbsd:__intel_display_power_get_domain.part.0+0x95} enabling dpio-common-d
 [   7.2340243] {drm:netbsd:chv_dpio_cmn_power_well_enable+0x159} Enabled DPIO PHY1 (PHY_CONTROL=0x150607ff)
 [   7.3472263] i915drmkms0: interrupting at msi3 vec 0 (i915drmkms0)
 [   7.4199352] {drm:netbsd:intel_fbc_init+0x9f} Sanitized enable_fbc value: 0
 [   7.5019765] {drm:netbsd:intel_modeset_init+0x216} 3 display pipes available.
 [   7.5861004] {drm:netbsd:intel_bios_port_aux_ch+0xdc} using AUX B for port B (platform default)
 [   7.6889165] {drm:netbsd:intel_dp_init_connector+0x387} Adding DP connector on [ENCODER:94:DP B]
 [   7.7927739] {drm:netbsd:intel_bios_port_aux_ch+0xdc} using AUX B for port B (platform default)
 [   7.8955889] {drm:netbsd:intel_hdmi_init_connector+0x38} Adding HDMI connector on [ENCODER:100:HDMI B]
 [   8.0056764] {drm:netbsd:intel_hdmi_init_connector+0x2cb} Using DDC pin 0x5 for port B (VBT)
 [   8.1053786] {drm:netbsd:intel_bios_port_aux_ch+0x5e} using AUX C for port C (VBT)
 [   8.1946979] {drm:netbsd:intel_dp_init_connector+0x387} Adding DP connector on [ENCODER:105:DP C]
 [   8.2995959] {drm:netbsd:intel_bios_port_aux_ch+0x5e} using AUX C for port C (VBT)
 [   8.3889104] {drm:netbsd:intel_hdmi_init_connector+0x38} Adding HDMI connector on [ENCODER:109:HDMI C]
 [   8.4989983] {drm:netbsd:intel_hdmi_init_connector+0xec} Using DDC pin 0x4 for port C (platform default)
 [   8.6111631] {drm:netbsd:intel_bios_port_aux_ch+0xdc} using AUX D for port D (platform default)
 [   8.7139785] {drm:netbsd:intel_dp_init_connector+0x387} Adding DP connector on [ENCODER:112:DP D]
 [   8.8188793] {drm:netbsd:intel_bios_port_aux_ch+0xdc} using AUX D for port D (platform default)
 [   8.9216932] {drm:netbsd:intel_hdmi_init_connector+0x38} Adding HDMI connector on [ENCODER:116:HDMI D]
 [   9.0317805] {drm:netbsd:intel_hdmi_init_connector+0xec} Using DDC pin 0x3 for port D (platform default)
 [   9.1439482] {drm:netbsd:intel_modeset_setup_hw_state+0xed} [CRTC:51:pipe A] hw state readout: enabled
 [   9.2540347] {drm:netbsd:intel_modeset_setup_hw_state+0xed} [CRTC:72:pipe B] hw state readout: disabled
 [   9.3651604] {drm:netbsd:intel_modeset_setup_hw_state+0xed} [CRTC:93:pipe C] hw state readout: disabled
 [   9.4762856] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:31:primary A] hw state readout: disabled, pipe A
 [   9.6009131] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:35:sprite A] hw state readout: disabled, pipe A
 [   9.7245040] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:41:sprite B] hw state readout: disabled, pipe A
 [   9.8480941] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:47:cursor A] hw state readout: disabled, pipe A
 [   9.9716838] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:52:primary B] hw state readout: disabled, pipe B
 [  10.0963109] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:56:sprite C] hw state readout: disabled, pipe B
 [  10.2198983] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:62:sprite D] hw state readout: disabled, pipe B
 [  10.3434890] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:68:cursor B] hw state readout: disabled, pipe B
 [  10.4670813] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:73:primary C] hw state readout: disabled, pipe C
 [  10.5917073] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:77:sprite E] hw state readout: disabled, pipe C
 [  10.7152970] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:83:sprite F] hw state readout: disabled, pipe C
 [  10.8388855] {drm:netbsd:intel_modeset_setup_hw_state+0x2ce} [PLANE:89:cursor C] hw state readout: disabled, pipe C
 [  10.9634021] {drm:netbsd:intel_modeset_setup_hw_state+0x51a} [ENCODER:94:DP B] hw state readout: disabled, pipe A
 [  11.0839867] {drm:netbsd:intel_modeset_setup_hw_state+0x51a} [ENCODER:100:HDMI B] hw state readout: disabled, pipe A
 [  11.2086189] {drm:netbsd:intel_modeset_setup_hw_state+0x51a} [ENCODER:105:DP C] hw state readout: enabled, pipe A
 [  11.3301272] {drm:netbsd:intel_modeset_setup_hw_state+0x51a} [ENCODER:109:HDMI C] hw state readout: disabled, pipe A
 [  11.4547566] {drm:netbsd:intel_modeset_setup_hw_state+0x51a} [ENCODER:112:DP D] hw state readout: disabled, pipe A
 [  11.5773054] {drm:netbsd:intel_modeset_setup_hw_state+0x51a} [ENCODER:116:HDMI D] hw state readout: disabled, pipe A
 [  11.7019351] {drm:netbsd:intel_modeset_setup_hw_state+0x616} [CONNECTOR:95:DP-1] hw state readout: disabled
 [  11.8172152] {drm:netbsd:intel_modeset_setup_hw_state+0x616} [CONNECTOR:101:HDMI-A-1] hw state readout: disabled
 [  11.9376880] {drm:netbsd:intel_modeset_setup_hw_state+0x616} [CONNECTOR:106:DP-2] hw state readout: enabled
 [  12.0534065] {drm:netbsd:intel_modeset_setup_hw_state+0x616} [CONNECTOR:110:HDMI-A-2] hw state readout: disabled
 [  12.1734439] {drm:netbsd:intel_modeset_setup_hw_state+0x616} [CONNECTOR:113:DP-3] hw state readout: disabled
 [  12.2897638] {drm:netbsd:intel_modeset_setup_hw_state+0x616} [CONNECTOR:117:HDMI-A-3] hw state readout: disabled
 [  12.4102365] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:31:primary A] min_cdclk 0 kHz
 [  12.5151296] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:35:sprite A] min_cdclk 0 kHz
 [  12.6189872] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:41:sprite B] min_cdclk 0 kHz
 [  12.7234099] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:47:cursor A] min_cdclk 0 kHz
 [  12.8266990] {drm:netbsd:intel_modeset_setup_hw_state+0x7dd} pipe A data rate 0 num active planes 0
 [  12.9336730] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:52:primary B] min_cdclk 0 kHz
 [  13.0385675] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:56:sprite C] min_cdclk 0 kHz
 [  13.1424224] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:62:sprite D] min_cdclk 0 kHz
 [  13.2462812] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:68:cursor B] min_cdclk 0 kHz
 [  13.3501406] {drm:netbsd:intel_modeset_setup_hw_state+0x7dd} pipe B data rate 0 num active planes 0
 [  13.4571101] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:73:primary C] min_cdclk 0 kHz
 [  13.5620050] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:77:sprite E] min_cdclk 0 kHz
 [  13.6658612] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:83:sprite F] min_cdclk 0 kHz
 [  13.7697229] {drm:netbsd:intel_modeset_setup_hw_state+0x788} [PLANE:89:cursor C] min_cdclk 0 kHz
 [  13.8735747] {drm:netbsd:intel_modeset_setup_hw_state+0x7dd} pipe C data rate 0 num active planes 0
 [  13.9805462] {drm:netbsd:intel_dump_pipe_config+0x6e} [CRTC:51:pipe A] enable: yes [setup_hw_state]
 [  14.0875188] {drm:netbsd:intel_dump_pipe_config+0x2e0} active: yes, output_types: DP (0x80), output format: RGB
 [  14.2069544] {drm:netbsd:intel_dump_pipe_config+0x318} cpu_transcoder: A, pipe bpp: 24, dithering: 0
 [  14.3149669] {drm:netbsd:intel_dump_pipe_config+0x881} dp m_n: lanes: 2; gmch_m: 7549747, gmch_n: 8388608, link_m: 314572, link_n: 524288, tu: 64
 [  14.4697095] {drm:netbsd:intel_dump_pipe_config+0x35d} audio: 0, infoframes: 0, infoframes enabled: 0x0
 [  14.5808401] {drm:netbsd:intel_dump_pipe_config+0x3d8} requested mode:
 [  14.6576973] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1600x1200": 60 161999 720 1664 1856 2160 400 1201 1204 1250 0x40 0x5
 [  14.8051665] {drm:netbsd:intel_dump_pipe_config+0x3f7} adjusted mode:
 [  14.8809840] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1600x1200": 60 161999 1600 1664 1856 2160 1200 1201 1204 1250 0x40 0x5
 [  15.0305394] {drm:netbsd:intel_dump_pipe_config+0x475} crtc timings: 161999 1600 1664 1856 2160 1200 1201 1204 1250, type: 0x40 flags: 0x5
 [  15.1780143] {drm:netbsd:intel_dump_pipe_config+0x4a2} port clock: 270000, pipe src size: 720x400, pixel rate 161999
 [  15.3034208] {drm:netbsd:intel_dump_pipe_config+0x782} gmch pfit: control: 0x80000000, ratios: 0x05550733, lvds border: 0x00000000
 [  15.4418096] {drm:netbsd:intel_dump_pipe_config+0x53c} ips: 0, double wide: 0
 [  15.5259337] {drm:netbsd:intel_dump_pipe_config+0x552} dpll_hw_state: dpll: 0xb0002000, dpll_md: 0x3, fp0: 0x0, fp1: 0x0
 [  15.6547165] {drm:netbsd:intel_dump_pipe_config+0x58f} cgm_mode: 0x0 gamma_mode: 0x0 gamma_enable: 0 csc_enable: 0
 [  15.7772676] {drm:netbsd:intel_dump_pipe_config+0x5b9} MST master transcoder: <invalid>
 [  15.8717793] {drm:netbsd:intel_dump_pipe_config+0x6e} [CRTC:72:pipe B] enable: no [setup_hw_state]
 [  15.9777097] {drm:netbsd:intel_dump_pipe_config+0x6e} [CRTC:93:pipe C] enable: no [setup_hw_state]
 [  16.0836437] i915drmkms0 {drm:netbsd:vlv_wm_get_hw_state+0x66b} Initial watermarks: pipe A, plane=15, cursor=15, sprite0=15, sprite1=15
 [  16.2280044] i915drmkms0 {drm:netbsd:vlv_wm_get_hw_state+0x66b} Initial watermarks: pipe B, plane=15, cursor=15, sprite0=15, sprite1=15
 [  16.3723664] i915drmkms0 {drm:netbsd:vlv_wm_get_hw_state+0x66b} Initial watermarks: pipe C, plane=15, cursor=15, sprite0=15, sprite1=15
 [  16.5167219] i915drmkms0 {drm:netbsd:vlv_wm_get_hw_state+0x6b7} Initial watermarks: SR plane=127, SR cursor=0 level=0 cxsr=0
 [  16.6534278] {drm:netbsd:i915_init_ggtt+0x16b} clearing unused GTT space: [1000, 80000000]
 [  16.9634284] {drm:netbsd:intel_fbdev_init+0x112} pipe A not active or no fb, skipping
 [  17.0534265] {drm:netbsd:intel_fbdev_init+0x112} pipe B not active or no fb, skipping
 [  17.1434270] {drm:netbsd:intel_fbdev_init+0x112} pipe C not active or no fb, skipping
 [  17.2334271] {drm:netbsd:intel_fbdev_init+0x40b} no active fbs found, not using BIOS config
 [  17.3334275] {drm:netbsd:intel_dp_connector_register+0x5f} registering DPDDC-B bus for DP-1
 [  17.4334279] {drm:netbsd:intel_dp_connector_register+0x5f} registering DPDDC-C bus for DP-2
 [  17.5334283] {drm:netbsd:intel_dp_connector_register+0x5f} registering DPDDC-D bus for DP-3
 [  17.6334288] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
 [  17.7134291] {drm:netbsd:intel_opregion_resume+0x1a1} 6 outputs detected
 [  17.7934295] {drm:netbsd:drm_client_modeset_probe+0x47} 
 [  17.8534297] {drm:netbsd:drm_helper_probe_single_connector_modes+0x73} [CONNECTOR:95:DP-1]
 [  17.9534301] {drm:netbsd:intel_dp_detect+0x72} [CONNECTOR:95:DP-1]
 [  18.0234304] {drm:netbsd:drm_helper_probe_single_connector_modes+0x616} [CONNECTOR:95:DP-1] status updated from unknown to disconnected
 [  18.1734331] {drm:netbsd:drm_helper_probe_single_connector_modes+0x6fb} [CONNECTOR:95:DP-1] disconnected
 [  18.2834315] {drm:netbsd:drm_helper_probe_single_connector_modes+0x73} [CONNECTOR:101:HDMI-A-1]
 [  18.3834320] {drm:netbsd:intel_hdmi_detect+0x35} [CONNECTOR:101:HDMI-A-1]
 [  18.4634322] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1)
 [  18.5634327] {drm:netbsd:do_gmbus_xfer+0x52c} GMBUS [i915 gmbus dpb] NAK on first message, retry
 [  18.6734317] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1)
 [  18.7734356] {drm:netbsd:drm_do_probe_ddc_edid+0xcc} drm: skipping non-existent adapter i915 gmbus dpb
 [  18.8834326] {drm:netbsd:intel_hdmi_set_edid+0x123} HDMI GMBUS EDID read failed, retry using GPIO bit-banging
 [  18.9934383] {drm:netbsd:intel_gmbus_force_bit+0x57} enabling bit-banging on i915 gmbus dpb. force bit now 1
 [  19.1134351] {drm:netbsd:intel_gmbus_force_bit+0x57} disabling bit-banging on i915 gmbus dpb. force bit now 0
 [  19.2334355] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1)
 [  19.3334360] {drm:netbsd:do_gmbus_xfer+0x52c} GMBUS [i915 gmbus dpb] NAK on first message, retry
 [  19.4334365] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1)
 [  19.5334368] {drm:netbsd:drm_dp_dual_mode_detect+0x191} DP dual mode HDMI ID: 0xffffd70449bbbb08E (err -6)
 [  19.6534410] {drm:netbsd:drm_helper_probe_single_connector_modes+0x616} [CONNECTOR:101:HDMI-A-1] status updated from unknown to disconnected
 [  19.8034363] {drm:netbsd:drm_helper_probe_single_connector_modes+0x6fb} [CONNECTOR:101:HDMI-A-1] disconnected
 [  19.9134368] {drm:netbsd:drm_helper_probe_single_connector_modes+0x73} [CONNECTOR:106:DP-2]
 [  20.0134372] {drm:netbsd:intel_dp_detect+0x72} [CONNECTOR:106:DP-2]
 [  20.0934401] {drm:netbsd:intel_dp_read_dpcd+0x64} DPCD: 0xffffc436e810313ah
 [  20.1734416] {drm:netbsd:drm_dp_read_desc+0x131} DP branch: OUI 0xffffc436e81031d4hD dev-ID 0xffffc436e81031d7E HW-rev 0.0 SW-rev 0.0 quirks 0x0000
 [  20.3334390] {drm:netbsd:intel_dp_detect+0x5e9} source rates: 162000, 270000
 [  20.4134406] {drm:netbsd:intel_dp_detect+0x61d} sink rates: 162000, 270000
 [  20.4934411] {drm:netbsd:intel_dp_detect+0x651} common rates: 162000, 270000
 [  20.5734432] {drm:netbsd:intel_dp_detect+0x132} [ENCODER:105:DP C] MST support: port: no, sink: no, modparam: yes
 [  20.7034431] {drm:netbsd:drm_helper_probe_single_connector_modes+0x616} [CONNECTOR:106:DP-2] status updated from unknown to connected
 [  20.8434461] {drm:netbsd:drm_add_display_info+0x186} non_desktop set to 0
 [  20.9234427] {drm:netbsd:drm_add_edid_modes+0xa77} ELD: no CEA Extension found
 [  21.0034431] {drm:netbsd:drm_add_display_info+0x186} non_desktop set to 0
 [  21.0834434] {drm:netbsd:drm_helper_probe_single_connector_modes+0x2bd} [CONNECTOR:106:DP-2] probed modes :
 [  21.2034439] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1600x1200": 60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x48 0x5
 [  21.3534446] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
 [  21.5034452] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
 [  21.6534464] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
 [  21.7934465] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
 [  21.9434507] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
 [  22.0834476] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
 [  22.2234483] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "832x624": 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
 [  22.3634488] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
 [  22.5034494] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "800x600": 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
 [  22.6434487] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
 [  22.7834506] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "800x600": 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
 [  22.9234512] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "640x480": 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
 [  23.0634518] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "640x480": 73 31500 640 664 704 832 480 489 492 520 0x40 0xa
 [  23.1934525] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "640x480": 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
 [  23.3334529] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
 [  23.4734556] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "720x400": 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
 [  23.6134542] {drm:netbsd:drm_helper_probe_single_connector_modes+0x73} [CONNECTOR:110:HDMI-A-2]
 [  23.7134546] {drm:netbsd:intel_hdmi_detect+0x35} [CONNECTOR:110:HDMI-A-2]
 [  23.8534534] {drm:netbsd:do_gmbus_xfer+0x151} GMBUS [i915 gmbus dpc] timed out, falling back to bit banging on pin 4
 [  24.0534542] {drm:netbsd:do_gmbus_xfer+0x151} GMBUS [i915 gmbus dpc] timed out, falling back to bit banging on pin 4
 [  24.2534551] {drm:netbsd:do_gmbus_xfer+0x151} GMBUS [i915 gmbus dpc] timed out, falling back to bit banging on pin 4
 [  24.4534559] {drm:netbsd:do_gmbus_xfer+0x151} GMBUS [i915 gmbus dpc] timed out, falling back to bit banging on pin 4
 [  24.6534571] {drm:netbsd:do_gmbus_xfer+0x151} GMBUS [i915 gmbus dpc] timed out, falling back to bit banging on pin 4
 [  24.8034566] {drm:netbsd:intel_hdmi_set_edid+0x123} HDMI GMBUS EDID read failed, retry using GPIO bit-banging
 [  24.9134580] {drm:netbsd:intel_gmbus_force_bit+0x57} enabling bit-banging on i915 gmbus dpc. force bit now 1
 [  25.1534590] {drm:netbsd:intel_gmbus_force_bit+0x57} disabling bit-banging on i915 gmbus dpc. force bit now 0
 [  25.3334597] {drm:netbsd:do_gmbus_xfer+0x151} GMBUS [i915 gmbus dpc] timed out, falling back to bit banging on pin 4
 [  25.4734607] {drm:netbsd:drm_dp_dual_mode_detect+0x191} DP dual mode HDMI ID: 0xffffd70449bbbb08E (err -5)
 [  25.5934626] {drm:netbsd:drm_helper_probe_single_connector_modes+0x616} [CONNECTOR:110:HDMI-A-2] status updated from unknown to disconnected
 [  25.7434668] {drm:netbsd:drm_helper_probe_single_connector_modes+0x6fb} [CONNECTOR:110:HDMI-A-2] disconnected
 [  25.8534620] {drm:netbsd:drm_helper_probe_single_connector_modes+0x73} [CONNECTOR:113:DP-3]
 [  25.9534641] {drm:netbsd:intel_dp_detect+0x72} [CONNECTOR:113:DP-3]
 [  26.0334644] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.1234632] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.2234636] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.3134656] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.4134632] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.5034665] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.5934653] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.6934657] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.7834677] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.8734699] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  26.9734688] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.0634672] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.1634677] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.2534680] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.3434703] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.4434686] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.5334692] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.6334695] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.7234700] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.8134704] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  27.9134689] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.0034729] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.1034699] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.1934755] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.2834740] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.3834728] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.4734768] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.5734727] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.6634740] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.7534760] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.8534748] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  28.9434755] {drm:netbsd:intel_dp_aux_xfer+0xa0e} dp_aux_ch timeout status 0x71450064
 [  29.0334755] {drm:netbsd:drm_dp_dpcd_access+0xda} Too many retries, giving up. First error: -60
 [  29.1434746] {drm:netbsd:drm_helper_probe_single_connector_modes+0x616} [CONNECTOR:113:DP-3] status updated from unknown to disconnected
 [  29.2834775] {drm:netbsd:drm_helper_probe_single_connector_modes+0x6fb} [CONNECTOR:113:DP-3] disconnected
 [  29.3934788] {drm:netbsd:drm_helper_probe_single_connector_modes+0x73} [CONNECTOR:117:HDMI-A-3]
 [  29.5034792] {drm:netbsd:intel_hdmi_detect+0x35} [CONNECTOR:117:HDMI-A-3]
 [  29.5834795] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus panel] NAK for addr: 0050 w(1)
 [  29.6834800] {drm:netbsd:do_gmbus_xfer+0x52c} GMBUS [i915 gmbus panel] NAK on first message, retry
 [  29.7834804] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus panel] NAK for addr: 0050 w(1)
 [  29.8934795] {drm:netbsd:drm_do_probe_ddc_edid+0xcc} drm: skipping non-existent adapter i915 gmbus panel
 [  30.0034796] {drm:netbsd:intel_hdmi_set_edid+0x123} HDMI GMBUS EDID read failed, retry using GPIO bit-banging
 [  30.1234802] {drm:netbsd:intel_gmbus_force_bit+0x57} enabling bit-banging on i915 gmbus panel. force bit now 1
 [  30.2434858] {drm:netbsd:intel_gmbus_force_bit+0x57} disabling bit-banging on i915 gmbus panel. force bit now 0
 [  30.3534812] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus panel] NAK for addr: 0040 w(1)
 [  30.4634832] {drm:netbsd:do_gmbus_xfer+0x52c} GMBUS [i915 gmbus panel] NAK on first message, retry
 [  30.5634823] {drm:netbsd:do_gmbus_xfer+0x501} GMBUS [i915 gmbus panel] NAK for addr: 0040 w(1)
 [  30.6634840] {drm:netbsd:drm_dp_dual_mode_detect+0x191} DP dual mode HDMI ID: 0xffffd70449bbbb08E (err -6)
 [  30.7834845] {drm:netbsd:drm_helper_probe_single_connector_modes+0x616} [CONNECTOR:117:HDMI-A-3] status updated from unknown to disconnected
 [  30.9334835] {drm:netbsd:drm_helper_probe_single_connector_modes+0x6fb} [CONNECTOR:117:HDMI-A-3] disconnected
 [  31.0434843] {drm:netbsd:drm_client_modeset_probe+0x32f} connector 95 enabled? no
 [  31.1334844] {drm:netbsd:drm_client_modeset_probe+0x32f} connector 101 enabled? no
 [  31.2234848] {drm:netbsd:drm_client_modeset_probe+0x32f} connector 106 enabled? yes
 [  31.3134851] {drm:netbsd:drm_client_modeset_probe+0x32f} connector 110 enabled? no
 [  31.4034855] {drm:netbsd:drm_client_modeset_probe+0x32f} connector 113 enabled? no
 [  31.4934860] {drm:netbsd:drm_client_modeset_probe+0x32f} connector 117 enabled? no
 [  31.5834863] {drm:netbsd:drm_client_modeset_probe+0x736} Not using firmware configuration
 [  31.6834867] {drm:netbsd:drm_client_modeset_probe+0xaae} looking for cmdline mode on connector 106
 [  31.7834871] {drm:netbsd:drm_client_modeset_probe+0xe53} looking for preferred mode on connector 106 0
 [  31.8934877] {drm:netbsd:drm_client_modeset_probe+0xb98} found mode 1600x1200
 [  31.9834880] {drm:netbsd:drm_client_modeset_probe+0x1112} picking CRTCs for 16384x16384 config
 [  32.0834884] {drm:netbsd:drm_client_modeset_probe+0x121d} desired mode 1600x1200 set on crtc 51 (0,0)
 [  32.1934890] i915drmkms0 {drm:netbsd:__drm_fb_helper_initial_config_and_unlock+0x11b} test CRTC 0 primary plane
 [  32.3134894] i915drmkms0 {drm:netbsd:__drm_fb_helper_initial_config_and_unlock+0x11b} test CRTC 1 primary plane
 [  32.4334899] i915drmkms0 {drm:netbsd:__drm_fb_helper_initial_config_and_unlock+0x11b} test CRTC 2 primary plane
 [  32.5534904] {drm:netbsd:intelfb_create+0xd0} no BIOS fb, allocating a new one
 [  32.6534896] intelfb0 at i915drmkms0
 [  32.6934903] {drm:netbsd:intelfb_create+0x403} allocated 1600x1200 fb: 0x00020000
 [  32.7816484] {drm:netbsd:__intel_display_power_put_domain+0xe5} disabling dpio-common-d
 [  32.8761579] {drm:netbsd:chv_dpio_cmn_power_well_disable+0x9f} Disabled DPIO PHY1 (PHY_CONTROL=0x150607fd)
 [  32.9904024] [drm] DRM_I915_DEBUG enabled
 [  33.0371339] [drm] DRM_I915_DEBUG_GEM enabled
 [  33.0880243] {drm:netbsd:intel_atomic_check+0x5cf} [CONNECTOR:106:DP-2] Limiting display bpp to 24 instead of EDID bpp 0, requested bpp 30, max platform bpp 30
 [  33.2573107] {drm:netbsd:intel_dp_compute_config+0x252} DP link computation with max lane count 2 max rate 270000 max bpp 24 pixel clock 162000KHz
 [  33.4134954] {drm:netbsd:intel_dp_compute_config+0x429} Force DSC en = 0
 [  33.4920310] {drm:netbsd:intel_dp_compute_config+0x7f7} DP lane count 2 clock 270000 bpp 24
 [  33.5906914] {drm:netbsd:intel_dp_compute_config+0x79f} DP link rate required 486000 available 540000
 [  33.6997405] {drm:netbsd:intel_atomic_check+0x81b} hw max bpp: 24, pipe bpp: 24, dithering: 0
 [  33.8004808] {drm:netbsd:pipe_config_mismatch+0x5f} [CRTC:51:pipe A] fastset mismatch in gmch_pfit.control 0xffffd70449bbb988V
 [  33.9354980] i915drmkms0 {drm:netbsd:vlv_compute_pipe_wm+0x468} primary A watermarks: PM2=100, PM5=100, DDR DVFS=300
 [  34.0601251] {drm:netbsd:intel_dump_pipe_config+0x6e} [CRTC:51:pipe A] enable: yes [modeset]
 [  34.1598270] {drm:netbsd:intel_dump_pipe_config+0x2e0} active: yes, output_types: DP (0x80), output format: RGB
 [  34.2792603] {drm:netbsd:intel_dump_pipe_config+0x318} cpu_transcoder: A, pipe bpp: 24, dithering: 0
 [  34.3872718] {drm:netbsd:intel_dump_pipe_config+0x881} dp m_n: lanes: 2; gmch_m: 7549747, gmch_n: 8388608, link_m: 314572, link_n: 524288, tu: 64
 [  34.5420176] {drm:netbsd:intel_dump_pipe_config+0x35d} audio: 0, infoframes: 0, infoframes enabled: 0x0
 [  34.6535007] {drm:netbsd:intel_dump_pipe_config+0x3d8} requested mode:
 [  34.7299963] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1600x1200": 60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x48 0x5
 [  34.8795530] {drm:netbsd:intel_dump_pipe_config+0x3f7} adjusted mode:
 [  34.9553688] {drm:netbsd:drm_mode_debug_printmodeline+0x6b} Modeline "1600x1200": 60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x48 0x5
 [  35.1049211] {drm:netbsd:intel_dump_pipe_config+0x475} crtc timings: 162000 1600 1664 1856 2160 1200 1201 1204 1250, type: 0x48 flags: 0x5
 [  35.2523967] {drm:netbsd:intel_dump_pipe_config+0x4a2} port clock: 270000, pipe src size: 1600x1200, pixel rate 162000
 [  35.3791025] {drm:netbsd:intel_dump_pipe_config+0x782} gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
 [  35.5182696] {drm:netbsd:intel_dump_pipe_config+0x53c} ips: 0, double wide: 0
 [  35.6023942] {drm:netbsd:intel_dump_pipe_config+0x552} dpll_hw_state: dpll: 0xb0002000, dpll_md: 0x0, fp0: 0x0, fp1: 0x0
 [  35.7311747] {drm:netbsd:intel_dump_pipe_config+0x58f} cgm_mode: 0x0 gamma_mode: 0x0 gamma_enable: 0 csc_enable: 0
 [  35.8537276] {drm:netbsd:intel_dump_pipe_config+0x5b9} MST master transcoder: <invalid>
 [  35.9482379] {drm:netbsd:intel_dump_pipe_config+0x16d} [PLANE:31:primary A] fb: [FB:121] 1600x1200 format = XR24 little-endian (0x34325258), visible: yes
 [  36.1112897] {drm:netbsd:intel_dump_pipe_config+0x190} 	rotation: 0x1, scaler: -1
 [  36.1995708] {drm:netbsd:intel_dump_pipe_config+0x6a3} 	src: 1600.000000x1200.000000+0.000000+0.000000 dst: 1600x1200+0+0
 [  36.3293922] {drm:netbsd:intel_dump_pipe_config+0x718} [PLANE:35:sprite A] fb: [NOFB], visible: no
 [  36.4353227] {drm:netbsd:intel_dump_pipe_config+0x718} [PLANE:41:sprite B] fb: [NOFB], visible: no
 [  36.5412546] {drm:netbsd:intel_dump_pipe_config+0x718} [PLANE:47:cursor A] fb: [NOFB], visible: no
 [  36.6471912] uvm_fault(0xffffffff8190e1c0, 0xfffffffffffff000, 1) -> e
 [  36.7240471] fatal page fault in supervisor mode
 [  36.7780511] trap type 6 code 0 rip 0xffffffff80dbe6cc cs 0x8 rflags 0x10286 cr2 0xfffffffffffffff0 ilevel 0 rsp 0xffffd70449bbbb00
 [  36.9182548] curlwp 0xffffc436e7c16940 pid 0.218 lowest kstack 0xffffd70449bb72c0
 kernel: page fault trap, code=0
 Stopped in pid 0.218 (system) at        netbsd:mutex_oncpu+0x1e:        movq    
 0(%rbx),%rax
 mutex_oncpu() at netbsd:mutex_oncpu+0x1e
 mutex_vector_enter() at netbsd:mutex_vector_enter+0xb7
 intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive+0x1e
 intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x210
 drm_atomic_helper_prepare_planes() at netbsd:drm_atomic_helper_prepare_planes+0x
 8f
 intel_atomic_commit() at netbsd:intel_atomic_commit+0xb8
 drm_client_modeset_commit_atomic() at netbsd:drm_client_modeset_commit_atomic+0x
 19a
 drm_client_modeset_commit_force() at netbsd:drm_client_modeset_commit_force+0x4c

 drm_fb_helper_restore_fbdev_mode_unlocked() at netbsd:drm_fb_helper_restore_fbde
 v_mode_unlocked+0x55
 drmfb_genfb_setmode() at netbsd:drmfb_genfb_setmode+0x17
 genfb_attach() at netbsd:genfb_attach+0x1af
 drmfb_attach() at netbsd:drmfb_attach+0x23c
 intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
 i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xb6
 config_mountroot_thread() at netbsd:config_mountroot_thread+0x60
 ds          60c0
 --db_more--
 es          ec9e
 fs          6188
 gs          6948
 rdi         fffffffffffffff0
 rsi         1
 rbp         ffffd70449bbbb10
 rbx         fffffffffffffff0
 rdx         1
 rcx         104
 rax         1
 r8          0
 r9          0
 r10         ffffd70449bbb880
 r11         0
 r12         ffffd7002164e460
 r13         ffffc436e7c16940
 r14         0
 r15         fffffffffffffff0
 rip         ffffffff80dbe6cc    mutex_oncpu+0x1e
 cs          8
 rflags      10286
 rsp         ffffd70449bbbb00
 ss          10
 --db_more--
 netbsd:mutex_oncpu+0x1e:        movq    0(%rbx),%rax
 db{0}> bt
 mutex_oncpu() at netbsd:mutex_oncpu+0x1e
 mutex_vector_enter() at netbsd:mutex_vector_enter+0xb7
 intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive+0x1e
 intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x210
 drm_atomic_helper_prepare_planes() at netbsd:drm_atomic_helper_prepare_planes+0x
 8f
 intel_atomic_commit() at netbsd:intel_atomic_commit+0xb8
 drm_client_modeset_commit_atomic() at netbsd:drm_client_modeset_commit_atomic+0x
 19a
 drm_client_modeset_commit_force() at netbsd:drm_client_modeset_commit_force+0x4c

 drm_fb_helper_restore_fbdev_mode_unlocked() at netbsd:drm_fb_helper_restore_fbde
 v_mode_unlocked+0x55
 drmfb_genfb_setmode() at netbsd:drmfb_genfb_setmode+0x17
 genfb_attach() at netbsd:genfb_attach+0x1af
 drmfb_attach() at netbsd:drmfb_attach+0x23c
 intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
 i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xb6
 config_mountroot_thread() at netbsd:config_mountroot_thread+0x60
 db{0}> ~

State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Wed, 06 Sep 2023 11:51:23 +0000
State-Changed-Why:
feedback requested


From: Taylor R Campbell <riastradh@NetBSD.org>
To: mef@netbsd.org
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/57154: CPU N3150 panics with DRMkms related function
Date: Wed, 6 Sep 2023 11:50:34 +0000

 >  rbx         fffffffffffffff0
 > [...]
 >  netbsd:mutex_oncpu+0x1e:        movq    0(%rbx),%rax

 This is weird -- it looks like the mutex has been destroyed:
 0xffff...fff0 is -16, which is MUTEX_THREAD, which is what
 mutex_destroy sets mtx->mtx_owner too.

 Can you add #include <ddb/ddb.h> to intel_rps.c and call
 db_stacktrace() in intel_rps_fini?  I think that's the only place the
 mutex is destroyed.

>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-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.