154af Dell laptop overheats while compiling - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #1  
Old July 8th, 2012, 21:30
zodias zodias is offline
Junior Member
 
Join Date: Jan 2011
Location: Bulgaria, Sofia
Posts: 29
Thanks: 7
Thanked 0 Times in 0 Posts
Default Dell laptop overheats while compiling

Hi,

I installed 9.0-RELEASE on Dell Inspiron n5010 and downloaded sources to build 9-STABLE. While building the world the laptop is shut down by FreeBSD for reaching high CPU operating temperature.
I added:
Code:
powerd_enable="YES"
powerd_flags="-a maximum -b adaptive -i 85 -r 60 -p 100"
in /etc/rc.conf, did
Code:
# /etc/etc/powerd restart
but with no effect.

What am I missing? Is there a possibility to control a CPU fan speed in FreeBSD?
Reply With Quote
  #2  
Old July 9th, 2012, 01:07
jrm's Avatar
jrm jrm is offline
Member
 
Join Date: Nov 2008
Location: Tralfamadore
Posts: 524
Thanks: 63
Thanked 121 Times in 91 Posts
Default

Are you blocking any of the air vents? You might try opening up the laptop and checking if there is excessive dust. Are all fans working properly?

Last edited by jrm; July 9th, 2012 at 09:24.
Reply With Quote
  #3  
Old July 9th, 2012, 07:55
zodias zodias is offline
Junior Member
 
Join Date: Jan 2011
Location: Bulgaria, Sofia
Posts: 29
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jrm View Post
Are you blocking any of the air vents? You might try opening up the laptop and checking is there is excessive dust. Are all fans working properly?
It is clean and works great with MS Windows 7 Home Premium.
Reply With Quote
  #4  
Old July 9th, 2012, 09:46
jrm's Avatar
jrm jrm is offline
Member
 
Join Date: Nov 2008
Location: Tralfamadore
Posts: 524
Thanks: 63
Thanked 121 Times in 91 Posts
Default

Even if you push the CPU in Windows by, e.g., compiling something large you don't get the overheating?
Reply With Quote
  #5  
Old July 9th, 2012, 10:25
zodias zodias is offline
Junior Member
 
Join Date: Jan 2011
Location: Bulgaria, Sofia
Posts: 29
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jrm View Post
Even if you push the CPU in Windows by, e.g., compiling something large you don't get the overheating?
That's right. I don't get the overheating in MS Windows 7 when executing
Code:
# make -j8 buildworld
in VirtualBox-ed FreeBSD.
Reply With Quote
  #6  
Old July 9th, 2012, 17:04
jrm's Avatar
jrm jrm is offline
Member
 
Join Date: Nov 2008
Location: Tralfamadore
Posts: 524
Thanks: 63
Thanked 121 Times in 91 Posts
Default

You could try monitoring CPU frequency, temperature and fan speed in both windows and FreeBSD. Also, have a look at sysctl. For example, on my old IBM laptop I see variables such as dev.acpi_ibm.0.fan_speed and hw.acpi.thermal.tz0.temperature.


You might have acpi issues preventing your fan from speeding up when it should.
Reply With Quote
  #7  
Old July 9th, 2012, 17:39
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Remove -i 85 -r 60 -p 100 from powerd_flags and try again. Otherwise, it's probably ACPI problems as jrm suggests, and the freebsd-acpi mailing list is the place to go.

Last edited by wblock@; July 10th, 2012 at 14:18.
Reply With Quote
  #8  
Old July 10th, 2012, 13:57
zodias zodias is offline
Junior Member
 
