<div dir="ltr">On 10 November 2017 at 20:31, Giles Orr <span dir="ltr"><<a href="mailto:gilesorr@gmail.com" target="_blank">gilesorr@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>I have a very old laptop I'm trying to rehabilitate and use with Debian: it's got an AMD Turion chip and 1G of RAM.  Works fine.  But one annoying problem under Linux: the fan runs flat out all the time.  If the 'sensors' command is correct, the CPU has never gone above 35C, so the fan isn't running like that because of the heat.<br><br></div>I also used this machine recently to run Darik's Boot And Nuke (aka "DBAN") on a hard drive: that's a Linux kernel, and the fan wasn't running full out.  Not sure what that proves, except that the fan doesn't have to run full out under a Linux kernel.<br><br></div>I've installed "lm_sensors," I've installed "fancontrol", I've run 'lmsensors-detect' (which is 'sensors-detect' under Fedora and Ubuntu - I've tried three Linux OSes with essentially identical results).  I've run 'pwmconfig' which tells me "There are no pwm-capable sensor modules installed."  I've written a file into /etc/sensors.d/fan-speed-<wbr>control.conf that said this:<br><br></div>    chip "k8temp-pci-*"<br></div>    set fan1_div 4<br><br></div>(This last at the suggestion of ArchWiki, which says reducing the fan multiplier can make it accessible to Linux.)  But running 'sensors -s' to reload the config is greeted with "Error: File /etc/sensors.d/fan-speed-<wbr>control.conf, line 2: Unknown feature name k8temp-pci-00c3: No such subfeature known."  On an off-chance I tried "fan0_div" and "fan2_div" but same answer.  This has exhausted most of the mainstream remedies suggested by Google.  At this point I'm stumped: can anyone else suggest ways to get a handle on this fan?<span class="HOEnZb"></span></div></blockquote><div><br></div><div>The solution to this was hard to find but simpler than expected: add the 'noapic' option on the command line to the kernel at boot time, and magically everything is working fine.  I did this after finding a reference to that on a page for the particular HP laptop - it was a problem a decade ago too.  According to a RedHat page, " APIC is the replacement for the old PIC chip that, in the past, was 
embedded on motherboards and allowed the configuration of interrupts for
 peripherals like soundcards, IDE controllers, sharing/redirecting of 
interrupts.  Disabling APIC removes the ability to make use of IRQ 
sharing or device IRQ remapping."  Which is great and I can see that it might relate to fans, but ... I don't really get it.<br></div></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Giles<br><a href="https://www.gilesorr.com/" target="_blank">https://www.gilesorr.com/</a><br><a href="mailto:gilesorr@gmail.com" target="_blank">gilesorr@gmail.com</a></div>
</div></div>