NetBSD Problem Report #56534

From martin@aprisoft.de  Fri Dec  3 10:15:49 2021
Return-Path: <martin@aprisoft.de>
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 CBFA31A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  3 Dec 2021 10:15:49 +0000 (UTC)
Message-Id: <20211203101538.E1DD95CC847@emmas.aprisoft.de>
Date: Fri,  3 Dec 2021 11:15:38 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: uefiboot hangs when countdown should start
X-Send-Pr-Version: 3.95

>Number:         56534
>Category:       port-amd64
>Synopsis:       uefiboot hangs when countdown should start
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 03 10:20:00 +0000 2021
>Last-Modified:  Mon Dec 06 06:50:01 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.92
>Organization:
Thet NetBSD Foundaton, Inc.
>Environment:
System: NetBSD imMeer.aprisoft.de 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Wed Dec 1 23:56:56 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Sometimes (but not always) when booting this machine the UEFI booloader
hangs - it shows the flag and the menu, and the countdown line, but the
countdown does not start ticking. The cursor is frozen at the end of the
countdown line.

Ctrl-Alt-Del does not work, powerdown is instant. Often at the next try
it will just work.

This is a HP 250 G8 notebook.

/boot.cfg is the default version installed:

--8<--
menu=Boot normally:rndseed /var/db/entropy-file;boot
menu=Boot single user:rndseed /var/db/entropy-file;boot -s
menu=Drop to boot prompt:prompt
default=1
timeout=5
clear=1
-->8--

Full dmesg:

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: Wed Dec  1 23:56:56 UTC 2021
	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
