From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 11:38:44 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C02F4106564A for ; Sun, 9 May 2010 11:38:44 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id A962D8FC0C for ; Sun, 9 May 2010 11:38:42 +0000 (UTC) Received: from park.js.berklix.net (p549A602F.dip.t-dialin.net [84.154.96.47]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id o49Bbq7g059497; Sun, 9 May 2010 11:38:36 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id o49Bbipa055373; Sun, 9 May 2010 13:37:44 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id o49BbYIH035739; Sun, 9 May 2010 13:37:39 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201005091137.o49BbYIH035739@fire.js.berklix.net> To: Nathan BIAGINI From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sun, 09 May 2010 11:20:27 +0200." Date: Sun, 09 May 2010 13:37:34 +0200 Sender: jhs@berklix.com Cc: freebsd-mobile@freebsd.org Subject: Re: high cpu temp and fan speed problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2010 11:38:44 -0000 Nathan BIAGINI wrote: > Hi, > > i bought a hp pavilion dv6-1123ef laptop and i've installed FreeBSD 8.0 on > it. Everything work except one think : i can't do high-cpu task. The problem > is when i run a high-cpu task (no very high in fact), my cpu temperature can > increase to 90°C and when it's the case, system go down. Further, i heard > the fans are running. When i work on windows (short time), i never had this > kind of problem so i think is may be a kernel config problem. > > I precise that when i want to run mbmon to minitor cpu temp and fan speed > (compiled form the ports), it return an unknow error like what no hardware > monitor is found, the cause of my problem? > > Thanks for helping. > PS : sorry if i'm not really clear but english isn't my native language. All understandable, except 2nd para. needs: s/I precise/I presume/ :-) Others know power better than me, but here's a first answer, mouse copied from my laptop, to search for keyword to read manuals for, while you wait for better answers :-) man powerd # try powerd -v sysctl -a | grep acpi man acpi My /boot/loader.conf # man loader.conf acpi_toshiba_load="YES" # apm_load="YES" boot_verbose="yes" # Collect more info to later tune debug.bootverbose="1" # Variable shown by sysctl -a. # one of those 2 verbose is old syntax I think My /etc/rc.conf # See also /etc/defaults/rc.conf # apm_enable="NO" # Set to YES to enable APM BIOS functions (or NO). # apmd_enable="NO" # Run apmd to handle APM event from userland. # apmd_flags="" # Flags to apmd (if enabled). powerd_enable="YES" # /etc/defaults/rc.conf = "NO" powerd_flags="-a hiadaptive -b adaptive -n adaptive" # -a maximum # too hot underneath, & USB2 cardbus might cook. # -b minimum # just for max life if editing & not processing # man powerd: Default adaptive for battery and hiadaptive for the rest. # sysctl dev.cpu.0.freq # shows 300 to 1900 case $hostname in #{ homehostname) powerd_flags="-a adaptive -b minimum -n minimum" # Less Heat ; no_net_hostname) # powerd_flags="-a maximum -b adaptive -n adaptive" # More Perf powerd_flags="-a adaptive -b minimum -n minimum" # Less Heat # powerd I may be at a lake. No power. ; esac # } Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text, Not HTML quoted-printable Base64 http://www.asciiribbon.org