After exit from suspend mode cpu cooler running very fast

Hi everybody! I have a problem when exit from suspend mode on my desktop. My cooler starts running very fast and don't stop after time. If I reboot it's running very quiet. How can I solve this problem? Any suggestions? Thanks.

I am confident that temp5 is not 90 degrees. After suspend my system fan runs non-stop. I edited /etc/sensors3.conf and added the lines to ignore temp5. Now sensors will not show output for temp5, but my fan still runs all the time after resume.

Re: After exit from suspend mode cpu cooler running very fast

On most desktop motherboards, fans are controlled by SuperIO chip which is also connected to few temperature sensors deployed on the motherboard. Typical SuperIO can be configured to run each fan at constant speed or to vary its speed according to some temperature input, e.g. CPU fan can be controlled by thermal sensor installed under CPU socket.

This configuration is performed by BIOS during boot-up. OS's have little control over this part of SuperIO because it's often accessed concurrently by ACPI code (e.g. this ACPI temperature reader you have). This means that post-suspend restoration of fan settings needs to be performed by BIOS, before resuming the OS. However, BIOSes are the most buggy pieces of software ever seen on this planet, so ...

Your options are:1. Try modprobe fan and see if there is some ACPI interface for controlling the fans manually. Probably there's none.2. If the problem happens after hibernation (not sleep), try hibernating with echo shutdown >/sys/power/disk ; echo disk >/sys/power/state . This will run normal "shutdown" ACPI code after hibernating and will trick the BIOS to perform full power-on procedure when you turn the machine on again, including SuperIO configuration.3. Update BIOS.4. Complain to your motherboard's vendor 5. Boot with acpi_enforce_resources=lax and run sensors-detect to find out if there is a Linux driver for your SuperIO. This will give you manual control over SuperIO configuration at the cost of potential problems if ACPI code and linux driver ever decide to poke SuperIO registers at the same time.

Re: After exit from suspend mode cpu cooler running very fast

mich41,Thank you for your reply. I am still trying to fix this. It is interesting that this started the first time I boot to the 3.7.3 kernel. I suspect that this is caused by a change in software/config. I will try to roll back to my previous kernel when I get some time this evening to see if that will resolve the problem.

Re: After exit from suspend mode cpu cooler running very fast

I confirm the bug. I had this problem also with linux-lqx since 3.7.1 and now with the core kernel, so I am sure this is a regression on 3.7.* kernel. However if not suspended the kernel is usable as well.

Re: After exit from suspend mode cpu cooler running very fast

Is the any solution in this case. My fan running very fast after hibernation.My option is to hibernate withecho shutdown >/sys/power/disk ; echo disk >/sys/power/state but i can do it temporarily.Is it any way to put this script in /usr/lib/pm-utils/module.d/hibernate?

Re: After exit from suspend mode cpu cooler running very fast

What graphics hardware are you using? I was experiencing this with my nVidia GPU. The fix in this post is specific to nVidia hardware and the nouveau driver.

I recently bisected nouveau git master upon realizing fan control is busted with newer kernels (3.3+) and could no longer control my GTX 260 (nv50 gpu) fan. When resuming from suspend, the fan would run at full speed. Loud and unnecessary!

Note: due to restructuring of the nouveau driver in recent kernels there are separate patches for 3.4.x series and 3.7.x. I applied against 3.4.30 and can confirm it resolves the problem. I've ported the patch for upstream stable 3.7.x and git master 3.8-rc7. After building all 3 aforementioned kernels patched, sensors detect my fan controller successfully. Peace and quiet has been restored!

Re: After exit from suspend mode cpu cooler running very fast

Re: After exit from suspend mode cpu cooler running very fast

I just started having this problem after upgrading to 3.8.3-2 from 3.7.10. Of course, I didn't suspend for some time after I upgrade so I already cleared my cache. Hope someone finds a fix. I'm seeing this pop up in dmesg, but I don't know if it's related or if it was there before