NetBSD Problem Report #56583

From www@netbsd.org  Sun Dec 26 20:49:56 2021
Return-Path: <www@netbsd.org>
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 A8AF91A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 26 Dec 2021 20:49:56 +0000 (UTC)
Message-Id: <20211226204954.83E951A923C@mollari.NetBSD.org>
Date: Sun, 26 Dec 2021 20:49:54 +0000 (UTC)
From: nbgnats@m-squa.red
Reply-To: nbgnats@m-squa.red
To: gnats-bugs@NetBSD.org
Subject: 9.99.93 kernel panics on boot on 1st gen Thinkpad X1 Carbon
X-Send-Pr-Version: www-1.0

>Number:         56583
>Category:       kern
>Synopsis:       9.99.93 kernel panics on boot on 1st gen Thinkpad X1 Carbon
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 26 20:50:02 +0000 2021
>Closed-Date:    Sun Dec 26 22:20:20 +0000 2021
>Last-Modified:  Sun Dec 26 22:20:20 +0000 2021
>Originator:     Molly Miller
>Release:        -current, 2021-12-22 snapshot, kernel 9.99.93
>Organization:
>Environment:
NetBSD pentagram 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Mon Dec 20 00:27:53 UTC 2021  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
I attempted to boot kernel 9.99.93 on a 1st generation Thinkpad X1 Carbon, however this resulted in a kernel panic in the ehci(4) initialisation code. Note the `uname -a` given in this report is for kernel 9.99.92, which otherwise works correctly on this hardware.

