>Synopsis:      "sysupgrade", "installboot -c" and "doas efivar -l" cause 
>hangup of HP ProDesk 600 G1
>Category:      amd64
>Environment:
        System      : OpenBSD 7.7
        Details     : OpenBSD 7.7 (GENERIC.MP) #0: Sun May  4 11:23:50 MDT 2025
                         
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        The "-c" flag of installboot(8) and the "-l" flag of efivar(1)
        (executed as root) are incompatible with the UEFI implementation
        of the BIOS of HP ProDesk 600 G1. They cause a full hangup. Only
        a long press of the "Power" button helps then (i.e. a power-off)
        since the keyboard and/or the mouse "freeze" (i.e. stop working).
>How-To-Repeat:
        On a HP ProDesk 600 G1, from OpenBSD 7.6, execute "sysupgrade".
        It hangs after "Making all device nodes... done". The same occurs
        when installing or upgrading to 7.7 from installation media. The
        cause turned out to be the new "-c" flag of installboot(8).
        Executing "doas efivar -l" on this PC causes the same hangup.
>Fix:
        Replace the "installboot -cr" command in the md_installboot()
        function in "install.md" with "installboot -r" (i.e. remove the
        "-c" flag). IMHO, this flag must be removed from md_installboot()
        to prevent hangups on such PCs in the future when users who are
        not aware of this issue try to install or upgrade to OpenBSD 7.7.
        See http://daemonforums.org/showthread.php?t=12763 for more info.


