How do I troubleshoot CPU temperatures in Ubuntu?

6,725

On Ubuntu you will have /var/log/pm-*.log as well as the usual syslog.

acpitz-virtual-0 is an unhelpful label for an ACPI thermal zone, probably from an ACPI table at runtime.

k8temp* comes partly from /etc/sensors3.conf and partly from where the system found the chip. You probably have a default ABit configuration that looks like:

chip "k8temp-*"

   label temp1 "Core0 Temp"
   label temp2 "Core0 Temp"
   label temp3 "Core1 Temp"
   label temp4 "Core1 Temp"

If it's in fact an ABit system board you should check the BIOS as it may have have better descriptions.

Regarding acpi -t, sensors(1) is checking both acpi and hardware devices it knows about. In a perfect world sensors(1) would report a superset of what acpi is able to report.

It really shouldn't be possible to overheat a laptop unless it is operated in a rather hot environment. It's more likely that the configuration file or BIOS settings are off, or perhaps some filters need cleaning. If the notebook heatsink was installed using thermal grease, that's known to not age well. (However, thermal grease is unlikely to have been used for original production.) You might be able to regrease it or use a modern thermal interface pad. Don't remove the heatsink unless you are prepared to throw away the old thermal interface and install a new one.

Share:
6,725

Related videos on Youtube

baz
Author by

baz

Elitists are oppressive, anti-intellectual, ultra-conservative, and cancerous to the society, environment, and humanity. Please help make Stack Exchange a better place. Expose elite supremacy, elitist brutality, and moderation injustice to https://stackoverflow.com/contact (complicit community managers), in comments, to meta, outside Stack Exchange, and by legal actions. Push back and don't let them normalize their behaviors. Changes always happen from the bottom up. Thank you very much! Just a curious self learner. Almost always upvote replies. Thanks for enlightenment! Meanwhile, Corruption and abuses have been rampantly coming from elitists. Supportive comments have been removed and attacks are kept to control the direction of discourse. Outright vicious comments have been removed only to conceal atrocities. Systematic discrimination has been made into policies. Countless users have been harassed, persecuted, and suffocated. Q&A sites are for everyone to learn and grow, not for elitists to indulge abusive oppression, and cover up for each other. https://softwareengineering.stackexchange.com/posts/419086/revisions https://math.meta.stackexchange.com/q/32539/ (https://i.stack.imgur.com/4knYh.png) and https://math.meta.stackexchange.com/q/32548/ (https://i.stack.imgur.com/9gaZ2.png) https://meta.stackexchange.com/posts/353417/timeline (The moderators defended continuous harassment comments showing no reading and understanding of my post) https://cs.stackexchange.com/posts/125651/timeline (a PLT academic had trouble with the books I am reading and disparaged my self learning posts, and a moderator with long abusive history added more insults.) https://stackoverflow.com/posts/61679659/revisions (homework libels) Much more that have happened.

Updated on September 17, 2022

Comments

  • baz
    baz over 1 year

    I have some questions concerning CPU temperature on my Ubuntu 8.10.

    1. My laptop shuts itself down, which I guess is due to high CPU temperature. I want to confirm this by looking at some system log file that records the reason that the system shuts itself down. Is there any such syslog file? Where is it stored?

    2. Also I have installed libsensors, which gives me different temperatures

      $ sensors  
      acpitz-virtual-0  
      Adapter: Virtual device  
      temp1:       +49.0°C  (crit = +97.0°C)                    
      
      k8temp-pci-00c3  
      Adapter: PCI adapter  
      Core0 Temp:  +57.0°C 
      

      What do "acpitz-virtual-0" and "k8temp-pci-00c3" mean? As well as the meaning of "temp1" and "Core0 Temp"? Are the two temperatures both CPU temperatures?

      Is the temperature given by

      acpi -t
      

      another different measure of CPU temperature?

    3. I also wonder what you will do if the CPU temperature is exceeding some limit that you find is dangerous? I have also installed Computer Temperature Monitor (computertemp), which allows me to set up a limit temperature for alarm as well as command to execute when the limit is reached. So what command will you issue or things will you do when the temperature is exceeding the set limit to protect your laptop, instead of letting it shuts itself down?

    • Bogdacutu
      Bogdacutu almost 12 years
      Most likely, it's not the OS shutting down itself, but the BIOS is doing it to protect the hardware.
  • RikuXan
    RikuXan over 14 years
    First, get an idea of the real sensor array and its BIOS setup by bouncing the box and hitting F2 or F12 or whatever pops you into the BIOS, then find whatever page has thermal data and settings and read it carefully and make sure all settings are sane. Then try, man 5 sensors.conf and goto lm-sensors.org. You could also find the grub menu and try startup with boot option acpi=off