April 17, 20242 yr Hey Simon, i appreciate your work on this tool, i love that it works out of the box on both my motherboard and SAS enclosure is there any chance you plan on supporting a second IPMI connection any time in the future? i have a Supermicro H11-SSL EPYC system with my storage in a supermicro CSE-847 SAS enclosure that also supports IPMI and i would love the option of having monitoring for both on the dashboard.
April 17, 20242 yr I have been asking about this plugin not working with my board, the ASRockRack X470D4U, in this thread before. After putting it aside for a while I started to look into the issue again. This is what I found: It worked with the original bios, but stopped after I updated to the latest. This pointed towards the ipmi-raw commands having changed. The now working command to change fan speeds is: 00 3a d6, not 00 3a 01 This command also expects 16 fan speed values now, not 8, or it will fail. The highest value is still 64, but the command seems to fail for me if less than 14 is specified. This is a working json config for me, however fan speed minimum cannot be lower than ~25% or the value this tool generates will drop below 14 and fail. This is with 6 fans connected. If your number is different, you may have to adjust this: { "ASRockRack": { "raw": "00 3a d6", "auto": "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", "full": "64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64", "fans": { "FAN1": "01", "FAN2": "01", "FAN3": "01", "FAN4": "01", "FAN5": "01", "FAN6": "01", "FAN_POS7": "01", "FAN_POS8": "01", "FAN_POS9": "01", "FAN_POS10": "01", "FAN_POS11": "01", "FAN_POS12": "01", "FAN_POS13": "01", "FAN_POS14": "01", "FAN_POS15": "01", "FAN_POS16": "01" } } } Additionally, I had to make a small change in the code of the ipmifan command itself. This is necessary since the ipmifan tool tries to set a fan speed of 0 for any non-connected fan. But, since the Asrock IPMI won't allow fan speeds below 20% the command will therefore fail. So to fix this you have to SSH into your unraid server, and edit this file: nano /usr/sbin/ipmifan Then in line #482 change this: }else{ $pwm ='0'; } to this: }else{ $pwm ='64'; } Save the changes (if you used nano, Ctrl+O and then Ctrl+X) and restart the IPMI Fan Control via the Web Interface.
April 18, 20242 yr This plugin works great for me, but I have noticed one strange issue regarding Fan Control. Specifically, I cannot control one of my fan headers from Fan Control. Fan Controls lists: FAN12345 and FANA. However, FANB is missing. I can see sensor data for FANB just fine, but it cannot be controlled via Fan Control in the plugin. How can I fix this? The motherboard is a Supermicro H12SSL-NT. galactica-diagnostics-20240402-1951.zip
April 19, 20242 yr Hi, new user here. I have a Supermicro X13SAE-F so installed this plugging primarily for fan control. It does indeed control the fans via IPMI which is great so thank you! However I've noticed an odd behaviour which my attempts to correct have so far failed. Basically the plugin is detecting that my CPU Fan RPM is hitting the low threshold and shifting the entire system fan profile to full untill the next polling interval where the CPU Fan RPM is reporting normal. It then oscilates between these 2 states untill my BMC has enough and falls over needing a reset. The CPU fan is a Noctua NH-L9i-17xx, I dont believe it is dropping down to or below 420 RPM but suspect that because its an atypical fan for this board its being misreported, all my observations are that the fan sits consistently at 700 RPM. I've no issues with temps at all on the CPU or PCH. I tried reducing the low critical threshold below 420 but I get an error on the values I enter. I suspect the value I need to enter should be a derivative of a formulae or condition but I'm not finding this detail/understanding. Would appreicate any steerage here? Thanks.
April 19, 20242 yr 3 minutes ago, KillerK said: I tried reducing the low critical threshold below 420 but I get an error on the values I enter. Usually it won't accept any value, try 300, or 150.
April 19, 20242 yr Thanks, I think I have just found the error in configuration. My IPMI wouldn't accept 300 or 150 but it would accept 140 for the lower critical threshold. Once I set that and re-enabled fan control in the pluging my BMC started to complain the CPU fan was inoperable even though it was reporting RPM above this new lower threshold. However the CPU Fan RPM had dropped below 700, so I then realised the 'Fan Speed Minimum %' parameter was down at 1.5% which my BMC has issue with regardless of the detected RPM. So nudging this % up so the fan idles around 500 RPM seems to get the BMC happy again.
April 19, 20242 yr Author On 4/17/2024 at 5:01 AM, Silentlightning said: Hey Simon, i appreciate your work on this tool, i love that it works out of the box on both my motherboard and SAS enclosure is there any chance you plan on supporting a second IPMI connection any time in the future? i have a Supermicro H11-SSL EPYC system with my storage in a supermicro CSE-847 SAS enclosure that also supports IPMI and i would love the option of having monitoring for both on the dashboard. Was not looking to provide a second source as no one has requested before. But I will look to see if easy to implement. Would it just be the sensors?
April 23, 20242 yr Hi, I'm trying interpret the /var/log/ipmifan to better train my fans vs. temps and have come up with a couple of questions I'd appreicate a steer with. Physically my server has 4 system fans fed from 2 SYS_FAN headers and a single CPU+Fan. The below all suggests everything is as it should be and correctly mapped although where are the HDD Temps being sourced from (device id 99 in the cfg file)? FAN1234 being mapped as my CPU fan is a little unintuitive for me, whilst its certainly something I can live with I was wondering whether a simple edit of the fan.cfg is supported/recommend to alter this? Thanks # tail /var/log/ipmifan 2024-04-23 11:14:13 Fan:Temp, FAN1234(25%):CPU Temp(40C), FANA(16%):HDD Temp(36C) 2024-04-23 11:14:43 Fan:Temp, FAN1234(16%):CPU Temp(35C), FANA(16%):HDD Temp(36C) 2024-04-23 11:15:14 Fan:Temp, FAN1234(19%):CPU Temp(37C), FANA(16%):HDD Temp(36C) # cat /boot/config/plugins/ipmi/fan.cfg FANCONTROL="enable" FANPOLL="3" FANIP="" HDDPOLL="6" HDDIGNORE="ST4000VN000-1H4168_S300LXWX" HARDDRIVES="enable" FAN_FAN1234="674" TEMP_FAN1234="4" FAN_FANA="808" TEMP_FANA="99" TEMPHI_FANA="50" TEMPLO_FANA="45" FANMAX_FANA="64" FANMIN_FANA="10" TEMPHDD_FANA="0" TEMPHI_FAN1234="80" TEMPLO_FAN1234="35" FANMAX_FAN1234="64" FANMIN_FAN1234="10" # ipmi-sensors ID | Name | Type | Reading | Units | Event 4 | CPU Temp | Temperature | 36.00 | C | 'OK' 71 | PCH Temp | Temperature | 59.00 | C | 'OK' 138 | System Temp | Temperature | 32.00 | C | 'OK' 205 | Peripheral Temp | Temperature | 33.00 | C | 'OK' 272 | VRMVCORE Temp | Temperature | 33.00 | C | 'OK' 339 | VRMIN_AUX Temp | Temperature | 33.00 | C | 'OK' 406 | M2_SSD1 Temp | Temperature | N/A | C | N/A 473 | M2_SSD2 Temp | Temperature | N/A | C | N/A 540 | M2_SSD3 Temp | Temperature | N/A | C | N/A 607 | DIMMAB Temp | Temperature | 34.00 | C | 'OK' 674 | CPU_FAN1 | Fan | 560.00 | RPM | 'OK' 741 | CPU_FAN2 | Fan | N/A | RPM | N/A 808 | SYS_FAN1 | Fan | 840.00 | RPM | 'OK' 875 | SYS_FAN2 | Fan | 840.00 | RPM | 'OK' 942 | SYS_FAN3 | Fan | N/A | RPM | N/A 1009 | MB 12V | Voltage | 12.13 | V | 'OK' 1076 | MB 5VCC | Voltage | 5.00 | V | 'OK' 1143 | MB 3.3VCC | Voltage | 3.29 | V | 'OK' 1210 | VBAT | Battery | N/A | N/A | 'battery presence detected' 1277 | MB 5V_AUX | Voltage | 4.94 | V | 'OK' 1344 | MB 3.3V_AUX | Voltage | 3.31 | V | 'OK' 1411 | PCH 1.8V | Voltage | 1.80 | V | 'OK' 1478 | PCH PVNN | Voltage | 0.83 | V | 'OK' 1545 | PCH 1.05V | Voltage | 1.05 | V | 'OK' 1612 | BMC 2.5V | Voltage | 2.56 | V | 'OK' 1679 | BMC 1.8V | Voltage | 1.81 | V | 'OK' 1746 | BMC 1.2V | Voltage | 1.20 | V | 'OK' 1813 | BMC 1.0V | Voltage | 1.02 | V | 'OK' 1880 | VDimmAB | Voltage | 1.11 | V | 'OK' 1947 | CPU 1.8V_AUX | Voltage | 1.80 | V | 'OK' 2014 | CPU 1.05V | Voltage | 1.05 | V | 'OK' 2081 | Chassis Intru | Physical Security | N/A | N/A | 'OK'
April 29, 20242 yr Hi I recently built my first unraid install, and this is my first ever post on the unraid forum, I apologize for this poorly written post, I wanted to jot it all down before I forgot what I did, I will come back and edit it later. the mob I used is a w480d4u ASRock board and I was having a hard time getting the ipmitools plugin to work. I eventually found this forum and after many hours of not being able to get it to work I found a few interesting things 1 the script that configures the fans was trying to call ipmi-raw, after installing the plugin this file didn't exist, however there was ipmiraw so at the bash shell on unraid I tried to do a manual write to the fans to control the speed with ipmiraw copying the values from the asrock section of the ipmi2json which is when I figured out that ASRock has changed the codes for their ipmiraw to be: View the current manually set duty cycle > 00 3a d7 Change fan duty cycle > 00 3a d6 Set to auto on and off > 00 3a d8 After notice that I can set the ipmi duty cycle to manual and a speed in the bmc then run ipmiraw 003a d7 to view it and got a response that was D7 00 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 I was hopeful that I could then change it, so I ran ipmiraw 00 3a d6 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 and i then opened my bmc went to settings then looked at fan settings and notices that all my fans were set to 20 which is the lowest duty cycle in the acceptable range i knew that it was possible to get this working. So I then ran the ipmi2json --debug and saw the command line was wrong ipmi-raw 00 3a 01 00 00 00 00 00 which only returned location : none so I then found a different ipmi2json that has some changes in it for ASRock bords which also didn't work. but it lead me to ipmi-raw not being a valid command on my unraid 6.12 then after typing ipmi and hitting tab a few times I found ipmiraw, so I did a find and replace in the ipmi2json and reran it with the --debug switch to which it still failed but I then saw what was the last issue I was going to run into. (01) the impiraw 00 3a d6 01 64 64 64 64 64 64 64 64 64 after a bit of digging on the ASRock site I found an faq https://www.asrockrack.com/support/faq.asp#:~:text=by running%3A “-,Sudo ipmitool raw 0x3a 0xd6,-0x64 0x64 0x64 that listed the formate this command needs to be the length and the characters meaning no 01 so then I went into the ipmi2json and found this $raw = "${lun} ${netfn} ${i}1"; to which I modified to $raw = "${lun} ${netfn}"; #${i}1"; I commented out the last part that was adding the 0 Infront of the 1 as I don't know what it does normally but I knew that it was breaking it for me. then I reran impi2json and it found my fans and I just about jumped out of my chair scarring the cat. Then I did a find and replace on ipmifan as well then I put my fans in manual mode and click configure, and it worked and found my pmw fans then I also found that the configure button in the settings can't only be pressed once, because the ipmi2json puts the fans back into auto which is controlled by the bmc so they need to be put in manually mode before the configure button is ran each time so I added that to the ipmi2json and that is done by ipmiraw 00 3a d8 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01, if you choose to use these you will need to chmod them to make them executable. I hope this helps someone. good luck. ipmifan ipmi2json
May 19, 20242 yr On 2/24/2024 at 3:47 PM, SimonF said: Are you using my version of the plugin? Or the original authors one. Hi, I'm sorry for missing your question. Yes,I use your version. I also tried the other one once it started failing, without success. I cleaned all files manually and re-installed several times to no effect and we're getting exact same errors reproduced each time as shared before. Eventually I moved the server into garage (cooler place) and its doing fine there (somehow the ipmi's own fan control is working well in the garage and not stressing the fan as much as when I kept it in the heated room). But the package doesn't work. Im wondering whether I could get hold of the previous version say one before update posted last December and to install it manually and see if it works again?
June 23, 20242 yr IPMI Sensors tab readings no longer show up. I have a SuperMicro X9SRi-F motherboard running the latest UNRAID. When I first installed the IPMI plugin and enabled Fan Control it accelerated the fans to full speed and not matter how I changed the min and max settings it stayed at full. I copied the IPMICFG utility from SuperMicro to the Unraid system and set the fan to "Standard" mode. Quote ./IPMICFG-Linux.x86_64 -fan 0 This reduced the speed/noise considerably. However now the sensor readings do not show up in the Sensors tab (see attachment). I tried uninstalling and re-installing the plugin - but that did not restore the readings. Also attached a listing of the sensor values from ipmitool. How can I fix this? Thank you - Richard
June 23, 20242 yr Author 35 minutes ago, Richard Mixon said: IPMI Sensors tab readings no longer show up. I have a SuperMicro X9SRi-F motherboard running the latest UNRAID. When I first installed the IPMI plugin and enabled Fan Control it accelerated the fans to full speed and not matter how I changed the min and max settings it stayed at full. I copied the IPMICFG utility from SuperMicro to the Unraid system and set the fan to "Standard" mode. This reduced the speed/noise considerably. However now the sensor readings do not show up in the Sensors tab (see attachment). I tried uninstalling and re-installing the plugin - but that did not restore the readings. Also attached a listing of the sensor values from ipmitool. How can I fix this? Thank you - Richard What are you settings? This shows sensor for me.
June 23, 20242 yr 2 hours ago, SimonF said: What are you settings? This shows sensor for me. My settings seem to identify the motherboard correctly - on the Fan Control tab they show: Fan Control Fan Control: Running Motherboard and Model: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F Gen:9 On the Settings tab I've attached a picture - basically the same. Remember all worked fine until I forced the fan to standard mode. But since I've uninstalled and re-installed, still not sensor readings, though I can see them from ipmitool. Here's the fan log file Quote 2024-06-22 17:55:22 Starting Fan Control 2024-06-22 17:55:22 Board: Supermicro Board Model: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F 2024-06-22 17:55:22 SM Board selection: 9 2024-06-22 17:55:22 Setting fans to full speed 2024-06-22 17:55:33 Fan:Temp, FAN1234(55%):(Spundown) 2024-06-23 11:11:31 Stopping Fan Control 2024-06-23 11:11:31 Setting fans to auto 2024-06-23 11:12:10 Starting Fan Control 2024-06-23 11:12:10 Board: Supermicro Board Model: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F 2024-06-23 11:12:10 SM Board selection: 9 2024-06-23 11:12:10 Setting fans to full speed 2024-06-23 11:12:20 Fan:Temp, FAN1234(55%):(Spundown) 2024-06-23 11:12:49 Stopping Fan Control 2024-06-23 11:12:49 Setting fans to auto 2024-06-23 11:15:07 Starting Fan Control 2024-06-23 11:15:07 Board: Supermicro Board Model: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F 2024-06-23 11:15:07 SM Board selection: 9 2024-06-23 11:15:07 Setting fans to full speed 2024-06-23 11:15:17 Fan:Temp, FAN1234(55%):(Spundown) 2024-06-23 11:16:25 Stopping Fan Control 2024-06-23 11:16:25 Setting fans to auto 2024-06-23 11:17:37 Starting Fan Control 2024-06-23 11:17:37 Board: Supermicro Board Model: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F 2024-06-23 11:17:37 SM Board selection: 9 2024-06-23 11:17:37 Setting fans to full speed 2024-06-23 11:17:48 Fan:Temp, FAN1234(55%):(Spundown) 2024-06-23 11:18:07 Stopping Fan Control 2024-06-23 11:18:07 Setting fans to auto 2024-06-23 11:19:37 Starting Fan Control 2024-06-23 11:19:37 Board: Supermicro Board Model: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F 2024-06-23 11:19:37 SM Board selection: 9 2024-06-23 11:19:37 Setting fans to full speed 2024-06-23 11:19:47 Fan:Temp, FAN1234(55%):(Spundown) Thank you much - Richard
July 2, 20242 yr HI All, Many thanks to everyone for sharing your valuable insights. I have a SuperMicro X9DR3-F MoBo which I bought as a replacement to my bricked Asus MoBo. I have been trying to get IPMI Tool work to get the fan control ability, and have not been able to do so. When I open the settings page of the tool, I can see that it auto-detects my board as ASRock when it is a SuperMicro. I suspect this could be the reason it is not detecting my fans. Any insights of how this could be solved. Also, is there a good guide on how to set fan control on SuperMicro X9DR3-F boards? Note: IPMI WebUI gives me only 4 options - Standard, Full, Optimal and Heavy I/O. Many thanks guys for trying to help me here.
July 2, 20242 yr 2 minutes ago, leftover-scrawl1108 said: HI All, Many thanks to everyone for sharing your valuable insights. I have a SuperMicro X9DR3-F MoBo which I bought as a replacement to my bricked Asus MoBo. I have been trying to get IPMI Tool work to get the fan control ability, and have not been able to do so. When I open the settings page of the tool, I can see that it auto-detects my board as ASRock when it is a SuperMicro. I suspect this could be the reason it is not detecting my fans. Any insights of how this could be solved. Also, is there a good guide on how to set fan control on SuperMicro X9DR3-F boards? Note: IPMI WebUI gives me only 4 options - Standard, Full, Optimal and Heavy I/O. Many thanks guys for trying to help me here. Screenshot?
July 2, 20242 yr Here is what my IPMI WebUI looks like: This is what my UnRAID IPMI Tool settings page looks like. IPMI.cfg IPMISELD="enable" IPMIPOLL="180" NETWORK="enable" LOCAL="disable" IPADDR="192.168.X.XXX" USER="XXXXXX" PASSWORD="XXXXXXX" DISP_SENSOR1="0" DISP_SENSOR2="0" LOADCFG="enable" IGNORE="" DIGNORE="" DASH="enable" DEVIGNORE="" DEVS="enable" OVERRIDE="enable" OBOARD="" OCOUNT="0" OMODEL="9" IPMILAN="LAN" fan.cfg FANCONTROL="enable" FANPOLL="6" FANIP="192.168.X.XXX" HDDPOLL="18" HDDIGNORE="" HARDDRIVES="enable" Board.json is blank
August 22, 20241 yr Any experience on this welcomed... Supermicro X13SAE-F running latest BMC v01.02.01 which I think is their only BMC version for this board. I've only had this server 5 months, its a new build of my own. This morning for the 2nd time I can remember the BMC flags "CPU_FAN1, Lower Critical - going low" and as a result spins up the chassis fans to full. It spams my email and log repeated with this warning until I intervene with a soft reset of the BMC which clears the issue. The servers uptime will be around 30 days and if my memory serves then this happened before it had a similar number of days up. So I currently believe this is a fantom report...delving a little deeper into the logs the BMC is reporting the CPU fan RPM is 420 against a threshold of 420 hence the alert. However watching the real-time BMC states the CPU fan is intermittently dropping below the 700 RPM value I typically see. FWIW the CPU fan is a Noctua NH-L9i-17xx, again 5 months new. Given this problem goes away with a soft-reset of the BMC coupled with zero temp issues on the CPU itself am I right to be dismissive of a real problem and this is just a BMC bug?
August 27, 20241 yr So can confirm my creds are correct. Fan control works and I can get sensor data with the same creds via CLI. But the GUI part here will not connect.
August 27, 20241 yr On 8/22/2024 at 7:08 PM, KillerK said: Any experience on this welcomed... Supermicro X13SAE-F running latest BMC v01.02.01 which I think is their only BMC version for this board. I've only had this server 5 months, its a new build of my own. This morning for the 2nd time I can remember the BMC flags "CPU_FAN1, Lower Critical - going low" and as a result spins up the chassis fans to full. It spams my email and log repeated with this warning until I intervene with a soft reset of the BMC which clears the issue. The servers uptime will be around 30 days and if my memory serves then this happened before it had a similar number of days up. So I currently believe this is a fantom report...delving a little deeper into the logs the BMC is reporting the CPU fan RPM is 420 against a threshold of 420 hence the alert. However watching the real-time BMC states the CPU fan is intermittently dropping below the 700 RPM value I typically see. FWIW the CPU fan is a Noctua NH-L9i-17xx, again 5 months new. Given this problem goes away with a soft-reset of the BMC coupled with zero temp issues on the CPU itself am I right to be dismissive of a real problem and this is just a BMC bug? I have the same board, I had similar issues. You need to adjust the thresholds lower, and also not set the low end PWM percentage too low. YMMV.
September 6, 20241 yr On 8/27/2024 at 6:34 AM, warpspeed said: I have the same board, I had similar issues. You need to adjust the thresholds lower, and also not set the low end PWM percentage too low. YMMV. Thanks for this, have you edited the IPMI sensors config to get that Low CT of 140 for the CPU? Mines as below but operating on default IPMI configs still?
September 7, 20241 yr Yes, you need to do it using ipmitool on the command line e.g. ipmitool -I lan -U USERNAME -P PASSWORD -H IP_ADDRESS sensor thresh CPU_FAN1 lower 120 220 320 ipmitool -I lan -U USERNAME -P PASSWORD -H IP_ADDRESS sensor thresh CPU_FAN1 upper 1600 1700 1800 Edited September 7, 20241 yr by warpspeed
October 2, 20241 yr On 12/17/2023 at 7:18 AM, SimonF said: does ipmi-raw 00 3a d7 and ipmi-raw 00 3a da provide any output? Hi Simon, I also have the AsRockRack W680D4U2L2T/G5 motherboard. The output from ipmi-raw 00 3a da is: rcvd: DA C1 Any assistance you can provide with getting the fan locations to report in Unraid is greatly appreciated. Please let me know if you need any additional information. I'm happy to work with you to get this working properly for this motherboard.
October 2, 20241 yr Author 2 hours ago, m3digi said: Hi Simon, I also have the AsRockRack W680D4U2L2T/G5 motherboard. The output from ipmi-raw 00 3a da is: rcvd: DA C1 Any assistance you can provide with getting the fan locations to report in Unraid is greatly appreciated. Please let me know if you need any additional information. I'm happy to work with you to get this working properly for this motherboard. Found two articles but they dont state which MBs are supported so maybe try options to see what may work, command would be ipmi-raw rather than ipmitool raw https://www.asrockrack.com/support/faq.cn.asp?id=38 https://www.asrockrack.com/support/faq.cn.asp?id=63#:~:text=Run “sudo ipmitool raw 0x3a 0xda” to fetch current fan,% fan duty you demand.>
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.