dmesg:
OpenBSD 7.7 (GENERIC.MP) #0: Sun May  4 11:23:50 MDT 2025
    
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 25633894400 (24446MB)
avail mem = 24830246912 (23679MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe8551 (73 entries)
bios0: vendor Hewlett-Packard version "L01 v02.77" date 04/17/2019
bios0: Hewlett-Packard HP ProDesk 600 G1 TWR
efi0 at bios0: UEFI 2.3.1
efi0: American Megatrends rev 0x4028e
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT SLIC 
MSDM ASF! TCPA
acpi0: wakeup devices PS2K(S3) PS2M(S3) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) 
PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) 
HDEF(S4) PEG0(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3591.98 MHz, 06-3c-03, patch 
00000028
cpu0: cpuid 1 
edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
ecx=77fafbff<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
cpu0: cpuid 6 eax=77<SENSOR,ARAT> ecx=9<EFFFREQ>
cpu0: cpuid 7.0 ebx=27ab<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID> 
edx=9c000600<SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD>
cpu0: cpuid a vers=3, gp=4, gpwidth=48, ff=3, ffwidth=48
cpu0: cpuid d.1 eax=1<XSAVEOPT>
cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=21<LAHF,ABM>
cpu0: cpuid 80000007 edx=100<ITSC>
cpu0: MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 
8-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3591.90 MHz, 06-3c-03, patch 
00000028
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3591.88 MHz, 06-3c-03, patch 
00000028
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3591.99 MHz, 06-3c-03, patch 
00000028
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592.17 MHz, 06-3c-03, patch 
00000028
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592.12 MHz, 06-3c-03, patch 
00000028
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592.24 MHz, 06-3c-03, patch 
00000028
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592.31 MHz, 06-3c-03, patch 
00000028
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiec0 at acpi0: not present
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
"PNP0303" at acpi0 not configured
"PNP0F03" at acpi0 not configured
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x5000, Infineon SLB9635 1.2 rev 
0x10
acpibtn0 at acpi0: PWRB(wakeup)
"PNP0C14" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu4 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu5 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu6 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu7 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0
acpitz0: critical temperature is 105 degC
acpitz1 at acpi0
acpitz1: critical temperature is 105 degC
acpivideo0 at acpi0: PEG0
acpivideo1 at acpi0: VGA_
acpivout0 at acpivideo1: LCD_
acpivideo2 at acpi0: GFX0
acpivout1 at acpivideo2: DD1F
acpivout2 at acpivideo2: LCD_
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 3591 MHz: speeds: 3601, 3600, 3400, 3200, 3000, 2800, 
2600, 2400, 2200, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
nvme0 at pci1 dev 0 function 0 unknown vendor 0x1e4b product 0x1202 rev 0x01: 
msix, NVMe 1.4
nvme0: Apacer AS2280P4 256GB, firmware SN12221, serial PBV065A014728
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, Apacer AS2280P4, SN12>
sd0: 244198MB, 512 bytes/sector, 500118192 sectors
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi, HASWELL, gen 7
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
azalia0: No codecs found
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 8 Series KT" rev 0x04: ports: 16 com
com4 at puc0 port 0 apic 8 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x04: msi, address 
40:a8:f0:63:4f:9f
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x04: apic 8 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi
azalia1: codecs: Realtek ALC221
audio0 at azalia1
ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 8 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
pcib0 at pci0 dev 31 function 0 "Intel Q85 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 1.5Gb/s
ahci0: port 2: 6.0Gb/s
ahci0: port 3: 6.0Gb/s
scsibus2 at ahci0: 32 targets
sd1 at scsibus2 targ 0 lun 0: <ATA, ADATA SU800, R090> naa.5707c1810092d055
sd1: 488386MB, 512 bytes/sector, 1000215216 sectors, thin
cd0 at scsibus2 targ 1 lun 0: <TSSTcorp, CD/DVDW TS-H653A, LX00> removable
sd2 at scsibus2 targ 2 lun 0: <ATA, ADATA SU650, S210> naa.5000000000000000
sd2: 228936MB, 512 bytes/sector, 468862128 sectors, thin
sd3 at scsibus2 targ 3 lun 0: <ATA, ST500DM002-1BD14, HP74> naa.5000c5006779a76f
sd3: 476940MB, 512 bytes/sector, 976773168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 8 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-12800
spdmem2 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-12800
spdmem3 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-12800
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
uchcom0 at uhub0 port 3 configuration 1 interface 0 "QinHeng Electronics 
USB2.0-Ser!" rev 1.10/2.54 addr 2
uchcom0: CH341
ucom0 at uchcom0: usb0.0.00003.0
uvideo0 at uhub0 port 11 configuration 1 interface 0 "Generic USB2.0 PC CAMERA" 
rev 2.00/1.00 addr 3
video0 at uvideo0
uaudio0 at uhub0 port 11 configuration 1 interface 3 "Generic USB2.0 PC CAMERA" 
rev 2.00/1.00 addr 3
uaudio0: class v1, high-speed, sync, channels: 0 play, 1 rec, 2 ctls
audio1 at uaudio0
uhidev0 at uhub0 port 12 configuration 1 interface 0 "PixArt HP USB Optical 
Mouse" rev 2.00/1.00 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
umass0 at uhub0 port 16 configuration 1 interface 0 "Transcend ESD310C" rev 
3.20/1.00 addr 5
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd4 at scsibus3 targ 1 lun 0: <ESD310C, TS256GESD310C, 1000> 
serial.21742100J19384920042
sd4: 244198MB, 512 bytes/sector, 500118192 sectors
umass1 at uhub0 port 17 configuration 1 interface 0 "Transcend ESD310C" rev 
3.20/1.00 addr 6
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd5 at scsibus4 targ 1 lun 0: <ESD310C, TS128GESD310C, 1000> 
serial.21742100J010448D0133
sd5: 122104MB, 512 bytes/sector, 250069680 sectors
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.04 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.04 addr 2
vscsi0 at root
scsibus5 at vscsi0: 256 targets
softraid0 at root
scsibus6 at softraid0: 256 targets
root on sd5a (c5fe7a75bc6bceb4.a) swap on sd5b dump on sd5b
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

usbdevs:
Controller /dev/usb0:
addr 01: 8086:0000 Intel, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 1a86:7523 QinHeng Electronics, USB2.0-Ser!
         full speed, power 96 mA, config 1, rev 2.54
         driver: uchcom0
addr 03: 1908:2310 Generic, USB2.0 PC CAMERA
         high speed, power 256 mA, config 1, rev 1.00
         driver: uvideo0
         driver: uaudio0
addr 04: 03f0:134a PixArt, HP USB Optical Mouse
         low speed, power 100 mA, config 1, rev 1.00
         driver: uhidev0
addr 05: 2174:2100 Transcend, ESD310C
         super speed, power 224 mA, config 1, rev 1.00, iSerial 
CF0511ABJ19384920042
         driver: umass0
addr 06: 2174:2100 Transcend, ESD310C
         super speed, power 224 mA, config 1, rev 1.00, iSerial 
AC33429EJ010448D0133
         driver: umass1
Controller /dev/usb1:
addr 01: 8086:0000 Intel, EHCI root hub
         high speed, self powered, config 1, rev 1.00
         driver: uhub1
addr 02: 8087:8008 Intel, Rate Matching Hub
         high speed, self powered, config 1, rev 0.04
         driver: uhub3
Controller /dev/usb2:
addr 01: 8086:0000 Intel, EHCI root hub
         high speed, self powered, config 1, rev 1.00
         driver: uhub2
addr 02: 8087:8000 Intel, Rate Matching Hub
         high speed, self powered, config 1, rev 0.04
         driver: uhub4

Reply via email to