Join Date: Jan 2011
Location: Bulgaria, Sofia
Posts: 29
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Remove -i 85 -r 60 -p 100 from powerd_flags and try again. Otherwise, it's probably ACPI problems as jrm suggests, and the freebsd-acpi is the place to go.
I tried, but with no effect.
Code:
Jul 10 15:28:15 localhost root: WARNING: system temperature too high, shutting down soon!
Jul 10 15:28:18 localhost kernel: acpi_tz0: WARNING - current temperature (88.1C) exceeds safe limits
However I noticed this in dmesg:
Code:
Jul 10 15:06:18 localhost kernel: ACPI APIC Table: <DELL   WN09    >
Jul 10 15:06:18 localhost kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
Jul 10 15:06:18 localhost kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
Jul 10 15:06:18 localhost kernel: cpu0 (BSP): APIC ID:  0
Jul 10 15:06:18 localhost kernel: cpu1 (AP): APIC ID:  1
Jul 10 15:06:18 localhost kernel: cpu2 (AP): APIC ID:  4
Jul 10 15:06:18 localhost kernel: cpu3 (AP): APIC ID:  5
Jul 10 15:06:18 localhost kernel: ACPI Warning: 32/64X FACS address mismatch in FADT - 0xB762CF4
0/0x00000000B762CF80, using 32 (20110527/tbfadt-517)
Jul 10 15:06:18 localhost kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
Jul 10 15:06:18 localhost kernel: kbd1 at kbdmux0
Jul 10 15:06:18 localhost kernel: acpi0: <DELL WN09   > on motherboard
Jul 10 15:06:18 localhost kernel: acpi0: Power Button (fixed)
Reply With Quote
  #9  
Old July 10th, 2012, 15:16
jrm's Avatar
jrm jrm is offline
Member
 
Join Date: Nov 2008
Location: Tralfamadore
Posts: 524
Thanks: 63
Thanked 121 Times in 91 Posts
Default

Most laptops will have some acpi warnings. Have you seen Using and Debugging FreeBSD ACPI? It directs you to the same mailing list @wblock suggested.
Reply With Quote
  #10  
Old July 10th, 2012, 16:37
zodias zodias is offline
Junior Member
 
Join Date: Jan 2011
Location: Bulgaria, Sofia
Posts: 29
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I just restricted the maximum CPU frequency to 1,6GHz in /etc/rc.conf:

Code:
powerd_flags="-a adaptive -b minimum -M 1600"
Now the laptop is doing
Code:
# make -j8 buildworld && make -j8 buildkernel
and the temperature is between 60 and 70 grades in Celsius.
Code:
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 66,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 62,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 62,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 65,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 61,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 62,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 68,5C
localhost# sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 66,5C
localhost#
Reply With Quote
  #11  
Old July 18th, 2012, 16:34
da1 da1 is offline
Member
 
Join Date: Sep 2009
Location: Berlin,DE
Posts: 659
Thanks: 23
Thanked 48 Times in 44 Posts
Default

My Lenovo T420s goes to 97 degrees when compiling world .
Reply With Quote
  #12  
Old July 18th, 2012, 17:14
SR_Ind SR_Ind is offline
Member
 
Join Date: Feb 2009
Location: India, Kolkata
Posts: 114
Thanks: 3
Thanked 13 Times in 12 Posts
Default

zodias,

There are couple of old threads reporting this issue.

It is FreeBSD 9 only problem. I used to have this problem when running FreeBSD 9. This issue seem to have disappeared in FreeBSD 10.

Interestingly, I used think that HP/Compaq laptops are affected. But thread indicates even Dell and Lenovo users are affected.
Reply With Quote
Reply

Tags
laptop, overheat, powerd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] dell laptop with 1397 wifi mamalos Mobile Computing 3 August 1st, 2011 16:20
Working on WiFi (Dell 1750 laptop) ReAX222 Mobile Computing 22 April 23rd, 2011 01:35
FreeBSD 8.1 32 bits on my Dell Inspiron laptop - Need clarifications ganeshmallyap Mobile Computing 4 January 11th, 2011 05:41
Dell Laptop USB Controller zac Mobile Computing 3 October 7th, 2009 18:39
Dell 15n hardware biszkhopt Mobile Computing 2 August 24th, 2009 06:01


All times are GMT +1. The time now is 08:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0