summary: OpenBSD installs to internal HDD from external USB but fails to load after the first reboot. If the HDD is removed from the internal port and is connected via a "SATA to USB" cable it boots succesfully.
I am a new and inexperienced user, excuse my ignorance. All the details and things I have tried so far: -All relevant UEFI options configured to legacy mode. -minirootXX.fs copied to USB using rufus. -USB boot using legacy mode. -In install: whole disk mbr-auto config. -After reboot DELL logo is displayed 3 times. On the 3rd time it stays static. --Using gpt format instead results in an infinite boot loop. -Starting UEFI-menu(f2) or diagnostics(f5) or boot-menu(f12) appear to initiate but then stay static. The UEFI appears to be completely "bricked". There is no way to proceed. --Resetting UEFI using CMOS and booting with the HDD in internal port still renders UEFI "bricked" although it gives a PXE option because it is enabled by default in the now reset UEFI. --Merely performing a "clean" on diskpart(win7) to the HDD and plugging it back "unbricks" the UEFI. --Merely removing the HDD "unbricks" the UEFI. -Connecting HDD using "SATA to USB" cable(even without CMOS reset) works and OpenBSD boots. -Installing Windows 7(in the same manner OpenBSD was) works and boots from the internal SATA port. Deduction: There seems to be something not allowing OpenBSD to boot from the internal SATA port, in addition to it rendering the laptop unusable until the HDD is removed, cleaned or connected via USB port. I have taken the time to write all the UEFI configuration I use. Please check it if you think the problem stems from there. hardware: DELL Latitude e5440 platform: amd64 UEFI version:A24 [X]checked [ ]not checked -General --System information --Battery Information --Boot Sequence Sequence: [X]Internal HDD [X]Diskette Drive [X]USB Storage [X]CD/DVD/CD-RW Drive [X]Onboard NIC Boot List Option: [X]Legacy [ ]UEFI --Advanced Boot Options [X]Enable Legacy Option ROMs --Date/Time -System Configuration --Integrated NIC [ ]Enable UEFI Network Stack [ ]Disabled [X]Enabled [ ]Enabled w/PXE --Parallel Port [ ]Disabled [X]AT [ ]PS2 [ ]ECP --Serial Port [ ]Disabled [X]COM1 [ ]COM2 [ ]COM3 [ ]Com4 --SATA Operation [ ]Disabled [X]AHCI [ ]RAID On --Drives [X]SATA-0 [X]SATA-1 [X]SATA-2 [X]SATA-3 --SMART Reporting [X]Enable SMART Reporting --USB Configuration [X]Enable Boot Support [X]Enable External USB Port [X]Enable USB3.0 Controller --Audio [X]Enable Audio --Unobtrusive Mode [ ]Enable Unobtrusive Mode --Miscellaneous Devices [X]Enable Microphone [X]Enable Camera [X]Enable ExpressCard [X]Enable Hard Drive Free Fall Protection [X]Enable Media Card [ ]Disable Media Card -Video --LCD Brightness -Security --Admin Password Not Set --System Password Not Set --Strong Password [ ]Enable Strong Password --Password Configuration --Password Bypass [X]Diabled [ ]Reboot Bypass --Password Change [X]Allow Non-Admin Password Changes --Non-Admin Setup Changes [ ]Allow Wireless Switch Changes --TPM Security [ ]TPM Security --Computrace(R) [X]Deactivate [ ]Disable [ ]Activate --CPU XD Support [X]Enable CPU XD Support --OROM Keyboard Access [X]Enable [ ]One Time Enable [ ]Disable --Admin Setup Lockout [ ]Enable Admin Setup Lockout --Master Password Lockout [ ]Enable Master Password Lockout -Secure Boot --Secure Boot Enable [X]Disabled [ ]Enabled --Export Key Management [ ]Enable Custom Mode -Performance --Multi Core Support [X]All [ ]1 [ ]2 --Intel SpeedStep [X]Enable Intel SpeedStep --C-States Control [X]C states --Intel TurboBoost [X]Enable Intel TurboBoost --HyperThread control [ ]Disabled [X]Enabled --Rapid Start Technology disabled -Power Management --AC Behavior [ ]Wake On AC --Auto On Time [X]Disabled [ ]Every Day [ ]Weekdays [ ]Select Days --USB Wake Support [ ]Enable USB Wake Support --Wireless Radio Control [ ]Control WLAN radio [ ]Control WWAN radio --Wake on LAN/WLAN [X]Disabled [ ]LAN Only [ ]WLAN Only [ ]LAN or WLAN --Block Sleep [ ]Block Sleep(S3 State) --Peak Shift [ ]Enable Peak Shift --Advanced Battery Charge Configuration [ ]Enable Advanced Battery Charge Mode --Primary Battery Charge Configuration [ ]Adaptive [ ]Standard [ ]ExpressCharge [X]Primarily AC Use [ ]Custom --Battery Slice Charge Configuration [X]Standard [ ]ExpressCharge --Intel(R) Smart Connect Technology disabled -POST Behavior --Adapter Warnings [X]Enable Adapter Warnings --Keypad(Embedded) [x]Fn Key Only [ ]By Numlock --Mouse/Touchpad [ ]Serial Mouse [ ]PS2 Mouse [X]Touchpad/PS-2 Mouse --Numlock Enable [X]Enable Numlock --Fn Key Emulation [X]Enable Fn Key Emulation --MEBx Hotkey [X]Enable MEBx Hotkey --Fastboot [ ]Minimal [X]Thorough [ ]Auto --Extend BIOS POST Time [X]0seconds [ ]5seconds [ ]10seconds -Virtualization Supoort --Virtualization [X]Enable Intel Virtualization Technology --VT for Direct I/O [X]Enable VT for Direct I/O --Trusted Execution disabled -Wireless --Wireless Switch [X]WWAN [X]WLAN [X]WiGig [X]Bluetooth --Wireless Device Enable [X]WWAN [X]Bluetooth [X]WLAN/WiGig -Maintenance --Service Tag --Asset Tag --BIOS Downgrade [X]Allow BIOS Downgrade -System Logs --BIOS Events --Thermal Events --Power Events ------------------------------------------------------------------- dmesg from the successful boot over USB port: OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8474370048 (8081MB) avail mem = 8204832768 (7824MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xecb60 (95 entries) bios0: vendor Dell Inc. version "A24" date 06/13/2019 bios0: Dell Inc. Latitude E5440 acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT SLIC LPIT SSDT SSDT SSDT SSDT HPET SSDT MCFG ASF! MSDM DMAR acpi0: wakeup devices RP01(S4) PXSX(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S0) EHC2(S0) XHC_(S0) HDEF(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) i5-4310U CPU @ 2.00GHz, 2694.15 MHz, 06-45-01 cpu0: 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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 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.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz, 2693.78 MHz, 06-45-01 cpu1: 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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz, 2693.78 MHz, 06-45-01 cpu2: 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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz, 2693.78 MHz, 06-45-01 cpu3: 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,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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 40 pins acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 acpimcfg0: addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP04) acpiprt3 at acpi0: bus 3 (RP05) acpiprt4 at acpi0: bus -1 (PEG0) acpiprt5 at acpi0: bus -1 (PEG1) acpiprt6 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 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 acpitz0 at acpi0: critical temperature is 107 degC acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 acpicmos0 at acpi0 "SMO8810" at acpi0 not configured "*pnp0c14" at acpi0 not configured acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "DELL CXF6649" serial 33778 type LION oem "Samsung SDI" acpibat1 at acpi0: BAT1 not present "DELLABCE" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD_ cpu0: using VERW MDS workaround (except on vmm entry) cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2000, 1900, 1800, 1600, 1500, 1400, 1200, 1100, 1000, 800, 754 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x0b inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b drm0 at inteldrm0 inteldrm0: msi azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x0b: 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 em0 at pci0 dev 25 function 0 "Intel I218-LM" rev 0x04: msi, address 34:e6:d7:2a:81:73 azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia1: codecs: Realtek ALC292 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4: msi pci1 at ppb0 bus 1 sdhc0 at pci1 dev 0 function 0 vendor "O2 Micro", unknown product 0x8520 rev 0x01: apic 8 int 16 sdhc0: SDHC 4.0, 50 MHz base clock sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi pci2 at ppb1 bus 2 iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0x73, msi ppb2 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi pci3 at ppb2 bus 3 ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 8 int 21 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 pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 2: 1.5Gb/s scsibus1 at ahci0: 32 targets cd0 at scsibus1 targ 2 lun 0: <MATSHITA, DVD+-RW UJ8FB, 1.02> removable ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 8 int 17 iic0 at ichiic0 iic0: addr 0x29 0f=33 10=01 11=ac 12=b7 13=52 14=b1 15=31 16=1a 17=1f 18=20 19=80 1a=70 1b=74 1c=c0 1e=20 20=07 22=40 2f=20 30=95 32=0e 33=16 8f=33 90=01 91=ac 92=b7 93=52 94=b1 95=31 96=1a 97=1f 98=20 99=80 9a=70 9b=74 9c=c0 9e=20 a0=07 a2=40 af=20 b0=95 b2=0e b3=16 words 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM 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 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT umass0 at uhub0 port 2 configuration 1 interface 0 "Generic USB Mass Storage Device" rev 2.00/2.20 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd0 at scsibus2 targ 1 lun 0: <Mass, Storage Device, 0 0> serial.14cd6116116AC2101219 sd0: 305245MB, 512 bytes/sector, 625142446 sectors uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT Inc Laptop_Integrated_Webcam_HD" rev 2.00/35.03 addr 3 video0 at uvideo0 uhub3 at uhub2 port 8 configuration 1 interface 0 "Standard Microsystems product 0x2514" rev 2.00/2.23 addr 4 ugen0 at uhub3 port 2 "Intel product 0x07dc" rev 2.00/0.01 addr 5 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (012c3a66a24fd32f.a) swap on sd0b dump on sd0b inteldrm0: 1366x768, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwm0: could not read firmware iwm-7260-16 (error 2) iwm0: failed to load init firmware