Hey misc@, I tried installing OpenBSD on our (previously FreeBSD 9.2 later 10.0) server the other day and ran into a weird issue.
Boot and installation of my (emulated) install55.iso worked fine, but once installed, I'm not able to pass the (AHCI or IDE) BIOS drive check. What I mean by that is that the boot process is stuck at Debug LED code a2 (or a3 for IDE) and it's not even possible to enter the BIOS setup with the drive attached. The motherboard is a 1150 ASRock server motherboard (C226 WS) with a AMI UEFI BIOS. There is this weird legacy support module called CSM which I never heared about and wasn't able t dig alot of information up. I followed the BIOS' guide on resolving these kinds of issues (essentally clearing CMOS and updating the BIOS), with no success. Additionally I fiddled with every drive- or boot-related knob there is. I tried installing amd64 and i386, to both SSD and later HDD, booted the installed drives on systems currently running OpenBSD, tried booting my existing SNAPSHOT installation. Everything is working everywhere except on the server motherboard. My questions to you are: Has anybody ran into similar issues and was able to resolve them? Do you think this is a OpenBSD related issue and actually solveable (in a reasonable amount of time)? Swaping the motherboard is currently no option, so I'm thankfull for every hint. Adrian OpenBSD 5.5 (RAMDISK_CD) #237: Wed Mar 5 09:43:42 MST 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 16801812480 (16023MB) avail mem = 16349593600 (15592MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe98f0 (31 entries) bios0: vendor American Megatrends Inc. version "P2.30" date 04/23/2014 bios0: ASRock C226 WS acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT AAFT SSDT SSDT MCFG HPET SSDT SSDT ASF! BGRT EINJ ERST HEST BERT acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz, 3400.42 MHz 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP02) acpiprt3 at acpi0: bus 3 (RP03) acpiprt4 at acpi0: bus 4 (RP04) acpiprt5 at acpi0: bus 5 (BR21) acpiprt6 at acpi0: bus 7 (BR34) acpiprt7 at acpi0: bus 8 (BR35) acpiprt8 at acpi0: bus 9 (BR36) acpiprt9 at acpi0: bus 10 (BR37) acpiprt10 at acpi0: bus 11 (BR38) acpiprt11 at acpi0: bus 12 (BR40) acpiprt12 at acpi0: bus 13 (BR39) acpiprt13 at acpi0: bus -1 (P0P2) acpiprt14 at acpi0: bus -1 (P0PA) acpiprt15 at acpi0: bus -1 (P0PB) acpiprt16 at acpi0: bus -1 (PEG0) acpiprt17 at acpi0: bus -1 (PEG1) acpiprt18 at acpi0: bus -1 (PEG2) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Xeon E3-1200 v3 Host" rev 0x06 vga1 at pci0 dev 2 function 0 "Intel HD Graphics P4600" rev 0x06 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) "Intel Core 4G HD Audio" rev 0x06 at pci0 dev 3 function 0 not configured "Intel 8 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel 8 Series HD Audio" rev 0x04 at pci0 dev 27 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd4: msi pci1 at ppb0 bus 1 ahci0 at pci1 dev 0 function 0 "Marvell 88SE9172 SATA" rev 0x11: msi, AHCI 1.0 scsibus0 at ahci0: 32 targets ppb1 at pci0 dev 28 function 1 "Intel 8 Series PCIE" rev 0xd4: msi pci2 at ppb1 bus 2 ahci1 at pci2 dev 0 function 0 "Marvell 88SE9172 SATA" rev 0x11: msi, AHCI 1.0 scsibus1 at ahci1: 32 targets ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd4: msi pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address bc:5f:f4:c7:d5:80 ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd4: msi pci4 at ppb3 bus 4 ppb4 at pci4 dev 0 function 0 vendor "PLX", unknown product 0x8608 rev 0xba pci5 at ppb4 bus 5 ppb5 at pci5 dev 1 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci6 at ppb5 bus 6 vendor "VIA", unknown product 0x3403 (class serial bus subclass Firewire, rev 0x01) at pci6 dev 0 function 0 not configured ppb6 at pci5 dev 4 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci7 at ppb6 bus 7 em1 at pci7 dev 0 function 0 "Intel I210" rev 0x03: msi, address bc:5f:f4:c7:d5:7e ppb7 at pci5 dev 5 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci8 at ppb7 bus 8 ppb8 at pci5 dev 6 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci9 at ppb8 bus 9 "ASMedia ASM1042 xHCI" rev 0x00 at pci9 dev 0 function 0 not configured ppb9 at pci5 dev 7 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci10 at ppb9 bus 10 ppb10 at pci5 dev 8 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci11 at ppb10 bus 11 ppb11 at pci11 dev 0 function 0 "ASMedia ASM1083/1085 PCIE-PCI" rev 0x03 pci12 at ppb11 bus 12 ppb12 at pci5 dev 9 function 0 vendor "PLX", unknown product 0x8608 rev 0xba: msi pci13 at ppb12 bus 13 ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel C226 LPC" rev 0x04 at pci0 dev 31 function 0 not configured "Intel 8 Series SMBus" rev 0x04 at pci0 dev 31 function 3 not configured isa0 at mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 uhub2 at uhub0 port 1 "vendor 0x8087 product 0x8008" rev 2.00/0.04 addr 2 uhub3 at uhub1 port 1 "vendor 0x8087 product 0x8000" rev 2.00/0.04 addr 2 umass0 at uhub3 port 3 configuration 1 interface 0 "ZALMAN ZM-VE300" rev 2.10/0.01 addr 3 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 cd0 at scsibus2 targ 1 lun 0: <ZALMAN, Virtual CD-Rom, > SCSI0 5/cdrom removable sd0 at scsibus2 targ 1 lun 1: <ZALMAN, External HDD, > SCSI4 0/direct fixed sd0: 114473MB, 512 bytes/sector, 234441648 sectors uhidev0 at uhub3 port 4 configuration 1 interface 0 "vendor 0x046a product 0x0023" rev 2.00/2.20 addr 4 uhidev0: iclass 3/1 ukbd0 at uhidev0 wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub3 port 4 configuration 1 interface 1 "vendor 0x046a product 0x0023" rev 2.00/2.20 addr 4 uhidev1: iclass 3/0, 2 report ids uhid at uhidev1 reportid 1 not configured uhid at uhidev1 reportid 2 not configured softraid0 at root scsibus3 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b