Help! :) Quanta D51B-2U fan control via BMC / IPMI2.0 commands?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

JunctionRunner

New Member
Oct 27, 2023
11
3
3
No errors at all on impi, someone on reddit also confirmed these are noisy as heck. Maybe a bios update would help but these are EOL and I saw a couple results for quanta servers saying not to update them. Also not even sure what the latest revision is but mine is from 2018.
 

Fritz

Well-Known Member
Apr 6, 2015
3,399
1,405
113
70
I'm running BIOS ver. S2B_3B20 and ipmi ver. 3.81.00 on mine and I'm not even sure those are the latest.
 

JunctionRunner

New Member
Oct 27, 2023
11
3
3
Alright, looks like I am a few versions behind then. Fritz are your psu fans going full tilt? Also hopefully there's somewhere to get the files now that the server is EOL, since quanta removed it from their site which sucks. Wayback machine doesn't seem to have everything from their site.

Device Information

Firmware Revision:3.36.00
Firmware Build Time:May 8 2018 18:11:47 CST
BIOS Version:S2P_3B08.06
Expander 1 Firmware Version:0400
PSU1 MFR Revision:B01
PSU1 Firmware Version:01.00.02
PSU2 MFR Revision:B01
PSU2 Firmware Version:01.00.02
BMC NIC:Dedicated-NIC
 

Fritz

Well-Known Member
Apr 6, 2015
3,399
1,405
113
70
After I quieten it down using the following it's not bad at all PSU fans are no louder than the fan wall.

Code:
#!/bin/sh
ipmitool -I lanplus -H 192.168.10.233 -U admin -P admin raw 0x30 0x39 0x01 0x0 0x0 0x16
ipmitool -I lanplus -H 192.168.10.233 -U admin -P admin raw 0x30 0x39 0x01 0x0 0x1 0x16
ipmitool -I lanplus -H 192.168.10.233 -U admin -P admin raw 0x30 0x39 0x01 0x0 0x2 0x16
ipmitool -I lanplus -H 192.168.10.233 -U admin -P admin raw 0x30 0x39 0x01 0x0 0x3 0x16
 

RolloZ170

Well-Known Member
Apr 24, 2016
5,513
1,666
113
No errors at all on impi, someone on reddit also confirmed these are noisy as heck. Maybe a bios update would help but these are EOL and I saw a couple results for quanta servers saying not to update them. Also not even sure what the latest revision is but mine is from 2018.
afaik will not help. in some systems PSU FANs must cool PDB electronics too. are your PSUs already Platinum/Titanium ?
 

DaveInTexas

Member
Oct 28, 2021
79
86
18
Bit of a necro but I have a D51PH-1ULH, and yeah, wow the PSU fans running full tilt (maybe) are pretty damn bad...

I've had success with impitool to control the first six fans, but anything beyond that I get errors.

ipmitool -H 172.16.1.122 -U rescue -P quantarescue 0x30 0x39 0x01 0x0 0x0 0x64 set fan 0 to 100% (0x64)
ipmitool -H 172.16.1.122 -U rescue -P quantarescue 0x30 0x39 0x01 0x0 0x1 0x64 set fan 1 to 100% (0x64)

but, if I try fan 0x6 and up, and I get the following response:

Unable to send RAW command (channel=0x0 netfn=0x30 lun=0x0 cmd=0x39 rspc=0xcc): Invalid data field in request.
This is because they are 6-pin fan headers. Simplified explanation: think of these fans as 2x 4-pin fans side-by-side, with a shared power wire. There is only one power adjustment, and it affects both fans together.

The BMC treats it as a single fan when writing/sending commands. I know it's confusing because your 6x 6-pin fans appear in a sensor read as 12 fans.

On the sensor read side of the equation, the behavior you'll encounter depends on how the motherboard's fan headers are wired, and how the BMC chip is programmed, which version it is, and how the middleware (e.g. Redfish) is setup by the mobo manufacturer. MOST of the time these days there are 2x tach wires, so you're able to get 2x read signals off the 4-pin fan pair associated with any given 6-pin fan header. There are some instances of boards (usually older flavors) where the dual fans get their tachs averaged and reported as a single fan. To my knowledge, there is no standard requirement, but there are typical practices.

Bottom line is think of 2 read numbers (fan sensor names x2) <--> 1 write number (fan id).

Note: there now also exist 6-pin fan headers that only have one physical fan, where the extra wires are usually 5vdc and applied to other features such as LED lighting. I've never seen that on a server board, but have on some modern non-server boards.
 

JunctionRunner

New Member
Oct 27, 2023
11
3
3
This is because they are 6-pin fan headers. Simplified explanation: think of these fans as 2x 4-pin fans side-by-side, with a shared power wire. There is only one power adjustment, and it affects both fans together.

The BMC treats it as a single fan when writing/sending commands. I know it's confusing because your 6x 6-pin fans appear in a sensor read as 12 fans.

On the sensor read side of the equation, the behavior you'll encounter depends on how the motherboard's fan headers are wired, and how the BMC chip is programmed, which version it is, and how the middleware (e.g. Redfish) is setup by the mobo manufacturer. MOST of the time these days there are 2x tach wires, so you're able to get 2x read signals off the 4-pin fan pair associated with any given 6-pin fan header. There are some instances of boards (usually older flavors) where the dual fans get their tachs averaged and reported as a single fan. To my knowledge, there is no standard requirement, but there are typical practices.

Bottom line is think of 2 read numbers (fan sensor names x2) <--> 1 write number (fan id).

Note: there now also exist 6-pin fan headers that only have one physical fan, where the extra wires are usually 5vdc and applied to other features such as LED lighting. I've never seen that on a server board, but have on some modern non-server boards.
Thanks for the clarification. I haven't edited a video on it yet (I should do that) but I swapped the psu fans for some that are about half the cfm, and that solved the issue entirely thankfully.
 
  • Like
Reactions: DaveInTexas