dmacias72 / IPMI-unRAID

GNU General Public License v2.0
6 stars 17 forks source link

ipmifan service not working on the ASRock X470D4U motherboard #5

Closed 9chu closed 4 years ago

9chu commented 4 years ago

The ipmifan service not working properly for this motherboard.

I've looked into the ipmifan script and debugged these ipmi commands. It seems that the full and auto fan speed commands works for the motherboard.

# ipmi-raw 00 3a 01 64 64 64 64 64 64 64 64
# ipmi-sensors | grep FAN
17 | FAN1           | Fan               | 2900.00    | RPM   | 'OK'
18 | FAN2           | Fan               | 1900.00    | RPM   | 'OK'
19 | FAN3           | Fan               | 3800.00    | RPM   | 'OK'
20 | FAN4           | Fan               | N/A        | RPM   | N/A
21 | FAN5           | Fan               | N/A        | RPM   | N/A
22 | FAN6           | Fan               | N/A        | RPM   | N/A
# ipmi-raw 00 3a 01 00 00 00 00 00 00 00 00
# ipmi-sensors | grep Fan
17 | FAN1           | Fan               | 800.00     | RPM   | 'OK'
18 | FAN2           | Fan               | 700.00     | RPM   | 'OK'
19 | FAN3           | Fan               | 1400.00    | RPM   | 'OK'
20 | FAN4           | Fan               | N/A        | RPM   | N/A
21 | FAN5           | Fan               | N/A        | RPM   | N/A
22 | FAN6           | Fan               | N/A        | RPM   | N/A

But change any one of the zero hex number in the sequence will not work as expected.

# ipmi-raw 00 3a 01 00 00 64 00 00 00 00 00
rcvd: 01 00
# ipmi-sensors | grep Fan
17 | FAN1           | Fan               | 800.00     | RPM   | 'OK'
18 | FAN2           | Fan               | 700.00     | RPM   | 'OK'
19 | FAN3           | Fan               | 1400.00    | RPM   | 'OK'
20 | FAN4           | Fan               | N/A        | RPM   | N/A
21 | FAN5           | Fan               | N/A        | RPM   | N/A
22 | FAN6           | Fan               | N/A        | RPM   | N/A

That could be the reason why the ipmifan service not working.

dmacias72 commented 4 years ago

Did you try running the configuration by clicking the configure button? It should run through and check all the fans vs hex slots. That third hex slot may not be fan 3.

9chu commented 4 years ago

I've contacted to the ASRock tech support. Seems a bug in the motherboard BMC firmware.

dmacias72 commented 4 years ago

Hopefully they will fix it