total memory = 16165 MB
avail memory = 15636 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
RTC BIOS diagnostic error 0xff<clock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
efi: systbl at pa 44a9e018
mainbus0 (root)
ACPI: RSDP 0x0000000045FFE014 000024 (v02 HPQOEM)
ACPI: XSDT 0x0000000045FCF188 00011C (v01 HPQOEM SLIC-MPC 00000002 HP   01000013)
ACPI: FACP 0x0000000045FD3000 00010C (v05 HPQOEM SLIC-MPC 00000002 HP   00040000)
ACPI: DSDT 0x0000000045F93000 03BE4A (v02 HPQOEM 85F3     00000002 HP   00040000)
ACPI: FACS 0x0000000045F1A000 000040
ACPI: UEFI 0x0000000045F7E000 000236 (v01 HPQOEM 85F3     00000001 HP   00040000)
ACPI: SSDT 0x0000000045FF9000 003CE7 (v02 HPQOEM 85F3     00001000 HP   00040000)
ACPI: SSDT 0x0000000045FF7000 001B60 (v02 HPQOEM 85F3     00003000 HP   00040000)
ACPI: SSDT 0x0000000045FF6000 000100 (v02 HPQOEM 85F3     00003000 HP   00040000)
ACPI: SSDT 0x0000000045FF2000 003389 (v02 HPQOEM 85F3     00003000 HP   00040000)
ACPI: SSDT 0x0000000045FE6000 00B259 (v02 HPQOEM 85F3     00001000 HP   00040000)
ACPI: SSDT 0x0000000045FE5000 000179 (v01 HPQOEM 85F3     00001000 HP   00040000)
ACPI: SSDT 0x0000000045FDD000 00787C (v01 HPQOEM 85F3     00001000 HP   00040000)
ACPI: LPIT 0x0000000045FDB000 000094 (v01 HPQOEM 85F3     00000002 HP   00040000)
ACPI: WSMT 0x0000000045FDA000 000028 (v01 HPQOEM 85F3     00000002 HP   00040000)
ACPI: SSDT 0x0000000045FD9000 000B70 (v02 HPQOEM 85F3     00001000 HP   00040000)
ACPI: DBGP 0x0000000045FD8000 000034 (v01 HPQOEM SLIC-MPC 00000002 HP   00040000)
ACPI: DBG2 0x0000000045FD7000 000054 (v00 HPQOEM 85F3     00000002 HP   00040000)
ACPI: SSDT 0x0000000045FD6000 0007EA (v02 HPQOEM 85F3     00001000 HP   00040000)
ACPI: NHLT 0x0000000045FD5000 0002DF (v00 HPQOEM 85F3     00000002 HP   00040000)
ACPI: ECDT 0x0000000045FD4000 000069 (v01 HPQOEM 85F3     00000002 HP   00040000)
ACPI: HPET 0x0000000045FD2000 000038 (v01 HPQOEM 85F3     00000002 HP   00040000)
ACPI: APIC 0x0000000045FD1000 00012C (v03 HPQOEM 85F3     00000002 HP   00040000)
ACPI: MCFG 0x0000000045FD0000 00003C (v01 HPQOEM 85F3     00000002 HP   00040000)
ACPI: SSDT 0x0000000045F92000 0000F5 (v01 HPQOEM 85F3     00000002 HP   00040000)
ACPI: SSDT 0x0000000045F91000 000CA8 (v02 HPQOEM 85F3     00000002 HP   00040000)
ACPI: SSDT 0x0000000045F8F000 000976 (v02 HPQOEM 85F3     00001000 HP   00040000)
ACPI: DMAR 0x0000000045F90000 0000A8 (v02 HPQOEM 85F3     00000002 HP   00040000)
ACPI: SSDT 0x0000000045F8E000 000164 (v01 HPQOEM 85F3     00001000 HP   00040000)
ACPI: SSDT 0x0000000045F8D000 00005C (v02 HPQOEM 85F3     00001000 HP   00040000)
ACPI: SSDT 0x0000000045F8C000 00082C (v02 HPQOEM 85F3     00003000 HP   00040000)
ACPI: UEFI 0x0000000045788000 00063A (v01 HPQOEM 85F3     00000000 HP   00040000)
ACPI: UEFI 0x0000000045787000 00005C (v01 HPQOEM 85F3     00000000 HP   00040000)
ACPI: FPDT 0x0000000045F8B000 000044 (v01 HPQOEM SLIC-MPC 00000002 HP   00040000)
ACPI: BGRT 0x0000000045FFD000 000038 (v01 HPQOEM 85F3     00000001 HP   00040000)
ACPI: 16 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
x2APIC available but disabled by DMAR table
cpu0 at mainbus0 apid 0
cpu0: Use lfence to serialize rdtsc
cpu0: CPU base freq 1200000000 Hz
cpu0: CPU max freq 3600000000 Hz
cpu0: TSC freq CPUID 1190400000 Hz
cpu0: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu0: node 0, package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu1: node 0, package 0, core 1, smt 0
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu2: node 0, package 0, core 2, smt 0
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu3: node 0, package 0, core 3, smt 0
cpu4 at mainbus0 apid 1
cpu4: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu4: node 0, package 0, core 0, smt 1
cpu5 at mainbus0 apid 3
cpu5: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu5: node 0, package 0, core 1, smt 1
cpu6 at mainbus0 apid 5
cpu6: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu6: node 0, package 0, core 2, smt 1
cpu7 at mainbus0 apid 7
cpu7: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, id 0x706e5
cpu7: node 0, package 0, core 3, smt 1
acpi0 at mainbus0: Intel ACPICA 20210930
acpi0: X/RSDT: OemId <HPQOEM,SLIC-MPC,00000002>, AslId <HP  ,01000013>
acpi0: autoconfiguration error: failed to look up EC object \_SB.PCI0.LPCB.H_EC: AE_NOT_FOUND
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000c0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFCE877131348 000386 (v02 PmRef  Cpu0Cst  00003001 INTL 20160422)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFCE875053A88 000371 (v02 PmRef  Cpu0Ist  00003000 INTL 20160422)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFCE4E78C2B48 0000F4 (v02 PmRef  Cpu0Psd  00003000 INTL 20160422)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFCE4E789D008 0005FC (v02 PmRef  ApIst    00003000 INTL 20160422)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFCE4E79A7008 000AB0 (v02 PmRef  ApPsd    00003000 INTL 20160422)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFCE87503C688 00030A (v02 PmRef  ApCst    00003000 INTL 20160422)
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 19200000 Hz quality 2000
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0001): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
acpiout2 at acpivga0 (DD03, 0x0003): 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 (DD09, 0x0009): ACPI Display Output Device
acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output Device
acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output Device
acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output Device
acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output Device
acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output Device
acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output Device
acpiout15 at acpivga0 (DD1F, 0x001f): ACPI Display Output Device
acpiout15: brightness levels: [0-100]
acpiout16 at acpivga0 (IPUA, 0x3480): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0400: Unknown Output Device, head 0
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
pckbc1 at acpi0 (PS2K, MSFT0001) (kbd port): io 0x60,0x64 irq 1
acpibat0 at acpi0 (BAT1, PNP0C0A-0): ACPI Battery
acpibat0: ACPI 4.0 functionality present
acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
TPD0 (ELAN0709) at acpi0 not configured
AWAC (ACPI000E) at acpi0 not configured
GPI0 (INT3455) at acpi0 not configured
acpiwmi0 at acpi0 (WMTF, PNP0C14-TBFP): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
acpiwmi1 at acpi0 (WFDE, PNP0C14-SampleDev): ACPI WMI Interface
acpiwmibus at acpiwmi1 not configured
acpiwmi2 at acpi0 (WFTE, PNP0C14-TestDev): ACPI WMI Interface
acpiwmibus at acpiwmi2 not configured
PEPD (INT33A1) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
WLBU (HPQ6001) at acpi0 not configured
IETM (INT3400) at acpi0 not configured
acpiwmi3 at acpi0 (WMID, PNP0C14-0): ACPI WMI Interface
wmihp0 at acpiwmi3: HP WMI mappings
Firmware Error (ACPI): Attempt to CreateField of length zero (20210930/dsopcode-181)
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
Firmware Error (ACPI): Attempt to CreateField of length zero (20210930/dsopcode-181)
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
Firmware Error (ACPI): Attempt to CreateField of length zero (20210930/dsopcode-181)
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
Firmware Error (ACPI): Attempt to CreateField of length zero (20210930/dsopcode-181)
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
Firmware Error (ACPI): Attempt to CreateField of length zero (20210930/dsopcode-181)
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20210930/psparse-580)
IPPF (HPIC0003) at acpi0 not configured
acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
acpifan1 at acpi0 (FAN1, PNP0C0B-1): ACPI Fan
acpifan2 at acpi0 (FAN2, PNP0C0B-2): ACPI Fan
acpifan3 at acpi0 (FAN3, PNP0C0B-3): ACPI Fan
acpifan4 at acpi0 (FAN4, PNP0C0B-4): ACPI Fan
acpitz0 at acpi0 (TZ00)
acpitz0: active cooling level 0: 71.0C
acpitz0: active cooling level 1: 55.0C
acpitz0: active cooling level 2: 50.0C
acpitz0: active cooling level 3: 45.0C
acpitz0: active cooling level 4: 40.0C
acpitz0: levels: critical 119.0 C
acpitz1 at acpi0 (TZ02)
acpitz1: levels: hot 99.0 C, passive cooling
ACPI: Enabled 5 GPEs in block 00 to 7F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
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 product 8a12 (rev. 0x03)
genfb0 at pci0 dev 2 function 0: Intel product 8a56 (rev. 0x07)
genfb0: framebuffer at 0x4000000000, size 1024x768, depth 32, stride 4096
genfb0: shadow framebuffer enabled, size 3072 KB
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at genfb0 not configured
Intel product 8a03 (miscellaneous DASP, revision 0x03) at pci0 dev 4 function 0 not configured
xhci0 at pci0 dev 20 function 0: Intel 495 Series USB 3.2 Gen 2x1 xHCI (rev. 0x30)
xhci0: 64-bit DMA
xhci0: interrupting at msi0 vec 0
xhci0: xHCI version 1.10
usb0 at xhci0: USB revision 3.1
usb1 at xhci0: USB revision 2.0
Intel 495 Series Shared SRAM (RAM memory, revision 0x30) at pci0 dev 20 function 2 not configured
sdhc0 at pci0 dev 20 function 5: Intel 495 Series SDXC (rev. 0x30)
sdhc0: interrupting at ioapic0 pin 19
sdhc0: SDHC 3.0, rev 16, caps <3568c881/00000807>, SDMA, 200000 kHz, HS SDR50 DDR50 SDR104 HS200 1.8V 3.3V, re-tuning mode 1 (128s timer), 512 byte blocks
sdmmc0 at sdhc0 slot 0
dwiic0 at pci0 dev 21 function 0autoconfiguration error: : can't map register space
Intel 495 Series HECI 1 (miscellaneous communications, revision 0x30) at pci0 dev 22 function 0 not configured
ahcisata0 at pci0 dev 23 function 0: Intel 82801HBM SATA RAID Controller (rev. 0x30)
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.31, 1 port, 32 slots, CAP 0xe534ff00<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SALP,SSNTF,SNCQ,S64A>
ahcisata0: interrupting at msix1 vec 0
atabus0 at ahcisata0 channel 0
dwiic1 at pci0 dev 25 function 0autoconfiguration error: : can't map register space
sdhc1 at pci0 dev 26 function 0: Intel 495 Series eMMC (rev. 0x30)
sdhc1: interrupting at ioapic0 pin 16
sdhc1: SDHC 3.0, rev 16, caps <546ec881/80000807>, SDMA, 200000 kHz, embedded slot, HS SDR50 DDR50 SDR104 HS200 1.8V, re-tuning mode 1 (128s timer), 2048 byte blocks
sdmmc1 at sdhc1 slot 0
ppb0 at pci0 dev 29 function 0: Intel 495 Series PCIe Root Port 9 (rev. 0x30)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
ppb0: link is 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. 0x15)
re0: interrupting at msix2 vec 0
re0: RTL8168H/8111H (0x5400)
re0: Ethernet address 48:9e:bd:f3:68:7b
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 29 function 1: Intel 495 Series PCIe Root Port 10 (rev. 0x30)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
ppb1: link is x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
Realtek Semiconductor RTL8821CE 802.11ac PCIe NIC (miscellaneous network) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 29 function 4: Intel 495 Series PCIe Root Port 13 (rev. 0x30)
ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
nvme0 at pci3 dev 0 function 0: vendor 1c5c product 1339 (rev. 0x00)
nvme0: NVMe 1.3
nvme0: for admin queue interrupting at msix3 vec 0
nvme0: SK hynix BC511 HFM512GDJTNI-82A0A, firmware HPS0, serial NYA4N01191020451Z
nvme0: for io queue 1 interrupting at msix3 vec 1 affinity to cpu0
nvme0: for io queue 2 interrupting at msix3 vec 2 affinity to cpu1
nvme0: for io queue 3 interrupting at msix3 vec 3 affinity to cpu2
nvme0: for io queue 4 interrupting at msix3 vec 4 affinity to cpu3
nvme0: for io queue 5 interrupting at msix3 vec 5 affinity to cpu4
nvme0: for io queue 6 interrupting at msix3 vec 6 affinity to cpu5
nvme0: for io queue 7 interrupting at msix3 vec 7 affinity to cpu6
nvme0: for io queue 8 interrupting at msix3 vec 8 affinity to cpu7
ld0 at nvme0 nsid 1
ld0: 476 GB, 62260 cyl, 255 head, 63 sec, 512 bytes/sect x 1000215216 sectors
Intel 495 Series UART 0 (miscellaneous communications, revision 0x30) at pci0 dev 30 function 0 not configured
pcib0 at pci0 dev 31 function 0: Intel 495 Series U Premium eSPI (rev. 0x30)
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdaudio0: interrupting at msi4 vec 0
hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
hdafg0 at hdaudio0: vendor 10ec product 0236
hdafg0: DAC00 2ch: Speaker [Built-In]
hdafg0: ADC01 2ch: Mic In [Jack]
hdafg0: ADC02 2ch: Mic In [Built-In]
hdafg0: DAC03 2ch: HP Out [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 280f
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ichsmb0 at pci0 dev 31 function 4: Intel 495 Series SMBus (rev. 0x30)
ichsmb0: interrupting at ioapic0 pin 16
iic0 at ichsmb0: I2C bus
Intel 495 Series SPI (FLASH) (miscellaneous serial bus, revision 0x30) at pci0 dev 31 function 5 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
spkr1 at pcppi0: PC Speaker
wsbell at spkr1 not configured
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 253 us, pow   200 mW
acpicpu0: C3: FFH, lat 1048 us, pow   200 mW
acpicpu0: P0: FFH, lat  10 us, pow 15000 mW, 1201 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow 15000 mW, 1200 MHz
acpicpu0: P2: FFH, lat  10 us, pow 13494 mW, 1100 MHz
acpicpu0: P3: FFH, lat  10 us, pow 12167 mW, 1000 MHz
acpicpu0: P4: FFH, lat  10 us, pow 10868 mW,  900 MHz
acpicpu0: P5: FFH, lat  10 us, pow  9453 mW,  800 MHz
acpicpu0: P6: FFH, lat  10 us, pow  8211 mW,  700 MHz
acpicpu0: P7: FFH, lat  10 us, pow  6997 mW,  600 MHz
acpicpu0: P8: FFH, lat  10 us, pow  5670 mW,  500 MHz
acpicpu0: P9: FFH, lat  10 us, pow  4509 mW,  400 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
acpicpu2 at cpu2: ACPI CPU
coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=100
acpicpu3 at cpu3: ACPI CPU
coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=100
acpicpu4 at cpu4: ACPI CPU
acpicpu5 at cpu5: ACPI CPU
acpicpu6 at cpu6: ACPI CPU
acpicpu7 at cpu7: ACPI CPU
cpu0: CPU base freq 1200000000 Hz
cpu0: CPU max freq 3600000000 Hz
cpu0: TSC freq CPUID 1190400000 Hz
cpu0: TSC freq calibrated 1190405000 Hz
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1190405000 Hz quality 3000
acpibat0: COMPAL  LION rechargeable battery
acpibat0: granularity: low->warn 0.264 Wh, warn->full 3.780 Wh
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: 12 ports with 12 removable, self powered
acpiacad0: AC adapter online.
ld0: GPT GUID: d5ee3dd2-c211-4c3b-a403-06672d0ebfcb
dk0 at ld0: "f39f49c0-9c5a-44c4-9733-dc5a359def5f", 262144 blocks at 2048, type: msdos
dk1 at ld0: "5bdc51d1-a836-4c5d-8c4b-5836068e1b04", 966844416 blocks at 264192, type: ffs
dk2 at ld0: "94f47181-52b6-4eeb-81ef-186f316b42f9", 33106575 blocks at 967108608, type: swap
IPsec: Initialized Security Association Processing.
aes: Intel AES-NI
chacha: x86 SSE2 ChaCha
sdmmc1: autoconfiguration error: couldn't enable card: 60
uvideo0 at uhub1 port 5 configuration 1 interface 0: DLEQNA1TGF950C (0x30c9) HP TrueVision HD Camera (0x0035), rev 2.01/0.03, addr 1
video0 at uvideo0: DLEQNA1TGF950C (0x30c9) HP TrueVision HD Camera (0x0035), rev 2.01/0.03, addr 1
ubt0 at uhub1 port 10
ubt0: Realtek (0x0bda) Bluetooth Radio (0xb00a), rev 1.10/1.10, addr 2
ahcisata0 port 0: PHY offline
WARNING: 4 errors while detecting hardware; check system log.
boot device: ld0
root on dk1 dumps on dk2
root file system type: ffs
kern.module.path=/stand/amd64/9.99.92/modules
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)


>How-To-Repeat:
n/a

>Fix:
n/a

>Audit-Trail:
From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/56534: uefiboot hangs when countdown should start
Date: Mon, 6 Dec 2021 06:47:44 +0000 (UTC)

 On Fri, 3 Dec 2021, martin@NetBSD.org wrote:

 > Sometimes (but not always) when booting this machine the UEFI booloader
 > hangs - it shows the flag and the menu, and the countdown line, but the
 > countdown does not start ticking. The cursor is frozen at the end of the
 > countdown line.
 >

 This sounds like an UEFI firmware issue (maybe update/reflash it?).
 Can you:

 a) Set `EFI_INPUT_KEY key = { 0 };' so that a known key is always
     returned (sys/arch/i386/stand/efiboot/eficons.c:245); and more
     pertinently,

 b) Add a printf after WaitForSingleEvent() (same file, lines 257,301) to
     see if the bootloader comes out of those calls (esp. after 301) in the
     "hanging" case?

 -RVP

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.