Fan Control on 6027R TRF running Debian Wheezy
Dear lm-sensors Team,
on a 6027R TRF, I run the latest Debian Wheezy. I have a problem with the server, because I cannot control fan speed anymore.
My plan was to control the drive bay LEDs via software, so I installed i2c-tools and ledmon packages. While I was at it, I also installed fancontrol and lm-sensors. As I now know, this was a very bad idea.
Then I ran the proprietar Superdoctor program (distributed on the Supermicro website) that prints information on fan speed, temperatures and system voltages. I ran it only once by executing the command "sdt" as root. After the command completed, the 3 system fans started spinning at max RPM. And this is extremely noisy! Note, that the program ran flawlessly before I installed the packages listed above.
Since then I didn't manage to regain control of the fans. Even after a reboot the fans start to speed. Also, removing the installed packages again does not help.
I also tried to control the fans with the fancontrol package, but this fails because I do not have a correct fancontrol config file. I am supposed to run pwmconfig first to create such a file, but this fails as well ("/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed")
I have collected the output of sensors-detect, sensors and pwmconfig
here: http://pastebin.mozilla.org/6754878
If you could give any hints on what I am missing, I would be very grateful. I must get rid of this deafening noise. Thanks in advance!
Best, Felix
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Felix Schulthess
Dear lm-sensors Team,
on a 6027R TRF, I run the latest Debian Wheezy. I have a problem with the server, because I cannot control fan speed anymore.
Your system has an onboard management processor which supports IPMI. You should not use lm-sensors. Install IPMITOOL or FreeIPMI and use those tools ( or super doctor ) to read sensors.
You cannot control the fan speeds. They are managed by the onboard controller. You can choose one of several profiles in the bios but that is it.
Quoted 11 lines
My plan was to control the drive bay LEDs via software, so I installed i2c-tools and ledmon packages. While I was at it, I also installed fancontrol and lm-sensors. As I now know, this was a very bad idea.
Then I ran the proprietar Superdoctor program (distributed on the Supermicro website) that prints information on fan speed, temperatures and system voltages. I ran it only once by executing the command "sdt" as root. After the command completed, the 3 system fans started spinning at max RPM. And this is extremely noisy! Note, that the program ran flawlessly before I installed the packages listed above.
Quoted 5 lines
Since then I didn't manage to regain control of the fans. Even after a reboot the fans start to speed. Also, removing the installed packages again does not help.
You probably need to reset the management controller. The easiest way is to shutdown the system and unplug it for several MINUTES to discharge all the capacitors and insure everything resets. Then plug in and turn on again.
Best of luck,
Phil P.
Signature · 8 lines
Philip Pokorny, RHCE Chief Technical Officer PENGUIN COMPUTING, Inc www.penguincomputing.com _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Dear Phil,
thanks a lot for the quick reply! Great to see that this mailing list is so active.
Quoted 10 lines · Phil Pokorny
On Friday, October 10, 2014, Felix Schulthess <[email protected] <mailto:[email protected]>> wrote:
Dear lm-sensors Team,
on a 6027R TRF, I run the latest Debian Wheezy. I have a problem with the server, because I cannot control fan speed anymore.
Quoted 7 lines
Your system has an onboard management processor which supports IPMI. You should not use lm-sensors. Install IPMITOOL or FreeIPMI and use those tools ( or super doctor ) to read sensors.
You cannot control the fan speeds. They are managed by the onboard controller. You can choose one of several profiles in the bios but that is it.
That explains a lot. Thank you for your help, I am going to do some further research in this direction and read up on FreeIPMI.
Still, if I can't control the fan speeds but they are instead controlled by some onboard controller, then how could the installation on the fancontrol and lm-sensors mess up the control loop so bad? This still keeps me wondering.
Maybe, the sensors somehow blocked the CPU temperature readout. This could have caused the superdoctor program to resort to some failsafe behavior (i.e. spinning the fans up to max RPM). Just wondering.
Quoted 9 lines
Since then I didn't manage to regain control of the fans. Even after a reboot the fans start to speed. Also, removing the installed packages again does not help.
You probably need to reset the management controller. The easiest way is to shutdown the system and unplug it for several MINUTES to discharge all the capacitors and insure everything resets. Then plug in and turn on again.
Thank you, I already tried that -- without success.
Best, Felix
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Dear List,
Quoted 6 lines · Felix Schulthess
Quoted 3 lines
You cannot control the fan speeds. They are managed by the onboard controller. You can choose one of several profiles in the bios but that is it.
That explains a lot. Thank you for your help, I am going to do some further research in this direction and read up on FreeIPMI.
in the meantime, I managed to change the fan settings back to normal (i.e. optimized) fan control. For some reason, they were set to full speed. What I had to do is connect via a browser to the management LAN port and log in.
There is a manual for the IPMI Chip on the 6027R TRF main board.
http://www.supermicro.com/manuals/other/SMT_IPMI_Manual.pdf
It explains the underlying hardware quite well. I am adding this here for the sake of completeness. Maybe so. else will appreciate this solution.
Best Felix.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Felix Schulthess
Quoted 3 lines
You cannot control the fan speeds. They are managed by the onboard controller. You can choose one of several profiles in the bios but that is it.
Quoted 8 lines
That explains a lot. Thank you for your help, I am going to do some further research in this direction and read up on FreeIPMI.
Still, if I can't control the fan speeds but they are instead controlled by some onboard controller, then how could the installation on the fancontrol and lm-sensors mess up the control loop so bad? This still keeps me wondering.
You can't control the fan speeds because there is already another device on the motherboard that is tasked with the job of controlling them. As you found, you can poke the control chips, but that doesn't mean you can control the speeds predictably. Imagine two cooks in a kitchen trying to cook different meals with the same ingredients. They come and go in the kitchen unaware of the others meddling and confused why things are changing when they are away. You end up with no food. Only one cook in the kitchen.
It's also possible that when you ran SDT it's default config was to change the BIOS/BMC setting on the fans speeds to full speed. As you found it was a permanent change to the setting, not some strange interaction between lm_sensors and sdt and the BMC.
Quoted 3 lines
Maybe, the sensors somehow blocked the CPU temperature readout. This could have caused the superdoctor program to resort to some failsafe behavior (i.e. spinning the fans up to max RPM). Just wondering.
Also possible.
Glad you got your system back under control In addition to the web interface, there is a BIOS screen where you can set the fan speed profile as well.
Phil P.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 29 lines · Phil Pokorny
Quoted 4 lines · Felix Schulthess
Quoted 3 lines
You cannot control the fan speeds. They are managed by the onboard controller. You can choose one of several profiles in the bios but that is it.
Quoted 8 lines
That explains a lot. Thank you for your help, I am going to do some further research in this direction and read up on FreeIPMI.
Still, if I can't control the fan speeds but they are instead controlled by some onboard controller, then how could the installation on the fancontrol and lm-sensors mess up the control loop so bad? This still keeps me wondering.
You can't control the fan speeds because there is already another device on the motherboard that is tasked with the job of controlling them. As you found, you can poke the control chips, but that doesn't mean you can control the speeds predictably. Imagine two cooks in a kitchen trying to cook different meals with the same ingredients. They come and go in the kitchen unaware of the others meddling and confused why things are changing when they are away. You end up with no food. Only one cook in the kitchen.
It's also possible that when you ran SDT it's default config was to change the BIOS/BMC setting on the fans speeds to full speed. As you found it was a permanent change to the setting, not some strange interaction between
lm_sensorsand sdt and the BMC.
Quoted 7 lines
Quoted 3 lines
Maybe, the sensors somehow blocked the CPU temperature readout. This could have caused the superdoctor program to resort to some failsafe behavior (i.e. spinning the fans up to max RPM). Just wondering.
Also possible.
No idea how that could happen, unless there is a means for an application or kernel module to block access to specific CPU registers. That would be news to me, though.
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors