Re: Fan Speed - Supermicro

2016-11-21 Thread Andy Lemin
Just to share for others here.

This worked a treat! I never knew that on BMC based systems, the fan
control was taken away from the OS by IPMI like this.

Simply set it to "Optimal", and now the fan speed is controlled
automatically based on the different temperatures. Surprised this is the
default, but it is a server...

Cheers, Andy.



On Mon, Nov 21, 2016 at 2:10 PM, Delan Azabani  wrote:

> At 19:11, Andy Lemin  wrote:
> > but we cannot figure out how to control the fan speed at all.
>
> Every board in the X9DRW series should have a BMC with IPMI, and this
> is what controls your fans and other sensors. Plug in the management
> port (but not to a public or hostile network!) and if these settings
> haven’t been changed, you can go to >
> and log in with “ADMIN” and “ADMIN” (case sensitive, no quotes).
>
> From there, go to “Configuration” > “Fan Speed Mode” and change
“Full
> Speed Mode” to “Standard Mode” or “Optimal Mode”.
>
> You can do this over IPMI. Install sysutils/ipmitool. I don’t think
> the tool works with ipmi(4), so you’ll need to do this from one of
> your real interfaces to the management interface. Try this:
>
> # ipmitool -I lanplus -H  -U  -P  \
> raw 0x30 0x45 0
>
> If it works, you’ll see one of the following values:
>
> > 0 = Standard
> > 1 = Full
> > 2 = Optimal?
> > 3 = Minimal?
> > 4 = HeavyIO?
>
> Change the mode with this:
>
> # ipmitool [...] -P  raw 0x30 0x45 1 
>
> I have a Supermicro board, but it doesn’t run OpenBSD and I haven’t
> touched IPMI for some months now, so this guide might not be perfect.
>
> More reading:
>
> • http://supermicro.com/manuals/other/SMT_IPMI_Manual.pdf
> • https://www.supermicro.com/support/faqs/faq.cfm?faq=18025
> • https://siliconmechanics.zendesk.com/hc/en-us/articles/
> 201122989-Changing-fan-speeds-for-X9-X10-series-boards
> • https://forums.servethehome.com/index.php?resources/
> supermicro-x9-x10-x11-fan-speed-control.20/
> •
https://asgardahost.org/useful-raw-commands-for-supermicro-ipmi-modules/



Re: Fan Speed - Supermicro

2016-11-21 Thread Delan Azabani
At 19:11, Andy Lemin  wrote:
> but we cannot figure out how to control the fan speed at all.

Every board in the X9DRW series should have a BMC with IPMI, and this
is what controls your fans and other sensors. Plug in the management
port (but not to a public or hostile network!) and if these settings
haven’t been changed, you can go to >
and log in with “ADMIN” and “ADMIN” (case sensitive, no quotes).

>From there, go to “Configuration” > “Fan Speed Mode” and change
“Full
Speed Mode” to “Standard Mode” or “Optimal Mode”.

You can do this over IPMI. Install sysutils/ipmitool. I don’t think
the tool works with ipmi(4), so you’ll need to do this from one of
your real interfaces to the management interface. Try this:

# ipmitool -I lanplus -H  -U  -P  \
raw 0x30 0x45 0

If it works, you’ll see one of the following values:

> 0 = Standard
> 1 = Full
> 2 = Optimal?
> 3 = Minimal?
> 4 = HeavyIO?

Change the mode with this:

# ipmitool [...] -P  raw 0x30 0x45 1 

I have a Supermicro board, but it doesn’t run OpenBSD and I haven’t
touched IPMI for some months now, so this guide might not be perfect.

More reading:

• http://supermicro.com/manuals/other/SMT_IPMI_Manual.pdf
• https://www.supermicro.com/support/faqs/faq.cfm?faq=18025
•
https://siliconmechanics.zendesk.com/hc/en-us/articles/201122989-Changing-fan
-speeds-for-X9-X10-series-boards
•
https://forums.servethehome.com/index.php?resources/supermicro-x9-x10-x11-fan
-speed-control.20/
• https://asgardahost.org/useful-raw-commands-for-supermicro-ipmi-modules/



Fan Speed - Supermicro

2016-11-21 Thread Andy Lemin
Hi,

I know this is probably a simple question, but we have searched, found very
little, and tried various things to no effect.

We have a Supermicro server running OpenBSD which is _screaming_ loud due
to fan noise.

BIOS is latest and power mode is "Balanced" (during POST it is nice and
quiet (how it should be).
As soon as the OpenBSD kernel kicks in the fans go to max.

We are running;
apmd -A
apm -A

And the performance is currently;

root@bsd1:~# sysctl | grep perf

hw.setperf=0

hw.perfpolicy=auto
But the fans are still at max.

I think the problem is that we dont have any sensors;

root@bsd1:~# sysctl | grep sensor

hw.sensors.cpu0.temp0=22.00 degC


Do we have to load something? Or enable a kernel module to get the controls?

Would be happy to run sensorsd and manually control the fan speed that way,
but we cannot figure out how to control the fan speed at all. So we cannot
even force it to slow down at the moment.

Thanks, Andy.


DMESG;

root@bsd1:~# dmesg
OpenBSD 6.0 (GENERIC.MP) #2: Mon Oct 17 10:22:47 CEST 2016
r...@stable-60-amd64.mtier.org:
/binpatchng/work-binpatch60-amd64/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 34307653632 (32718MB)
avail mem = 33263423488 (31722MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec640 (146 entries)
bios0: vendor American Megatrends Inc. version "3.0c" date 03/24/2014
bios0: transtec_AG X9DRW
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC FPDT HPET PRAD SPMI SSDT EINJ ERST HEST BERT
DMAR MCFG
acpi0: wakeup devices PS2K(S1) PS2M(S1) P0P9(S1) EUSB(S4) USBE(S4) PEX0(S4)
PEX7(S4) NPE1(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE8(S4) NPEA(S4) NPE3(S4)
NPE7(S4) NPE9(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 2 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz, 3500.49 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ER
MS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 1, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz, 3500.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ER
MS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 2, package 0
cpu2 at mainbus0: apid 6 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz, 3500.00 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ER
MS,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 3, package 0
cpu3 at mainbus0: apid 8 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz, 3500.00 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ER
MS,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 4, package 0
cpu4 at mainbus0: apid 3 (application processor)
cpu4: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz, 3500.00 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ER
MS,SENSOR,ARAT
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 1, package 0
cpu5 at mainbus0: apid 5 (application processor)
cpu5: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz, 3500.00 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLI
NE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ER
MS,SENSOR,ARAT
cpu5: 256KB 64b/line 8-way