Hi,

I have problems booting OpenBSD from SATA hard drives with the ASUS P9D 
WS mainboard.

I've successfully verified that OpenBSD can boot with this mainboard 
since booting OpenBSD works without problems via USB (see dmesg).

However, OpenBSD doesn't boot from SATA hard drives at all (I've tested 
this with multiple SATA drives so it's definitely not a problem related 
to faulty drives). As soon as OpenBSD is installed on a SATA hard drive, 
the ASUS boot screen completely freezes such that it doesn't even reach 
the OpenBSD boot loader (diagnostic HDD LED shows a problem).

In particular, I did the following tests:
1) blank hard drive -> mainboard boots another disk/system without problems
2) SATA hard drive after fdisk -iy sd0 -> mainboard boots another 
disk/system without problems
3) SATA hard drive after creating partitions via disklabel (no 
installboot(8)) --> ASUS boot screen freezes
4) SATA hard drive with freshly installed OpenBSD current system (via 
CDROM) --> ASUS boot screen freezes

I suppose this is a (software) problem with the mainboard 
(BIOS/EFI/wtf...) and not with OpenBSD. So take this as a warning in 
case you're playing with the thought of buying this particular mainboard 
model for OpenBSD at this time. In case ASUS fixes this problem, I'll 
inform the list.

I haven't tried booting OpenBSD via grub yet - maybe this will work 
around the problem.

Did anyone experience similar problems in the past? Does anybody know a 
mainboard for Haswell E3-Xeons which works well with OpenBSD?

Best Regards
Andreas
dmesg after booting OpenBSD via USB stick:
OpenBSD 5.4-current (GENERIC.MP) #0: Sat Aug 24 11:04:26 CEST 2013
    root@test:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8508362752 (8114MB)
avail mem = 8273772544 (7890MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeba50 (87 entries)
bios0: vendor ASUSTeK COMPUTER INC. (Licensed from AMI) version "1205" date 
07/30/2013
bios0: ASUS All Series
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT MCFG HPET SSDT SSDT DMAR BGRT
acpi0: wakeup devices UAR1(S4) PS2K(S4) PS2M(S4) PXSX(S4) RP01(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) 
RP07(S4) PXSX(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) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.82 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: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
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,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
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
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,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
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
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,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
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
cpu4: 
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
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
cpu5: 
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
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
cpu6: 
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
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 3292.38 MHz
cpu7: 
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
cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (RP01)
acpiprt2 at acpi0: bus 7 (RP03)
acpiprt3 at acpi0: bus 8 (RP04)
acpiprt4 at acpi0: bus 1 (P0P2)
acpiprt5 at acpi0: bus 2 (P0PA)
acpiprt6 at acpi0: bus 3 (P0PB)
acpiprt7 at acpi0: bus 5 (RP02)
acpiprt8 at acpi0: bus 6 (PXSX)
acpiprt9 at acpi0: bus 1 (PEG0)
acpiprt10 at acpi0: bus 2 (PEG1)
acpiprt11 at acpi0: bus 3 (PEG2)
acpiec0 at acpi0: Failed to read resource settings
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpicpu4 at acpi0: C1, PSS
acpicpu5 at acpi0: C1, PSS
acpicpu6 at acpi0: C1, PSS
acpicpu7 at acpi0: C1, PSS
acpipwrres0 at acpi0: FN00
acpipwrres1 at acpi0: FN01
acpipwrres2 at acpi0: FN02
acpipwrres3 at acpi0: FN03
acpipwrres4 at acpi0: FN04
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 3292 MHz: speeds: 3301, 3300, 3100, 2900, 2800, 2600, 
2400, 2200, 2000, 1900, 1700, 1500, 1300, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0c08 rev 0x06
ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x0c01 rev 0x06: 
msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x665c rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0x0002 rev 0x00: 
msi
azalia0: no supported codecs
ppb1 at pci0 dev 1 function 1 vendor "Intel", unknown product 0x0c05 rev 0x06: 
msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 1 function 2 vendor "Intel", unknown product 0x0c09 rev 0x06: 
msi
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel 82572EI" rev 0x06: apic 2 int 18, address 
00:1b:21:2d:7b:c0
vendor "Intel", unknown product 0x8c31 (class serial bus subclass USB, rev 
0x05) at pci0 dev 20 function 0 not configured
vendor "Intel", unknown product 0x8c3a (class communications subclass 
miscellaneous, rev 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 vendor "Intel", unknown product 0x8c2d rev 
0x05: apic 2 int 20
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 vendor "Intel", unknown product 0x8c20 rev 
0x05: msi
azalia1: codecs: Realtek/0x0892
audio0 at azalia1
ppb3 at pci0 dev 28 function 0 vendor "Intel", unknown product 0x8c10 rev 0xd5: 
msi
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 1 "Intel 82801BA Hub-to-PCI" rev 0xd5: msi
pci5 at ppb4 bus 5
ppb5 at pci5 dev 0 function 0 "ASMedia ASM1083/1085 PCIE-PCI" rev 0x03
pci6 at ppb5 bus 6
ppb6 at pci0 dev 28 function 2 vendor "Intel", unknown product 0x8c14 rev 0xd5: 
msi
pci7 at ppb6 bus 7
vendor "Intel", unknown product 0x1533 (class network subclass ethernet, rev 
0x03) at pci7 dev 0 function 0 not configured
ppb7 at pci0 dev 28 function 3 vendor "Intel", unknown product 0x8c16 rev 0xd5: 
msi
pci8 at ppb7 bus 8
vendor "Intel", unknown product 0x1533 (class network subclass ethernet, rev 
0x03) at pci8 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x8c26 rev 
0x05: 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
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x8c56 rev 0x05
ahci0 at pci0 dev 31 function 2 vendor "Intel", unknown product 0x8c02 rev 
0x05: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD1001FALS-0, 05.0> SCSI3 0/direct 
fixed naa.50014ee0ab5ce27f
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus0 targ 4 lun 0: <TSSTcorp, CDDVDW SH-224DB, SB00> ATAPI 5/cdrom 
removable
vendor "Intel", unknown product 0x8c22 (class serial bus subclass SMBus, rev 
0x05) at pci0 dev 31 function 3 not configured
isa0 at pcib0
isadma0 at isa0
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
uhub2 at uhub0 port 1 "Intel product 0x8008" rev 2.00/0.05 addr 2
umass0 at uhub2 port 4 configuration 1 interface 0 "SanDisk Corporation U3 
Titanium" rev 2.00/0.10 addr 3
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <SanDisk, U3 Titanium, 4.06> SCSI2 0/direct 
removable serial.0781540816A07873CF44
sd1: 3836MB, 512 bytes/sector, 7856128 sectors
uhub3 at uhub1 port 1 "Intel product 0x8000" rev 2.00/0.05 addr 2
uhidev0 at uhub3 port 7 configuration 1 interface 0 "Logitech Optical USB 
Mouse" rev 2.00/3.40 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd1a (170e1e8de4f2393f.a) swap on sd1b dump on sd1b

Reply via email to