NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amd64/58274: kernel panic in i915drmkms on ThinkCentre M600



>Number:         58274
>Category:       port-amd64
>Synopsis:       kernel panic in i915drmkms on ThinkCentre M600
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 19:00:00 +0000 2024
>Originator:     Robert Doerfler
>Release:        NetBSD 10
>Organization:
>Environment:
NetBSD fasolt.bloerp.org 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
ThinkCentre M600 (Intel(R) Celeron(R) CPU  N3000, 4GB Ram, 232 GB SSD, two dp++ monitor ports), currently connected to some old TFT Monitor via dp++ -> HDMI -> VGA.

As soon as a monitor is connected to the machine, booting NetBSD 10 will stop with a kernel panic. If the monitor isn't connected to the ThinkCentre, it will boot with Errors.

full log (monitor connected): 

21288680+782888+1314264 [939258+1396248+1023001]=0x1b34a30
Loading /var/db/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]     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 reserved.

[   1.0000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
[   1.0000000] total memory = 4008 MB
[   1.0000000] avail memory = 3850 MB
[   1.0000040] mainbus0 (root)
[   1.0000040] ACPI: RSDP 0x00000000000F0580 000024 (v02 LENOVO)
[   1.0000040] ACPI: XSDT 0x00000000AA96D088 000094 (v01 LENOVO TC-M00   00001300 AMI  00010013)
[   1.0000040] ACPI: FACP 0x00000000AA97F3E8 00010C (v05 LENOVO TC-M00   00001300 AMI  00010013)
[   1.0000040] Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20221020/tbfadt-640)
[   1.0000040] ACPI: DSDT 0x00000000AA96D1B0 012232 (v02 LENOVO TC-M00   00001300 INTL 20120913)
[   1.0000040] ACPI: FACS 0x00000000AB699E80 000040
[   1.0000040] ACPI: APIC 0x00000000AA97F4F8 000068 (v03 LENOVO TC-M00   00001300 AMI  00010013)
[   1.0000040] ACPI: FPDT 0x00000000AA97F560 000044 (v01 LENOVO TC-M00   00001300 AMI  00010013)
[   1.0000040] ACPI: FIDT 0x00000000AA97F5A8 00009C (v01 LENOVO TC-M00   00001300 AMI  00010013)
[   1.0000040] ACPI: MCFG 0x00000000AA97F648 00003C (v01 LENOVO TC-M00   00001300 MSFT 00000097)
[   1.0000040] ACPI: TCPA 0x00000000AA97F688 000032 (v02 LENOVO TC-M00   00001300 MSFT 01000013)
[   1.0000040] ACPI: SSDT 0x00000000AA97F6C0 000763 (v01 LENOVO TC-M00   00001300 INTL 20061109)
[   1.0000040] ACPI: SSDT 0x00000000AA97FE28 000290 (v01 LENOVO TC-M00   00001300 INTL 20061109)
[   1.0000040] ACPI: SSDT 0x00000000AA9800B8 00017A (v01 LENOVO TC-M00   00001300 INTL 20061109)
[   1.0000040] ACPI: UEFI 0x00000000AA980238 000042 (v01 LENOVO TC-M00   00001300      00000000)
[   1.0000040] ACPI: LPIT 0x00000000AA980280 000104 (v01 LENOVO TC-M00   00001300 MSFT 0100000D)
[   1.0000040] ACPI: CSRT 0x00000000AA980388 00014C (v00 LENOVO TC-M00   00001300 MSFT 0100000D)
[   1.0000040] ACPI: LUFT 0x00000000AA9804D8 0569E2 (v01 LENOVO TC-M00   00001300 AMI  00010013)
[   1.0000040] ACPI: BGRT 0x00000000AA9D6EC0 000038 (v01 LENOVO TC-M00   00001300 AMI  00010013)
[   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  N3000  @ 1.04GHz, id 0x406c3
[   1.0000040] cpu0: node 0, package 0, core 0, smt 0
[   1.0000040] cpu1 at mainbus0 apid 4
[   1.0000040] cpu1: Intel(R) Celeron(R) CPU  N3000  @ 1.04GHz, id 0x406c3
[   1.0000040] cpu1: node 0, package 0, core 2, smt 0
[   1.0000040] acpi0 at mainbus0: Intel ACPICA 20221020
[   1.0000040] ACPI: Dynamic OEM Table Load:
[   1.0000040] ACPI: SSDT 0xFFFF9B6960FA6808 00052C (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
[   1.0000040] ACPI: Dynamic OEM Table Load:
[   1.0000040] ACPI: SSDT 0xFFFF9B69A80A6648 00015F (v01 PmRef  ApIst    00003000 INTL 20061109)
[   1.0000040] acpi0: fixed power button present
[   1.0197579] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
[   1.0197579] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
[   1.0197579] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
[   1.0197579] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
[   1.0197579] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
[   1.0197579] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
[   1.0197579] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
[   1.0197579] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
[   1.0197579] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
[   1.0197579] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
[   1.0197579] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
[   1.0197579] acpiout9 at acpivga0 (ISP0, 0x22b8): ACPI Display Output Device
[   1.0197579] FWHD (INT0800) at acpi0 not configured
[   1.0197579] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
[   1.0197579] com0 at acpi0 (UR11, PNP0501-10): io 0x3f8-0x3ff irq 3
[   1.0197579] com: ns16550a, 16-byte FIFO
[   1.0197579] com0: console
[   1.0197579] com1 at acpi0 (UR12, PNP0501-11): io 0x2f8-0x2ff irq 4
[   1.0197579] com1: ns16550a, 16-byte FIFO
[   1.0197579] com2 at acpi0 (UR13, PNP0501-12): io 0x3e8-0x3ef irq 6
[   1.0197579] com2: ns16550a, 16-byte FIFO
[   1.0197579] com3 at acpi0 (UR14, PNP0501-13): io 0x2e8-0x2ef irq 6
[   1.0197579] com3: ns16550a, 16-byte FIFO
[   1.0197579] lpt0 at acpi0 (LPTS, PNP0400-10): io 0x378-0x37f irq 7 drq 3
[   1.0197579] pckbc1 at acpi0 (PS2K, MSFT0001-0) (kbd port): io 0x60,0x64 irq 1
[   1.0197579] pckbc2 at acpi0 (PS2M, MSFT0003-0) (aux port): io 0x60,0x64 irq 12
[   1.0197579] BTH1 (BCM2E64) at acpi0 not configured
[   1.0197579] GPS1 (BCM4752) at acpi0 not configured
[   1.0197579] SHUB (SMO91D0) at acpi0 not configured
[   1.0197579] STRB (INTCF1C) at acpi0 not configured
[   1.0197579] TPD1 (MSFT0002) at acpi0 not configured
[   1.0197579] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
[   1.0197579] acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
[   1.0197579] tpm0 at acpi0 (TPM, PNP0C31-1): mem 0xfed40000-0xfed44fff
[   1.0197579] tpm0: device 0x00fe1050 rev 0x2
[   1.0197579] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
[   1.0197579] acpitz0 at acpi0 (TZ01): cpu0 cpu1
[   1.0197579] acpitz0: active cooling level 0: 110.0C
[   1.0197579] acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
[   1.0197579] acpiwmibus at acpiwmi0 not configured
[   1.0197579] LBAI (LEN4001) at acpi0 not configured
[   1.0197579] ACPI: Enabled 6 GPEs in block 00 to 3F
[   1.0197579] pci0 at mainbus0 bus 0: configuration mode 1
[   1.0197579] pchb0 at pci0 dev 0 function 0: Intel Braswell Soc Transaction Router (rev. 0x21)
[   1.0197579] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics (rev. 0x21)
[   1.0197579] ahcisata0 at pci0 dev 19 function 0: Intel Braswell AHCI (rev. 0x21)
[   1.0197579] 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.0197579] ahcisata0: interrupting at msi0 vec 0
[   1.0197579] atabus0 at ahcisata0 channel 0
[   1.0197579] atabus1 at ahcisata0 channel 1
[   1.0197579] xhci0 at pci0 dev 20 function 0: Intel Braswell xHCI (rev. 0x21)
[   1.0197579] xhci0: interrupting at msi1 vec 0
[   1.0197579] usb0 at xhci0: USB revision 3.0
[   1.0197579] usb1 at xhci0: USB revision 2.0
[   1.0197579] Intel Braswell TXE (miscellaneous crypto, revision 0x21) at pci0 dev 26 function 0 not configured
[   1.0197579] hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
[   1.0197579] hdaudio0: interrupting at msi2 vec 0
[   1.0197579] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
[   1.0197579] hdafg0 at hdaudio0: Realtek product 0233
[   1.0197579] hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
[   1.0197579] hdafg0: DAC01 2ch: Speaker [Jack]
[   1.0197579] hdafg0: ADC02 2ch: Mic In [Jack]
[   1.0197579] hdafg0: ADC03 2ch: Mic In [Jack]
[   1.0197579] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[   1.0197579] audio0 at hdafg0: playback, capture, full duplex, independent
[   1.0197579] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[   1.0197579] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[   1.0197579] spkr0 at audio0: PC Speaker (synthesized)
[   1.0197579] wsbell at spkr0 not configured
[   1.0197579] hdafg1 at hdaudio0: Intel product 2883
[   1.0197579] hdafg1: DP00 8ch: Digital Out [Jack]
[   1.0197579] hdafg1: DP01 8ch: Digital Out [Jack]
[   1.0197579] hdafg1: DP02 8ch: Digital Out [Jack]
[   1.0197579] hdafg1: 8ch/0ch 48000Hz PCM16*
[   1.0197579] audio1 at hdafg1: playback, capture, full duplex, independent
[   1.0197579] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[   1.0197579] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[   1.0197579] spkr1 at audio1: PC Speaker (synthesized)
[   1.0197579] wsbell at spkr1 not configured
[   1.0197579] ppb0 at pci0 dev 28 function 0: Intel Braswell PCIe (rev. 0x21)
[   1.0197579] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
[   1.0197579] pci1 at ppb0 bus 1
[   1.0197579] re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
[   1.0197579] re0: interrupting at msix3 vec 0
[   1.0197579] re0: RTL8168G/8111G (0x4c00)
[   1.0197579] re0: Ethernet address 00:23:24:b3:9e:14
[   1.0197579] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
[   1.0197579] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[   1.0197579] pcib0 at pci0 dev 31 function 0: Intel Braswell PCU LPC (rev. 0x21)
[   1.0197579] ichsmb0 at pci0 dev 31 function 3: Intel Braswell PCU SMBus (rev. 0x21)
[   1.0197579] ichsmb0: interrupting at ioapic0 pin 18
[   1.0197579] iic0 at ichsmb0: I2C bus
[   1.0197579] isa0 at pcib0
[   1.0197579] pcppi0 at isa0 port 0x61
[   1.0197579] spkr2 at pcppi0: PC Speaker
[   1.0197579] wsbell at spkr2 not configured
[   1.0197579] midi0 at pcppi0: PC speaker
[   1.0197579] sysbeep0 at pcppi0
[   1.0197579] attimer1: attached to pcppi0
[   1.0197579] acpicpu0 at cpu0: ACPI CPU
[   1.0197579] coretemp0 at cpu0: thermal sensor, 1 C resolution
[   1.0197579] acpicpu1 at cpu1: ACPI CPU
[   1.0197579] coretemp1 at cpu1: thermal sensor, 1 C resolution
[   1.3810759] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[   1.7996854] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[   2.2796856] ahcisata0 port 0: device present, speed: 6.0Gb/s
[   2.9596861] uhub2 at uhub1 port 5: vendor 0424 (0x0424) product 2514 (0x2514), class 9/0, rev 2.00/2.00, addr 1
[   3.4296851] uhub2: multiple transaction translators
[   4.2296860] ahcisata0 port 1: PHY offline
[   4.9196860] wd0 at atabus0 drive 0
[   5.0754996] wd0: <INTENSO SSD>
[   5.2208683] wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
[   5.6096861] swwdog0: software watchdog initialized
[   5.8296852] boot device: wd0
[   5.9696853] root on wd0a dumps on wd0b
[   6.1496857] /: replaying log to memory
[   6.3296853] root file system type: ffs
[   6.4996853] kern.module.path=/stand/amd64/10.0/modules
[   6.7496853] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   7.0690943] [drm] Driver supports precise vblank timestamp query.
[   7.3598181] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
[   7.8696866] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[   8.8996880] intelfb0 at i915drmkms0
[   9.0596854] [drm] DRM_I915_DEBUG enabled
[   9.2396852] [drm] DRM_I915_DEBUG_GEM enabled
[   9.4496852] uvm_fault(0xffffffff8190fb40, 0xfffffffffffff000, 1) -> e
[   9.7496852] fatal page fault in supervisor mode
[   9.9696853] trap type 6 code 0 rip 0xffffffff80cd8e5f cs 0x8 rflags 0x10206 cr2 0xfffffffffffffff0 ilevel 0 rsp 0xffffbb0132a04b30
[  10.5296852] curlwp 0xffff9b69614b0a00 pid 0.169 lowest kstack 0xffffbb0132a002c0
kernel: page fault trap, code=0
Stopped in pid 0.169 (system) at        netbsd:mutex_vector_enter+0x82: movq
0(%r12),%rax
mutex_vector_enter() at netbsd:mutex_vector_enter+0x82
intel_rps_mark_interactive() at netbsd:intel_rps_mark_interactive+0x1e
intel_prepare_plane_fb() at netbsd:intel_prepare_plane_fb+0x1ab
drm_atomic_helper_prepare_planes() at netbsd:drm_atomic_helper_prepare_planes+0x
8f
intel_atomic_commit() at netbsd:intel_atomic_commit+0xaf
drm_client_modeset_commit_atomic() at netbsd:drm_client_modeset_commit_atomic+0x
1f4
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+0x176
drmfb_attach() at netbsd:drmfb_attach+0x22d
intelfb_attach_task() at netbsd:intelfb_attach_task+0x4e
i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0xaa
config_mountroot_thread() at netbsd:config_mountroot_thread+0x37
ds          7f00
es          923c
--db_more--           fs          4b00
--db_more--           gs          3008
--db_more--           rdi         ffffbb00083f7460
--db_more--           rsi         1
--db_more--           rbp         ffffbb0132a04b90
--db_more--           rbx         ffff9b69614b0a00
--db_more--           rdx         ffff9b69614b0a00
--db_more--           rcx         ffff9b69614b0a00
--db_more--           rax         0
--db_more--           r8          3e8
--db_more--           r9          844
--db_more--           r10         0
--db_more--           r11         0
--db_more--           r12         fffffffffffffff0
--db_more--           r13         0
--db_more--           r14         fffffffffffffff0
--db_more--           r15         ffffbb00083f7460
--db_more--           rip         ffffffff80cd8e5f    mutex_vector_enter+0x82
--db_more--           cs          8
--db_more--           rflags      10206
--db_more--           rsp         ffffbb0132a04b30
--db_more--           ss          10
--db_more--           netbsd:mutex_vector_enter+0x82: movq    0(%r12),%rax
db{1}>



Errors without a monitor connected to the ThinkCentre M600:

[     7.326908] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     7.640164] [drm] Driver supports precise vblank timestamp query.
[     7.935682] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
[     8.430170] {drm:netbsd:gen8_reset_engines+0x37a} *ERROR* bcs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[     8.984467] {drm:netbsd:gen8_reset_engines+0x37a} *ERROR* bcs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[     9.541002] {drm:netbsd:gen8_reset_engines+0x37a} *ERROR* vcs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[    10.097537] {drm:netbsd:gen8_reset_engines+0x37a} *ERROR* vecs'0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[    10.660185] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[    11.580187] i915drmkms0: [drm] Cannot find any crtc or sizes
[    11.847295] [drm] DRM_I915_DEBUG enabled
[    12.030189] [drm] DRM_I915_DEBUG_GEM enabled
[    14.020201] i915drmkms0: [drm] Cannot find any crtc or sizes
 
>How-To-Repeat:
connect a monitor and boot the ThinkCentre M600
>Fix:



Home | Main Index | Thread Index | Old Index