dmesg:

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020, 2021 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 9.99.93 (GENERIC) #0: Wed Dec 22 21:45:02 UTC 2021
[     1.000000] 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
[     1.000000] total memory = 8147 MB
[     1.000000] avail memory = 7831 MB
[     1.000000] ZFS filesystem version: 5
[     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.000003] efi: systbl at pa bfbed018
[     1.000003] mainbus0 (root)
[     1.000003] ACPI: RSDP 0x00000000BFF47000 000024 (v02 COREv4)
[     1.000003] ACPI: XSDT 0x00000000BFBFDF18 000064 (v01 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: FACP 0x00000000BFF4ACB0 000114 (v06 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: DSDT 0x00000000BFF47280 003A2D (v02 COREv4 COREBOOT 20141018 INTL 20200110)
[     1.000003] ACPI: FACS 0x00000000BFF47240 000040
[     1.000003] ACPI: SSDT 0x00000000BFF4ADD0 001A69 (v02 COREv4 COREBOOT 0000002A CORE 20200110)
[     1.000003] ACPI: MCFG 0x00000000BFF4C840 00003C (v01 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: TCPA 0x00000000BFF4C880 000032 (v02 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: APIC 0x00000000BFF4C8C0 00006C (v03 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: DMAR 0x00000000BFF4C930 0000D0 (v01 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: HPET 0x00000000BFF4EA00 000038 (v01 COREv4 COREBOOT 00000000 CORE 20200110)
[     1.000003] ACPI: BGRT 0x00000000BFBFD018 000038 (v00 INTEL      EDK2 00001720 PTL  00000002)
[     1.000003] ACPI: 2 ACPI AML tables successfully acquired and loaded
[     1.000003] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
[     1.000003] cpu0 at mainbus0 apid 0
[     1.000003] cpu0: Use lfence to serialize rdtsc
[     1.000003] cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, id 0x306a9
[     1.000003] cpu0: node 0, package 0, core 0, smt 0
[     1.000003] cpu1 at mainbus0 apid 1
[     1.000003] cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, id 0x306a9
[     1.000003] cpu1: node 0, package 0, core 0, smt 1
[     1.000003] cpu2 at mainbus0 apid 2
[     1.000003] cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, id 0x306a9
[     1.000003] cpu2: node 0, package 0, core 1, smt 0
[     1.000003] cpu3 at mainbus0 apid 3
[     1.000003] cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, id 0x306a9
[     1.000003] cpu3: node 0, package 0, core 1, smt 1
[     1.000003] acpi0 at mainbus0: Intel ACPICA 20211217
[     1.000003] acpi0: X/RSDT: OemId <COREv4,COREBOOT,00000000>, AslId <CORE,20200110>
[     1.000003] ACPI Error: No handler for Region [ERAM] (0xffff8a0292c6a288) [EmbeddedControl] (20211217/evregion-184)
[     1.000003] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20211217/exfldio-320)
[     1.000003] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC.BAT0._STA due to previous error (AE_NOT_EXIST) (20211217/psparse-580)
[     1.000003] ACPI Error: No handler for Region [ERAM] (0xffff8a0292c6a288) [EmbeddedControl] (20211217/evregion-184)
[     1.000003] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20211217/exfldio-320)
[     1.000003] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC.BAT1._STA due to previous error (AE_NOT_EXIST) (20211217/psparse-580)
[     1.000003] acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f0000000
[     1.000003] acpi0: SCI interrupting at int 9
[     1.000003] acpi0: fixed power button present
[     1.000003] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
[     1.031040] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[     1.031040] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
[     1.031447] acpiec0 at acpi0 (EC, PNP0C09-0): io 0x62,0x66
[     1.031447] acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
[     1.031447] acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
[     1.031447] acpibat1 at acpi0 (BAT1, PNP0C0A-0): ACPI Battery
[     1.031447] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
[     1.031447] acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
[     1.031447] thinkpad0 at acpi0 (HKEY, IBM0068)
[     1.031447] thinkpad0: version 0100
[     1.031447] FWH (INT0800) at acpi0 not configured
[     1.031447] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
[     1.031447] pckbc1 at acpi0 (PS2K, LEN0071) (kbd port): io 0x60,0x64 irq 1
[     1.031447] pckbc2 at acpi0 (PS2M, LEN0030) (aux port): irq 12
[     1.031447] tpm0 at acpi0 (TPM, PNP0C31-2313387420): io 0xc31-0xc32 mem 0xfed40000-0xfed44fff
[     1.031447] tpm0: device 0x0000104a rev 0x4e
[     1.031447] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
[     1.031447] acpiout0 at acpivga0 (BOX3, 0x0000): ACPI Display Output Device
[     1.031447] acpiout1 at acpivga0 (LEGA, 0x0000): ACPI Display Output Device
[     1.031447] acpiout2 at acpivga0 (VGA0, 0x0100): ACPI Display Output Device
[     1.031447] acpiout3 at acpivga0 (TV0, 0x0240): ACPI Display Output Device
[     1.031447] acpiout4 at acpivga0 (LCD0, 0x0410): ACPI Display Output Device
[     1.031447] acpiout4: brightness levels: [2,4-5,7,9,11,13,18,20,24,29,33,40,50,67,100]
[     1.031447] acpivga0: connected output devices:
[     1.031447] acpivga0:   0x0100 (acpiout2): VGA Analog Monitor, index 0, port 0, head 0, bios detect
[     1.031447] acpivga0:   0x0240 (acpiout3): TV/HDTV Monitor, index 0, port 4, head 0, bios detect
[     1.031447] acpivga0:   0x0410 (acpiout4): Int. Digital Flat Panel, index 0, port 1, head 0, bios detect
[     1.031447] acpitz0 at acpi0 (THM0): cpu0 cpu1 cpu2 cpu3
[     1.031447] acpitz0: active cooling level 0: 80.0C
[     1.031447] acpitz0: levels: critical 100.0 C, passive 90.0 C
[     1.031447] acpifan0 at acpi0 (FAN, PNP0C0B): ACPI Fan
[     1.031447] acpitz1 at acpi0 (THM1): cpu0 cpu1 cpu2 cpu3
[     1.031447] acpitz1: levels: critical 99.0 C, passive 94.0 C, passive cooling
[     1.031447] CTBL (BOOT0000) at acpi0 not configured
[     1.031447] pckbd0 at pckbc1 (kbd slot)
[     1.031447] pckbc1: using irq 1 for kbd slot
[     1.031447] wskbd0 at pckbd0: console keyboard
[     1.031447] pms0 at pckbc1 (aux slot)
[     1.031447] pms0: Synaptics touchpad version 8.1
[     1.031447] pms0: Extended W mode, Passthrough, Palm detect, One button click pad, Multi-finger Report, Multi-finger
[     1.031447] pckbc1: using irq 12 for aux slot
[     1.031447] wsmouse0 at pms0 mux 0
[     1.031447] pci0 at mainbus0 bus 0: configuration mode 1
[     1.031447] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.031447] pchb0 at pci0 dev 0 function 0: Intel Ivy Bridge Host Bridge (rev. 0x09)
[     1.031447] i915drmkms0 at pci0 dev 2 function 0: Intel Ivy Bridge Integrated Graphics Device (rev. 0x09)
[     1.031447] Intel product 0153 (miscellaneous DASP, revision 0x09) at pci0 dev 4 function 0 not configured
[     1.031447] xhci0 at pci0 dev 20 function 0: Intel 7 Series USB xHCI (rev. 0x04)
[     1.031447] xhci0: 64-bit DMA
[     1.031447] xhci0: interrupting at msi0 vec 0
[     1.031447] xhci0: xHCI version 1.0
[     1.031447] usb0 at xhci0: USB revision 3.0
[     1.031447] usb1 at xhci0: USB revision 2.0
[     1.031447] Intel 7 Series MEI Controller (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
[     1.031447] ehci0 at pci0 dev 26 function 0: Intel 7 Series USB EHCI (rev. 0x04)
[     1.031447] ehci0: 64-bit DMA
[     1.031447] ehci0: interrupting at ioapic0 pin 19
[     1.031447] ehci0: EHCI version 1.0
[     1.031447] ehci0: Using DMA subregion for control data structures
[     1.031447] panic: kernel diagnostic assertion "BUS_ADDR_HI32(DMAADDR(&sc->sc_fldma, 0)) == 0" failed: file "/usr/src/sys/dev/usb/ehci.c", line 556 
[     1.031447] cpu0: Begin traceback...
[     1.031447] vpanic() at netbsd:vpanic+0x156
[     1.031447] kern_assert() at netbsd:kern_assert+0x4b
[     1.031447] ehci_init() at netbsd:ehci_init+0xaeb
[     1.031447] ehci_pci_attach() at netbsd:ehci_pci_attach+0x331
[     1.031447] config_attach_internal() at netbsd:config_attach_internal+0x19f
[     1.031447] config_found() at netbsd:config_found+0x53
[     1.031447] pci_probe_device() at netbsd:pci_probe_device+0x65c
[     1.031447] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x1a4
[     1.031447] pcirescan() at netbsd:pcirescan+0x4e
[     1.031447] pciattach() at netbsd:pciattach+0x186
[     1.031447] config_attach_internal() at netbsd:config_attach_internal+0x19f
[     1.031447] config_found() at netbsd:config_found+0x53
[     1.031447] mp_pci_scan() at netbsd:mp_pci_scan+0xd6
[     1.031447] amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x361
[     1.031447] config_attach_internal() at netbsd:config_attach_internal+0x19f
[     1.031447] config_rootfound() at netbsd:config_rootfound+0x77
[     1.031447] cpu_configure() at netbsd:cpu_configure+0x38
[     1.031447] main() at netbsd:main+0x32c
[     1.031447] cpu0: End traceback...
[     1.031447] fatal breakpoint trap in supervisor mode
[     1.031447] trap type 1 code 0 rip 0xffffffff80221a35 cs 0x8 rflags 0x202 cr2 0 ilevel 0x8 rsp 0xffffffff83d4e6d0
[     1.031447] curlwp 0xffffffff81887ec0 pid 0.0 lowest kstack 0xffffffff83d492c0

[     1.031447] The operating system has halted.
[     1.031447] Please press any key to reboot.

[     1.031447] rebooting...

>How-To-Repeat:
Attempt to boot kernel 9.99.93 on a 1st generation Thinkpad X1 Carbon.
>Fix:
None known.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sun, 26 Dec 2021 22:20:20 +0000
State-Changed-Why:
submitter reports fixed, duplicate of https://gnats.netbsd.org/56570


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.