tigerblue77 / Dell_iDRAC_fan_controller_Docker

Docker image to control your Dell PowerEdge fans via IPMI
263 stars 64 forks source link

Does not work on iDRAC 9 #29

Open Qlii256 opened 1 year ago

Qlii256 commented 1 year ago

I own a R550 with an iDRAC 9 running firmware 6.0.30.0. The script does not work and the error returned is: Insufficient privilege level.

Is there any way I could downgrade to version 3.30.30.30 (before Dell removed the ability to control fan speed)? I really need to lower the noise of the server and I can't find anything...

tigerblue77 commented 1 year ago

Hello ?

Sorry but I'm not working for Dell. You should ask on their forum. Or maybe Reddit ?

Qlii256 commented 1 year ago

I've already asked for help on the official forums as well as on Reddit. And it seems like no one is able to help me. Sorry to have bothered you with this, I was just hoping you'd maybe have a solution :D

tigerblue77 commented 1 year ago

Ah, well, my mistake. Your question was welcome but I have no idea. Post the links to the different topics you've opened on the forums here, maybe someone will come across it here and have an idea?

tigerblue77 commented 1 year ago

@Qlii256 okay, I found one of your topics, can you try the following commands from your host OS ?

Enable third-party PCIe card cooling: ipmitool -I open raw 0x30 0xce 0 0x16 5 0 0 0 5 0 0 0 0
Disable third-party PCIe card cooling: ipmitool -I open raw 0x30 0xce 0 0x16 5 0 0 0 5 0 1 0 0

Enable manual fan control: ipmitool -I open raw 0x30 0x30 0x01 0x00

Set fan speed to 5%: ipmitool -I open raw 0x30 0x30 0x02 0xff 0x05
Set fan speed to 10%: ipmitool -I open raw 0x30 0x30 0x02 0xff 0x0A
Set fan speed to 50%: ipmitool -I open raw 0x30 0x30 0x02 0xff 0x32

If it's not working, then either Dell has changed the IPMI values to use, or it is no longer possible on this generation (R*50) but I would find it weird... You can also have a look at this documentation

Qlii256 commented 1 year ago

Thank you @tigerblue77 for taking the time to help me! I've already tried to commands and they all give the same error: "Insufficient privilege level". I've been looking online and it seems Dell changed the ipmi commands to not allow the users to change the fan speeds.

tigerblue77 commented 1 year ago

Are you sure about that ? Because "insufficient privilege level" seems to be something else than "command not found" (if I can compare) : https://serverfault.com/questions/785872/ipmitool-insufficient-privilege-level-for-administrator

Qlii256 commented 1 year ago

Yes, I even tried on the OS of the server where I can use plain ipmitool commands without the need to specify the host, user etc. And it just gives me the insufficient privilege level error. It's Dell that blocked it, unfortenately and I'll have to live with a loud server in my house...

mfoti commented 10 months ago

Did you solved with this? I have the same problem with iDrac 9 (FW. 6.10.80.00)

Qlii256 commented 10 months ago

Did you solved with this? I have the same problem with iDrac 9 (FW. 6.10.80.00)

What I ended up doing is swap out all Dell fans for Noctua fans. It took me some time because of the proprietary fan headers, but I managed to get it working. The CPU does run hot(ter) now because there's much less air going through the system, but it's so quiet now. I also added two tiny fans on the CPUs' heatsink to help improve with heat.

tigerblue77 commented 9 months ago

Hello @Qlii256 and @mfoti, If you have time, can you have a look and test PR https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker/pull/56 please ? Could fix your issue and I'd be glad to merge it if it does.

tigerblue77 commented 9 months ago

Hello, If anyone see this message, I'm still waiting for reviews and feedback to merge PR #56. Thanks in advance

Qlii256 commented 9 months ago

Hello, If anyone see this message, I'm still waiting for reviews and feedback to merge PR #56. Thanks in advance

Sorry for the late reply, I did get your other message. However I don't have the time to test this. I'm 99% sure it won't make a difference as Dell has just decided to block access to changing the PMW fan speed on newer systems, so I'm not sure how your PR would change that? Note that I was able to get the current fan speed, but am just not able to set the fan speed.

tigerblue77 commented 9 months ago

@Qlii256, no problem, thanks for your reply. Yep you're right. My previous messages were confusing but, according to feedback from other users, the only way to use this Docker is to :

Qlii256 commented 9 months ago

@tigerblue77 I've no intention to downgrade the iDrac firmware. I did try in the past before I got my quiet Noctua fans but I was not able to do the downgrade. I'm sorry I cannot help your further.

tigerblue77 commented 9 months ago

@Qlii256, no problem ! Thanks 😊

blaze756 commented 9 months ago

Tested this on my R540 running 3.30.30.30. Modified the functions.sh file to point CPU1 to $2 and CPU2 to $4.

This shows the correct temp values for the CPU.

Didn't test removing the PCI third party code.