December 6, 2022 4:14 PM, "Mihai Popescu" <mih...@gmail.com> wrote:

> Hello,
> 
> Just a post for the users: since my computer refused to boot anymore
> in UEFI mode after install from snapshots, but it was able to do it
> from previous snapshots, i switched to Legacy BIOS and used it like
> that. I tested with Debian in UEFI mode and it was fine. I asked on
> the misc@, i contacted the developers with CVS commits for efi and
> acpi, zero answers. Today, i gave it a try for UEFI with the most
> recent amd64 OpenBSD snapshot. I repeated the boot sequence two times,
> no success, then the computer went completly dead - no BIOS access, no
> boot, no video output. Tried everything to reset BIOS and to recover
> it, no luck. Rest in pieces!
> 
> For the curious, here are some postmortem data:
> 
> UEFI boot sequence after (old) install:
> 
> [ using 3299768 bytes of bsd ELF symbol table ]
> OpenBSD 7.2-current (GENERIC.MP) #819: Thu Oct 27 20:41:32 MDT 2022
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 7711522816 (7354MB)
> avail mem = 7460280672 (7114MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe86ed (64 entries)
> bios0: vendor Hewlett-Packard version "K06 v02.77" date 03/22/2018
> bios0: Hewlett-Packard HP Compaq Pro 6305 SFF
> efi0 at bios0: UEFI 2.3.1
> efi0: American Megatrends rev 0x4028d
> 
>>> boot sequence stuck here <<<
> 
> The dmesg (old) from Legacy mode and MBR disk:
> 
> OpenBSD 7.2-current (GENERIC.MP) #819: Thu Oct 27 20:41:32 MDT 2022
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 7711543296 (7354MB)
> avail mem = 7460421632 (7114MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe86ed (64 entries)
> bios0: vendor Hewlett-Packard version "K06 v02.77" date 03/22/2018
> bios0: Hewlett-Packard HP Compaq Pro 6305 SFF
> acpi0 at bios0: ACPI 5.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT MSDM TCPA IVRS SSDT SSDT CRAT
> acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) PE20(S4)
> PE21(S4) PE22(S4) BNIC(S4) PE23(S4) BR12(S4) BR14(S4) OHC1(S3)
> EHC1(S3) OHC2(S3) EHC2(S3) OHC3(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 16 (boot processor)
> cpu0: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.15 MHz, 15-10-01
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,M
> \
> MX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,
> \
> AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MA
> \
> 
> SSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1,IBPB
> 
> cpu0: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache, 2MB
> 64b/line 16-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 17 (application processor)
> cpu1: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.05 MHz, 15-10-01
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,M
> \
> MX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,
> \
> AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MA
> \
> 
> SSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1,IBPB
> 
> cpu1: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache, 2MB
> 64b/line 16-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 18 (application processor)
> cpu2: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.05 MHz, 15-10-01
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,M
> \
> MX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,
> \
> AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MA
> \
> 
> SSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1,IBPB
> 
> cpu2: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache, 2MB
> 64b/line 16-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 19 (application processor)
> cpu3: AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.05 MHz, 15-10-01
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,M
> \
> MX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,
> \
> AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MA
> \
> 
> SSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1,IBPB
> 
> cpu3: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache, 2MB
> 64b/line 16-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf0000000, bus 0-63
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (BR13)
> acpiprt2 at acpi0: bus -1 (BR15)
> acpiprt3 at acpi0: bus -1 (BR16)
> acpiprt4 at acpi0: bus -1 (BR17)
> acpiprt5 at acpi0: bus 1 (P0PC)
> acpiprt6 at acpi0: bus 2 (PE20)
> acpiprt7 at acpi0: bus -1 (PE21)
> acpiprt8 at acpi0: bus 3 (PE22)
> acpiprt9 at acpi0: bus -1 (PE23)
> acpiprt10 at acpi0: bus -1 (BR12)
> acpiprt11 at acpi0: bus -1 (BR14)
> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> acpicmos0 at acpi0
> com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
> tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x10000, Infineon SLB9635
> 1.2 rev 0x10
> acpibtn0 at acpi0: PWRB
> "PNP0C14" at acpi0 not configured
> acpicpu0 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> acpicpu1 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> acpicpu2 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> acpicpu3 at acpi0: C2(0@100 io@0x1771), C1(@1 halt!), PSS
> cpu0: 3194 MHz: speeds: 3200 2900 2600 2200 1800 1400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD 15/1xh Host" rev 0x00
> "AMD 15/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 7560D" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x9902
> rev 0x00: msi
> azalia0: no supported codecs
> xhci0 at pci0 dev 16 function 0 "AMD Hudson-2 xHCI" rev 0x03: msi, xHCI 0.96
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev
> 3.00/1.00 addr 1
> xhci1 at pci0 dev 16 function 1 "AMD Hudson-2 xHCI" rev 0x03: msi, xHCI 0.96
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev
> 3.00/1.00 addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> ahci0: port 2: 1.5Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, ST250DM000-1BD14, KC47> 
> naa.5000c5006520feaf
> sd0: 238475MB, 512 bytes/sector, 488397168 sectors
> cd0 at scsibus1 targ 2 lun 0: <hp, DVD D DH16D7SH, WHH3> removable
> ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 5
> int 18, version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 5 int 17
> usb2 at ehci0: USB revision 2.0
> uhub2 at usb2 configuration 1 interface 0 "AMD EHCI root hub" rev
> 2.00/1.00 addr 1
> ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 5
> int 18, version 1.0, legacy support
> ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 5 int 17
> usb3 at ehci1: USB revision 2.0
> uhub3 at usb3 configuration 1 interface 0 "AMD EHCI root hub" rev
> 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x14: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800
> spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800
> azalia1 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01:
> apic 5 int 16
> azalia1: codecs: Realtek ALC221
> audio0 at azalia1
> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
> ppb0 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40
> pci1 at ppb0 bus 1
> ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 5
> int 18, version 1.0, legacy support
> ppb1 at pci0 dev 21 function 0 "AMD Hudson-2 PCIE" rev 0x00
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 21 function 2 "AMD Hudson-2 PCIE" rev 0x00
> pci3 at ppb2 bus 3
> bge0 at pci3 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1
> (0x5761100): msi, address 2c:44:fd:20:36:fb
> brgphy0 at bge0 phy 1: BCM5761 10/100/1000baseT PHY, rev. 0
> pchb1 at pci0 dev 24 function 0 "AMD 15/1xh Link Cfg" rev 0x00
> pchb2 at pci0 dev 24 function 1 "AMD 15/1xh Address Map" rev 0x00
> pchb3 at pci0 dev 24 function 2 "AMD 15/1xh DRAM Cfg" rev 0x00
> km0 at pci0 dev 24 function 3 "AMD 15/1xh Misc Cfg" rev 0x00
> pchb4 at pci0 dev 24 function 4 "AMD 15/1xh CPU Power" rev 0x00
> pchb5 at pci0 dev 24 function 5 "AMD 15/1xh NB Power" rev 0x00
> usb4 at ohci0: USB revision 1.0
> uhub4 at usb4 configuration 1 interface 0 "AMD OHCI root hub" rev
> 1.00/1.00 addr 1
> usb5 at ohci1: USB revision 1.0
> uhub5 at usb5 configuration 1 interface 0 "AMD OHCI root hub" rev
> 1.00/1.00 addr 1
> 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
> lpt0 at isa0 port 0x378/4 irq 7
> usb6 at ohci2: USB revision 1.0
> uhub6 at usb6 configuration 1 interface 0 "AMD OHCI root hub" rev
> 1.00/1.00 addr 1
> vmm0 at mainbus0: SVM/RVI
> uvideo0 at uhub0 port 3 configuration 1 interface 0 " Webcam C170" rev
> 2.00/28.25 addr 2
> video0 at uvideo0
> uaudio0 at uhub0 port 3 configuration 1 interface 3 " Webcam C170" rev
> 2.00/28.25 addr 2
> uaudio0: class v1, high-speed, sync, channels: 0 play, 1 rec, 2 ctls
> audio1 at uaudio0
> uhidev0 at uhub4 port 1 configuration 1 interface 0 "Genius USB
> Optical Mouse" rev 2.00/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub4 port 2 configuration 1 interface 0 "SIGMACH1P USB
> Keykoard" rev 1.10/1.10 addr 3
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> uhidev2 at uhub4 port 2 configuration 1 interface 1 "SIGMACH1P USB
> Keykoard" rev 1.10/1.10 addr 3
> uhidev2: iclass 3/0, 2 report ids
> ucc0 at uhidev2 reportid 1: 573 usages, 18 keys, array
> wskbd2 at ucc0 mux 1
> uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (14e37981d8155b7b.a) swap on sd0b dump on sd0b
> radeondrm0: ARUBA
> radeondrm0: 1680x1050, 32bpp
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wskbd2: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)

Hello,

Did you try removing all HDDs/SSDs/storage mediums and booting without those?
I encountered more than one buggy BIOS/firmware in the past, which froze when 
reading something they didn't like on disk.
Simply rewriting the first couple megs at the begining and end of the disk with 
0's (clearing the GPT/backup GPT or any other type of partitionning) is usually 
enough for the computer to boot back with it connected.

Best,
Mickael

Reply via email to