Re: hp dl360 gen9

2015-07-17 Thread Benjamin Perrault
Hey Remi,

> I'm just starting to use hp dl360 gen9 servers with OpenBSD. With a few
> tweaks in the bios most stuff works fine:
> 
> System Options
> o Processor Options
>  - Hyperthreading -> disable # HT does not help on a OpenBSD firewall
>  - Core disable -> 4 # That way the other cores can run at
>  # higher speed
>  - Processor x2apic support -> disabled
>  # if enabled OpenBSD only sees cpu0 and
>  # not the others
> o USB Options
>  - USB 3.0 Mode -> disabled  # with usb3 enabled the keyboard does not
>  # work in boot promt
> o Boot Options
>  - Boot Mode -> legacy bios mode
>  # disable uefi
> 
> 
> Unfortunately the serial console does not work. I try to use the virtual
> serial port via iLO. While I have access to the BIOS and the boot loader
> it stops working once the kernel starts. dmesg says:
> 
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> com1: probed fifo depth: 0 bytes
> 
> On gen8 servers also a ns16550a is recoginized and it works nicely.
> 
> Anybody knows how to make this work?

To my knowledge it doesn’t ( I have a many gen9 systems in various configs ). 
Even on linux - to get the virtual serial console to work on the gen9 - it 
requires an iLO driver ( which is bundled with the linux kernel ). So unless 
some one ports that over, me are pretty much out of luck on any of the BSDs at 
the moment (unless you find a magical work around, but even HP has said this is 
the case).

I’ve been working with a few HP engineers on allowing direct access to the 
serial device in a future iLO firmware, but in the mean time.. 

later,
-bp



hp dl360 gen9

2015-07-17 Thread Remi Locherer
Hi,

I'm just starting to use hp dl360 gen9 servers with OpenBSD. With a few
tweaks in the bios most stuff works fine:

System Options
o Processor Options
  - Hyperthreading -> disable # HT does not help on a OpenBSD firewall
  - Core disable -> 4 # That way the other cores can run at
  # higher speed
  - Processor x2apic support -> disabled
  # if enabled OpenBSD only sees cpu0 and
  # not the others
o USB Options
  - USB 3.0 Mode -> disabled  # with usb3 enabled the keyboard does not
  # work in boot promt
o Boot Options
  - Boot Mode -> legacy bios mode
  # disable uefi


Unfortunately the serial console does not work. I try to use the virtual
serial port via iLO. While I have access to the BIOS and the boot loader
it stops working once the kernel starts. dmesg says:

com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 0 bytes

On gen8 servers also a ns16550a is recoginized and it works nicely.

Anybody knows how to make this work?

Below outputs from dmesg, pcidump and usbdevs.

Remi


OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 68572934144 (65396MB)
avail mem = 66743619584 (63651MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x79173000 (218 entries)
bios0: vendor HP version "P89" date 03/05/2015
bios0: HP ProLiant DL360 Gen9
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP UEFI MCEJ SSDT HEST BERT ERST EINJ HPET PMCT WDDT APIC 
MCFG SRAT SPMI RASF SPCR MSCT BDAT PCCT SSDT SSDT SSDT DMAR
acpi0: wakeup devices PEX4(S4) BR05(S4) BR03(S4) BR07(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.54 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,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
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.0, IBE
cpu1 at mainbus0: apid 12 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.23 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,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 6, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.23 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,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 14 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.23 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,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 7, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec01000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0x8000, bus 0-255
acpiprt0 at acpi0: bus 255 (UNC0)
acpiprt1 at acpi0: bus 0 (PCI0)
acpiprt2 at acpi0: bus 1 (PEX2)
acpiprt3 at acpi0: bus 2 (PEX4)
acpiprt4 at acpi0: bus 3 (BR01)
acpiprt5 at acpi0: bus 4 (BR05)
acpiprt6 at acpi0: bus 5 (BR03)
acpiprt7 at acpi0: bus 8 (BR07)
acpicpu0 at acpi0: C2, C1
acpicpu1 at acpi0: C2, C1
acpicpu2 at acpi0: C2, C1
acpicpu3 at acpi0: C2, C1
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel E5 v3 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel E5 v3 PCIE" rev 0x02
pci1 at