From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 09:46:26 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 C2198106567A for ; Sun, 9 May 2010 09:46:26 +0000 (UTC) (envelope-from nathan.open@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 56C968FC26 for ; Sun, 9 May 2010 09:46:25 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so884313fgb.13 for ; Sun, 09 May 2010 02:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=NkHxtKmgLYhpRAuuMZmYv2PWUDJha4zRkAEOr9hwE+w=; b=gdOMTETSrXQFwkvqhSJ6MstNa4fh4RGXjGFBmrvdY38mP7IJ+1NVAKfztSnCf626Yz Ecx0hS3iVqFHjWQEdKWueW0eM2l6WQ8h0+OUtEfumJjvU34xqFQb1EbOXaWb3ljjut9R Z7YGx4SN0NV1i7Rkgup5/YY6qRhHzptdxCh5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TEgOYFH5fS2/Rlyiwt9Datvezoi7CqhcJYeSzXAW8RjFCEP8dmJ804E42+UyP9skMn Padw2DKJlcCypvKjuKL2O88uGsWT3dKnUKwjTI/rcFRqQ84gy2JSdH3qxyZAhPRbE0xm ipsN4PuVN9V7VF6bNY6zHhgZ9L8PMC8Yig+hA= MIME-Version: 1.0 Received: by 10.87.8.4 with SMTP id l4mr7328039fgi.1.1273396827264; Sun, 09 May 2010 02:20:27 -0700 (PDT) Received: by 10.86.76.10 with HTTP; Sun, 9 May 2010 02:20:27 -0700 (PDT) Date: Sun, 9 May 2010 11:20:27 +0200 Message-ID: From: Nathan BIAGINI To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 09:46:26 -0000 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 proble= m is when i run a high-cpu task (no very high in fact), my cpu temperature ca= n increase to 90=B0C 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. 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 From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 13:07:23 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 E876D1065672 for ; Sun, 9 May 2010 13:07:23 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 63B458FC18 for ; Sun, 9 May 2010 13:07:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o49D7Lwp062273; Sun, 9 May 2010 23:07:21 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 9 May 2010 23:07:21 +1000 (EST) From: Ian Smith To: Nathan BIAGINI In-Reply-To: Message-ID: <20100509223810.X22612@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-285408726-1273409253=:22612" Content-ID: <20100509224839.G22612@sola.nimnet.asn.au> 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 13:07:24 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-285408726-1273409253=:22612 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <20100509224839.C22612@sola.nimnet.asn.au> On Sun, 9 May 2010, 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. Sounds perhaps similar to some recent issues, but first we need to know more about your laptop .. please show output of: % sysctl hw.acpi % sysctl dev.cpu % grep -i acpi /var/run/dmesg.boot > 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? mbmon only works with some hardware, and then needs tweaking sometimes; worry about that if it doesn't look like an acpi and/or cpufreq issue. Temperature at least should be shown by sysctl dev.cpu.N.temperature. > Thanks for helping. > > PS : sorry if i'm not really clear but english isn't my native language. You're doing fine. cheers, Ian --0-285408726-1273409253=:22612-- From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 14:13:08 2010 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21A0B1065675 for ; Sun, 9 May 2010 14:13:08 +0000 (UTC) (envelope-from apache@mx1.ec-computer.com) Received: from mx1.ec-computer.com (mx1.ec-computer.com [59.188.29.228]) by mx1.freebsd.org (Postfix) with ESMTP id 6ED098FC1B for ; Sun, 9 May 2010 14:13:07 +0000 (UTC) Received: by mx1.ec-computer.com (Postfix, from userid 81) id B650E3C107; Sun, 9 May 2010 21:50:13 +0800 (HKT) To: mobile@freebsd.org From: kennylam@ec-computer.com Errors-to: kennylam@ec-computer.com X-Mailer: PHP/5.1.4-pl0-gentoo Precedence: Bulk Auto-Submitted: auto-generated Message-Id: <20100509135013.B650E3C107@mx1.ec-computer.com> Date: Sun, 9 May 2010 21:50:13 +0800 (HKT) Cc: Subject: [Wholesale & Business News in Asia and China] Comment Authorization Request X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Reply-To: kennylam@ec-computer.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2010 14:13:08 -0000 A comment on Wholesale & Business News in Asia and China was posted using this email address: ----- The wine had relaxed me quite a bit naked sister caught storieshttp://www.thesquarelife.com/cwy21/cenom.html and I was proud of myself that I transitive and intransitive verb lesson planvagiana by the bank it is not against american eagle outfitters mission statement1968 chevrolet impala caprice hideaway headlights the Federal Government. If the bank is missouri nude govenorkylie worthy sexy pics able to keep from telling friends. She knew that within days, she would ----- To approve this comment, please visit this URL: http://www.asia-product.com/blog/moderation.php?id=1530651&x=703fac5162eeb774a16950cc196ab292 To cancel this comment, please visit this URL: http://www.asia-product.com/blog/moderation.php?id=1530651&x=703fac5162eeb774a16950cc196ab292&reject=TRUE From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 16:23:21 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 BB5A0106566C for ; Sun, 9 May 2010 16:23:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 1DA858FC0A for ; Sun, 9 May 2010 16:23:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o49GNJSw071285; Mon, 10 May 2010 02:23:19 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 10 May 2010 02:23:19 +1000 (EST) From: Ian Smith To: Nathan BIAGINI Message-ID: <20100510021753.E22612@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: MULTIPART/Mixed; BOUNDARY="0-1723867758-1273421476=:22612" Content-ID: <20100510021753.B22612@sola.nimnet.asn.au> 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 16:23:21 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1723867758-1273421476=:22612 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <20100510021753.T22612@sola.nimnet.asn.au> Nathan, I replied without noticing that you had not copied the list; I don't mind direct replies, but please keep the list in the ccs. On Sun, 9 May 2010, Nathan BIAGINI wrote: > 2010/5/9 Ian Smith > > > On Sun, 9 May 2010, 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. > > > > Sounds perhaps similar to some recent issues, but first we need to know > > more about your laptop .. please show output of: > > > > % sysctl hw.acpi > > % sysctl dev.cpu > > % grep -i acpi /var/run/dmesg.boot Sorry, my 8.0 laptop is memtesting new RAM today so I didn't check that. Still need to know what make/model CPU it has, and what cpufreq drivers it uses .. can you post the whole dmesg.boot ? (just plain, not verbose) > > > 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? > > > > mbmon only works with some hardware, and then needs tweaking sometimes; > > worry about that if it doesn't look like an acpi and/or cpufreq issue. > > > > Temperature at least should be shown by sysctl dev.cpu.N.temperature. Oops again - that should say hw.acpi.tz0.temperature (as below) > Thanks for your help. I'm new in the world of UNIX and FreeBSD ;) > > I've joined the outputs of the commands in this message. Ok. If things aren't too big they're perhaps better posted inline, so I'll quote a few bits that look a bit strange regarding temperatures: > acpi_tz0: _CRT value is absurd, ignored (-273.2C) .. > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 56.0C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 1 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: 135.0C <<<--- > hw.acpi.thermal.tz0._HOT: 90.0C <<<--- > hw.acpi.thermal.tz0._CRT: -1 <<<--- > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: 2 > hw.acpi.thermal.tz0._TC2: 5 > hw.acpi.thermal.tz0._TSP: 50 > hw.acpi.cpu.cx_lowest: C1 The _PSV (passive cooling) temp is 'absurd' also; it certainly should be lower than _HOT - which looks possibly right at 90C - and _CRT (critical shutdown) definitely should be there, probably <= 100C. Is it running the latest available BIOS update? > dev.cpu.0.freq: 250 > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > 1000/17500 750/13125 500/8750 250/4375 > dev.cpu.0.cx_supported: C1/1 C2/57 > dev.cpu.0.cx_lowest: C1 Maybe more about these after seeing your dmesg.boot .. cheers, Ian --0-1723867758-1273421476=:22612-- From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 17:19:02 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 782271065670 for ; Sun, 9 May 2010 17:19:02 +0000 (UTC) (envelope-from nathan.open@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id F20868FC08 for ; Sun, 9 May 2010 17:19:01 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so302780fge.13 for ; Sun, 09 May 2010 10:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=C2hhp4l5MUljinNESKuImrvzk6tqpPzOf/z4a01hANw=; b=QyuXd/FRnn8WHUahxK3645ZEBPQcbr0DvBIlMy6lpS60hoBiZI70426ybutCGg3hJH a+8T70ltiqZifmuCsvjC/ktGd0+iEgmR1ZeECjKkg4laBTpk0K3iW9wP8k9nk6gVlxFa z81FwZ8imgx1038sTEIKVfnVZrNq2euCLPanc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cjcpj9ZAhRugKdAheoVSicDjcPmMegUcXY7JNyfWuAeMBtppz5UlEmB6Tn2cD48adY CiftfplL7PREhYkS2jQkmbmvIo+8J28DIlP5ge0CuwDGhPRr30P4Au1NKYk0u1pVKB33 eINJzuIFY3OjlF9t4zhpZ4uJsWhRK96wxEGys= MIME-Version: 1.0 Received: by 10.87.47.3 with SMTP id z3mr7752832fgj.74.1273425540854; Sun, 09 May 2010 10:19:00 -0700 (PDT) Received: by 10.86.76.10 with HTTP; Sun, 9 May 2010 10:19:00 -0700 (PDT) In-Reply-To: <20100510021753.E22612@sola.nimnet.asn.au> References: <20100510021753.E22612@sola.nimnet.asn.au> Date: Sun, 9 May 2010 19:19:00 +0200 Message-ID: From: Nathan BIAGINI To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 17:19:02 -0000 2010/5/9 Ian Smith > Nathan, I replied without noticing that you had not copied the list; I > don't mind direct replies, but please keep the list in the ccs. > > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > 2010/5/9 Ian Smith > > > > > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > > > Hi, > > > > > > > > i bought a hp pavilion dv6-1123ef laptop and i've installed FreeB= SD > 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=B0C and when it's the case, system go down. Furthe= r, i > > > heard > > > > the fans are running. When i work on windows (short time), i neve= r > had > > > this > > > > kind of problem so i think is may be a kernel config problem. > > > > > > Sounds perhaps similar to some recent issues, but first we need to > know > > > more about your laptop .. please show output of: > > > > > > % sysctl hw.acpi > > > % sysctl dev.cpu > > > % grep -i acpi /var/run/dmesg.boot > > Sorry, my 8.0 laptop is memtesting new RAM today so I didn't check that. > Still need to know what make/model CPU it has, and what cpufreq drivers > it uses .. can you post the whole dmesg.boot ? (just plain, not verbose) > > > > > I precise that when i want to run mbmon to minitor cpu temp and f= an > > > speed > > > > (compiled form the ports), it return an unknow error like what no > > > hardware > > > > monitor is found, the cause of my problem? > > > > > > mbmon only works with some hardware, and then needs tweaking > sometimes; > > > worry about that if it doesn't look like an acpi and/or cpufreq issu= e. > > > > > > Temperature at least should be shown by sysctl dev.cpu.N.temperature= . > > Oops again - that should say hw.acpi.tz0.temperature (as below) > > > Thanks for your help. I'm new in the world of UNIX and FreeBSD ;) > > > > I've joined the outputs of the commands in this message. > > Ok. If things aren't too big they're perhaps better posted inline, so > I'll quote a few bits that look a bit strange regarding temperatures: > > > acpi_tz0: _CRT value is absurd, ignored (-273.2C) > .. > > hw.acpi.thermal.min_runtime: 0 > > hw.acpi.thermal.polling_rate: 10 > > hw.acpi.thermal.user_override: 0 > > hw.acpi.thermal.tz0.temperature: 56.0C > > hw.acpi.thermal.tz0.active: -1 > > hw.acpi.thermal.tz0.passive_cooling: 1 > > hw.acpi.thermal.tz0.thermal_flags: 0 > > hw.acpi.thermal.tz0._PSV: 135.0C <<<--- > > hw.acpi.thermal.tz0._HOT: 90.0C <<<--- > > hw.acpi.thermal.tz0._CRT: -1 <<<--- > > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > > hw.acpi.thermal.tz0._TC1: 2 > > hw.acpi.thermal.tz0._TC2: 5 > > hw.acpi.thermal.tz0._TSP: 50 > > hw.acpi.cpu.cx_lowest: C1 > > The _PSV (passive cooling) temp is 'absurd' also; it certainly should be > lower than _HOT - which looks possibly right at 90C - and _CRT (critical > shutdown) definitely should be there, probably <=3D 100C. > > Is it running the latest available BIOS update? > > > dev.cpu.0.freq: 250 > > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > > 1000/17500 750/13125 500/8750 250/4375 > > dev.cpu.0.cx_supported: C1/1 C2/57 > > dev.cpu.0.cx_lowest: C1 > > Maybe more about these after seeing your dmesg.boot .. > > cheers, Ian > Ok, so. I tried to understand. The whole dmesg.boot file : http://pastebin.com/U4p8Y8Pi (inline ,)) I don't really know if i have the last available BIOS version, i never upgrade it manually... Now, i read the acpi man page and i don't see anything concerning hw.acpi.tz0.temperature, it is a sysctl option? _HOT should be set to 90=B0C and _PSV should be set to a less value than _H= OT? and _CRT to a greater value? 100=B0C. I understand there is a problem with this values but i don't understand how i have to set them. From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 23:09:14 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 9312B106566B for ; Sun, 9 May 2010 23:09:14 +0000 (UTC) (envelope-from gaijin.k@ovi.com) Received: from outbound2.messaging.lotuslive.com (outbound2.messaging.lotuslive.com [8.12.152.118]) by mx1.freebsd.org (Postfix) with ESMTP id 7299C8FC08 for ; Sun, 9 May 2010 23:09:14 +0000 (UTC) Received: from outbound2.messaging.lotuslive.com (44.32.6.10.in-addr.arpa [10.6.32.44]) by c-in3ofal02-02.sv2.lotusliveops.com (Postfix) with ESMTP id DA17A11B0CC6 for ; Sun, 9 May 2010 22:57:20 +0000 (GMT) Received: from c-in3ofil02-01.sv2.lotusliveops.com (48.32.6.10.in-addr.arpa [10.6.32.48]) by c-in3obnd02-02.sv2.lotusliveops.com (Postfix) with ESMTP id 34A982FEB8 for ; Sun, 9 May 2010 22:57:20 +0000 (GMT) Received: from 74.32.6.10.in-addr.arpa (c-in3ws--02-01.sv2.lotusliveops.com [10.6.32.74]) (sender gaijin.k@ovi.com) by c-in3ofil02-01.sv2.lotusliveops.com (LotusLive iNotes outfilter/0.91) with SMTP; Sun, 09 May 2010 22:57:20 +0000 Received: (qmail 2504 invoked from network); 9 May 2010 22:57:20 -0000 X-ob-auth: gaijin.k:ovi.com@ovi.com Received: from unknown (HELO c-in3play02-05.sv2.lotusliveops.com) (gaijin.k@ovi.com@74.105.210.169) by 74.32.5.10.in-addr.arpa with SMTP; 9 May 2010 22:57:19 -0000 From: "Alexandre \"Sunny\" Kovalenko" To: Ian Smith In-Reply-To: <20100510021753.E22612@sola.nimnet.asn.au> References: <20100510021753.E22612@sola.nimnet.asn.au> Content-Type: text/plain; charset="UTF-8" Date: Sun, 09 May 2010 18:56:56 -0400 Message-ID: <1273445816.1599.13.camel@RabbitsDen> MIME-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Nathan BIAGINI , 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 23:09:14 -0000 On Mon, 2010-05-10 at 02:23 +1000, Ian Smith wrote: > Nathan, I replied without noticing that you had not copied the list; I=20 > don't mind direct replies, but please keep the list in the ccs. >=20 > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > 2010/5/9 Ian Smith > >=20 > > > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > > > Hi, > > > > > > > > i bought a hp pavilion dv6-1123ef laptop and i've installed FreeB= SD 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 temp= erature > > > can > > > > increase to 90=C2=B0C and when it's the case, system go down. Fur= ther, i > > > heard > > > > the fans are running. When i work on windows (short time), i neve= r had > > > this > > > > kind of problem so i think is may be a kernel config problem. > > > > > > Sounds perhaps similar to some recent issues, but first we need to k= now > > > more about your laptop .. please show output of: > > > > > > % sysctl hw.acpi > > > % sysctl dev.cpu > > > % grep -i acpi /var/run/dmesg.boot >=20 > Sorry, my 8.0 laptop is memtesting new RAM today so I didn't check that.= =20 > Still need to know what make/model CPU it has, and what cpufreq drivers= =20 > it uses .. can you post the whole dmesg.boot ? (just plain, not verbose) >=20 > > > > I precise that when i want to run mbmon to minitor cpu temp and f= an > > > speed > > > > (compiled form the ports), it return an unknow error like what no > > > hardware > > > > monitor is found, the cause of my problem? > > > > > > mbmon only works with some hardware, and then needs tweaking sometim= es; > > > worry about that if it doesn't look like an acpi and/or cpufreq issu= e. > > > > > > Temperature at least should be shown by sysctl dev.cpu.N.temperature. >=20 > Oops again - that should say hw.acpi.tz0.temperature (as below) >=20 > > Thanks for your help. I'm new in the world of UNIX and FreeBSD ;) > >=20 > > I've joined the outputs of the commands in this message. >=20 > Ok. If things aren't too big they're perhaps better posted inline, so=20 > I'll quote a few bits that look a bit strange regarding temperatures: >=20 > > acpi_tz0: _CRT value is absurd, ignored (-273.2C) Looks like _CRT returns 1 (one), which, definitely, is absurd. Nathan, you can dump your ASL (read instructions in the handbook) and post it somewhere for people to look at.=20 I would suggest you give some thought to the fact that changes to ASL, even well intentioned ones, could, theoretically, damage your hardware, so if you are not willing to make changes and override ASL on boot, most of this is an academic exercise, and could be skipped altogether.=20 Now, I have done it [overriding ASL] in the past to my own hardware and know few other people who have done it with the positive results, but this is your choice and you need to go into it with your eyes open. Additional information could be found in the thermal chapter of the ACPI specification, which could be be read separately and has very useful and well-commented example. --=20 Alexandre Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80= =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) -------------------------------------------------------------- Ovi Mail: Get mail on your mobile or the web http://mail.ovi.com From owner-freebsd-mobile@FreeBSD.ORG Sun May 9 23:29:26 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 B2D481065670 for ; Sun, 9 May 2010 23:29:26 +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 526878FC08 for ; Sun, 9 May 2010 23:29:25 +0000 (UTC) Received: from park.js.berklix.net (p549A7A97.dip.t-dialin.net [84.154.122.151]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id o49NTNcd067382; Sun, 9 May 2010 23:29:23 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 o49NTBMG058150; Mon, 10 May 2010 01:29:12 +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 o49NSiVI045698; Mon, 10 May 2010 01:29:07 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201005092329.o49NSiVI045698@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 14:45:22 +0200." Date: Mon, 10 May 2010 01:28:44 +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 23:29:26 -0000 Hi Nathan, I restored cc freebsd-mobile@freebsd.org & converted top post to bottom post. Reference: > From: Nathan BIAGINI > Date: Sun, 9 May 2010 14:45:22 +0200 > To: "Julian H. Stacey" > > 2010/5/9, Julian H. Stacey : > > 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. > > > "Julian H. Stacey" wrote: > > 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 Nathan BIAGINI wrote Sun, 9 May 2010 14:45:22 +0200: > Thanks for it Julian. Powerd in adaptive mode don't solve anything. I I suppose not, if you've given it a long compile intensive task. ( Though it keeps my laptop cooler to the touch when idling, & sysctl dev.cpu.0.freq reports 300 instead of 1900, ie 16%, ( & if one assumes CMOS power is a square of frequency, I suppose my CPU might be consuming 300^2 / 1900^2 ie 2.5% )) > add acpi_intel_load="YES" in my loader.conf file and i'm trying to > understand most of the command specified on acpi manual. > > Other idea, it is maybe a problem with the fans. The fans frequency is > may be to small, i will try to learn more about that. A lots of sysctl values are read only, you can not set them. I assume one cannot set fan speed by sysctl (though I've seen tower PCs. with manual speed control knobs at the back) I assume one also cannot set some temperatures, except eg power down threshold, Maybe your fan has a stiff bearing when hot, or fluff in air line. Try turning off & spinning fan with a small stick (or flexible plastic refill of a Biro (ball point pen). When not mobile, (& thus powered, from mains 220V, & may be running long at full speed) I place my laptop on larger feet, to allow more air under (especially as cantilevered laptop stand has raised folded metal sides that block air). My cardbus also gets very hot, & has crashed my laptop before, I use an external powered USB hub to avoid my cardbus also having to power external USB devices (Each USB socket can provide up to 5V x 0.5A = 2.5W). Some cheap laptops [used to] use CPUs sold for towers, they needed more air cooling. I guess CPUs still come in ranges of power consumption that may tempt laptop manufacturers to design for one CPU, then get desperate on price, & build in cheaper hotter chips. > The mbmon soft alway return the same error and i don't find anything > on google about this error (only halt answer). Mbmon doesnt work on my laptop either (but fan rarely goes on in idel with powerd) PS I see quite a lot of "cdev=apm" & "Processing event '!system=ACPI subsystem=Thermal type=\_TZ_.THRM notify=0x80'" entries with devd (replacement of USBD on older FreeBSD). Maybe check if you have devd running (devd fails if there is a syntax error in config file). > So now i will read manual on my noisy laptop :-) I too should again read man acpi_thermal 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 From owner-freebsd-mobile@FreeBSD.ORG Mon May 10 07:23:12 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 082821065672 for ; Mon, 10 May 2010 07:23:12 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 30BF48FC1E for ; Mon, 10 May 2010 07:23:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o4A7MvRH014211; Mon, 10 May 2010 17:22:58 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 10 May 2010 17:22:57 +1000 (EST) From: Ian Smith To: Nathan BIAGINI In-Reply-To: Message-ID: <20100510150130.A22612@sola.nimnet.asn.au> References: <20100510021753.E22612@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-778412672-1273470225=:22612" Content-ID: <20100510155221.F22612@sola.nimnet.asn.au> Cc: "Julian H. Stacey" , "Alexandre \"Sunny\" Kovalenko" , 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: Mon, 10 May 2010 07:23:12 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-778412672-1273470225=:22612 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <20100510155221.C22612@sola.nimnet.asn.au> On Sun, 9 May 2010, Nathan BIAGINI wrote: > 2010/5/9 Ian Smith > > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > > 2010/5/9 Ian Smith > > > > > > > On Sun, 9 May 2010, 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. [.. trimming a bit] > > > > Sounds perhaps similar to some recent issues, but first we need to > > know > > > > more about your laptop .. please show output of: > > > > > > > > % sysctl hw.acpi > > > > % sysctl dev.cpu > > > > % grep -i acpi /var/run/dmesg.boot > > > > Sorry, my 8.0 laptop is memtesting new RAM today so I didn't check that. > > Still need to know what make/model CPU it has, and what cpufreq drivers > > it uses .. can you post the whole dmesg.boot ? (just plain, not verbose) [..] > > Ok. If things aren't too big they're perhaps better posted inline, so > > I'll quote a few bits that look a bit strange regarding temperatures: > > > > > acpi_tz0: _CRT value is absurd, ignored (-273.2C) > > .. > > > hw.acpi.thermal.min_runtime: 0 > > > hw.acpi.thermal.polling_rate: 10 > > > hw.acpi.thermal.user_override: 0 > > > hw.acpi.thermal.tz0.temperature: 56.0C > > > hw.acpi.thermal.tz0.active: -1 > > > hw.acpi.thermal.tz0.passive_cooling: 1 > > > hw.acpi.thermal.tz0.thermal_flags: 0 > > > hw.acpi.thermal.tz0._PSV: 135.0C <<<--- > > > hw.acpi.thermal.tz0._HOT: 90.0C <<<--- > > > hw.acpi.thermal.tz0._CRT: -1 <<<--- > > > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > > > hw.acpi.thermal.tz0._TC1: 2 > > > hw.acpi.thermal.tz0._TC2: 5 > > > hw.acpi.thermal.tz0._TSP: 50 > > > hw.acpi.cpu.cx_lowest: C1 > > > > The _PSV (passive cooling) temp is 'absurd' also; it certainly should be > > lower than _HOT - which looks possibly right at 90C - and _CRT (critical > > shutdown) definitely should be there, probably <= 100C. > > > > Is it running the latest available BIOS update? > > > > > dev.cpu.0.freq: 250 > > > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > > > 1000/17500 750/13125 500/8750 250/4375 > > > dev.cpu.0.cx_supported: C1/1 C2/57 > > > dev.cpu.0.cx_lowest: C1 > > > > Maybe more about these after seeing your dmesg.boot .. > > > > cheers, Ian > > > > Ok, so. I tried to understand. > > The whole dmesg.boot file : http://pastebin.com/U4p8Y8Pi (inline ,)) Thanks. By 'inline' I meant you could have included it in your message, but that's ok. Here are the bits I was really interested to know: ======= FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC [ is this i386 or amd64? Either will run on this machine, and I find it a bit annoying that the above line never tells .. 'uname -a' will ] CPU: Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz (1995.24-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant real memory = 3221225472 (3072 MB) avail memory = 3143438336 (2997 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 [ aside: does anyone know what 'TSC: P-state invariant' means? ] acpi_tz0: on acpi0 acpi_tz0: _CRT value is absurd, ignored (-273.2C) atrtc0: port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. [ not sure if that atrtc0: Warning is significant? ] cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 ======= Right, it's a Core2 Duo at 2GHz, using est (absolute) frequency control, and p4tcc (relative) frequency thermal control. See cpufreq(4) ie 'man cpufreq'. This combination seems to be a problem for these in some recent machines. While at 250MHz it should be using only 4.375 watts, that doesn't seem to be working right on these, and you may be better off (regarding heat) using the fewer frequencies provided just by est. ======= dev.cpu.0.freq: 250 dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 1000/17500 750/13125 500/8750 250/4375 dev.cpu.0.cx_supported: C1/1 C2/57 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% last 500us ======= So, cpufreq seems only to be seeing your 2000 frequency, and each of these other frequencies are 7/8, 6/8 .. 1/8 of 2000MHz, generated by p4tcc, which seems odd, unless 1000 is a 'real' supported frequency? Please try adding the following lines to your /boot/loader.conf and rebooting, then paste what 'sysctl dev.cpu' says after that? Also check if just doing this makes any difference to your overheating issue, as it has for some people. hint.p4tcc.0.disable="1" hint.acpi_throttle.0.disable="1" hint.p4tcc.1.disable="1" hint.acpi_throttle.1.disable="1" You need both pairs; if you just disable p4tcc, acpi_throttle would attach and provide those same frequencies, so would be no advantage. You may also find 'Fighting for the power' by Alexander Motin useful, in particular enabling your available C2 state to reduce idle power use: http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006436.html > I don't really know if i have the last available BIOS version, i never > upgrade it manually... If you boot into your BIOS setup, what BIOS version does it show? According to the HP website for your model, there's only a BIOS update for models running AMD processors, none mentioned for the Intel ones - and even then, of course, only for various versions of Windows. http://h10061.www1.hp.com/ccsearch/search?method=mainQuery&qry=BIOS&pname=HP+Pavilion+dv6-1123ef+Entertainment+Notebook+PC&ptype=consumer&stype=pn&spname=HP+Pavilion+dv6-1123ef+Entertainment+Notebook+PC&spid=3949647&productBigSeriesOid=3837240&pid=3949646&temp_hql=s-001%2Cs-002%2Cs-004%2Cs-003%2Cs-007%2Cs-017%2Cz-001&product_line_code=KV&lang=en&ctry=nl&dlc=nl&mode=fb&uqry=&pname_desc=HP+Pavilion+dv6-1123ef+Entertainment+Notebook+PC and http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01056794&cc=nl&lc=en&dlc=nl&product=3949647 If you are running the latest BIOS, which seems likely, then you might need to modify your ASL, in which case pay very good attention to what Alexandre says about that; he can very likely help if you are prepared to experiment a bit. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html (but no need to bother the freebsd-acpi list with this, not yet anyway) > Now, i read the acpi man page and i don't see anything concerning > hw.acpi.tz0.temperature, it is a sysctl option? See acpi_thermal(4) > _HOT should be set to 90°C and _PSV should be set to a less value than _HOT? > and _CRT to a greater value? 100°C. I understand there is a problem with > this values but i don't understand how i have to set them. You can adjust _PSV, but not _HOT nor _CRT, unless you modify the ASL. Of course, Julian's advice about making sure there's no dust or fluff etc blocking your fan airways and heatsink is good too; spending a can of compressed air has helped people where that has been an issue. cheers, Ian --0-778412672-1273470225=:22612-- From owner-freebsd-mobile@FreeBSD.ORG Mon May 10 17:32:35 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 2C916106566B for ; Mon, 10 May 2010 17:32:35 +0000 (UTC) (envelope-from nathan.open@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 677A68FC20 for ; Mon, 10 May 2010 17:32:34 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1216805fgb.13 for ; Mon, 10 May 2010 10:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=QUHQpnE9kQJPKblbq4sa2UBZx8JY/zvknJGokdFfg20=; b=m7yhYZd1Tc3LvNyVnBamTDFo4MEUpU6Bi/XVU4Li18KwbaX/9R+M4NTSKdS5WOt3mK uPHsgXu0AIKAP4PmZjb5dQrxfE7rC3rAeb2jsWRWbcy9/HTAfY5G+fyoR9XaVaSdBzjW IE0IeRbkeWlIxSZnKuib2u0F+cxa48UQQg324= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZGDoG39sb98ArswwfxlUoZpaSziX59PRcqM3UY8AzmcNu2gbGCOPNfSHvm6BDX4oqt m5XTr64/7BkSENnNxPnog2RrhLAYViAfvW070jL4HUvwzB0/Xv3vht2TFaGrpjmNADI9 D5U60zxPkfAjdeHRfXBQRTvrgtxSWi2DliMxs= MIME-Version: 1.0 Received: by 10.86.239.14 with SMTP id m14mr10011079fgh.78.1273512753180; Mon, 10 May 2010 10:32:33 -0700 (PDT) Received: by 10.86.76.10 with HTTP; Mon, 10 May 2010 10:32:33 -0700 (PDT) In-Reply-To: <20100510150130.A22612@sola.nimnet.asn.au> References: <20100510021753.E22612@sola.nimnet.asn.au> <20100510150130.A22612@sola.nimnet.asn.au> Date: Mon, 10 May 2010 19:32:33 +0200 Message-ID: From: Nathan BIAGINI To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Mon, 10 May 2010 17:32:35 -0000 2010/5/10 Ian Smith > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > 2010/5/9 Ian Smith > > > On Sun, 9 May 2010, Nathan BIAGINI wrote: > > > > 2010/5/9 Ian Smith > > > > > > > > > On Sun, 9 May 2010, 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=B0C 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= . > [.. trimming a bit] > > > > > Sounds perhaps similar to some recent issues, but first we need > to > > > know > > > > > more about your laptop .. please show output of: > > > > > > > > > > % sysctl hw.acpi > > > > > % sysctl dev.cpu > > > > > % grep -i acpi /var/run/dmesg.boot > > > > > > Sorry, my 8.0 laptop is memtesting new RAM today so I didn't check > that. > > > Still need to know what make/model CPU it has, and what cpufreq > drivers > > > it uses .. can you post the whole dmesg.boot ? (just plain, not > verbose) > [..] > > > Ok. If things aren't too big they're perhaps better posted inline, = so > > > I'll quote a few bits that look a bit strange regarding temperatures= : > > > > > > > acpi_tz0: _CRT value is absurd, ignored (-273.2C) > > > .. > > > > hw.acpi.thermal.min_runtime: 0 > > > > hw.acpi.thermal.polling_rate: 10 > > > > hw.acpi.thermal.user_override: 0 > > > > hw.acpi.thermal.tz0.temperature: 56.0C > > > > hw.acpi.thermal.tz0.active: -1 > > > > hw.acpi.thermal.tz0.passive_cooling: 1 > > > > hw.acpi.thermal.tz0.thermal_flags: 0 > > > > hw.acpi.thermal.tz0._PSV: 135.0C <<<--- > > > > hw.acpi.thermal.tz0._HOT: 90.0C <<<--- > > > > hw.acpi.thermal.tz0._CRT: -1 <<<--- > > > > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > > > > hw.acpi.thermal.tz0._TC1: 2 > > > > hw.acpi.thermal.tz0._TC2: 5 > > > > hw.acpi.thermal.tz0._TSP: 50 > > > > hw.acpi.cpu.cx_lowest: C1 > > > > > > The _PSV (passive cooling) temp is 'absurd' also; it certainly shoul= d > be > > > lower than _HOT - which looks possibly right at 90C - and _CRT > (critical > > > shutdown) definitely should be there, probably <=3D 100C. > > > > > > Is it running the latest available BIOS update? > > > > > > > dev.cpu.0.freq: 250 > > > > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/2187= 5 > > > > 1000/17500 750/13125 500/8750 250/4375 > > > > dev.cpu.0.cx_supported: C1/1 C2/57 > > > > dev.cpu.0.cx_lowest: C1 > > > > > > Maybe more about these after seeing your dmesg.boot .. > > > > > > cheers, Ian > > > > > > > Ok, so. I tried to understand. > > > > The whole dmesg.boot file : http://pastebin.com/U4p8Y8Pi (inline ,)) > > Thanks. By 'inline' I meant you could have included it in your message, > but that's ok. Here are the bits I was really interested to know: > > =3D=3D=3D=3D=3D=3D=3D > FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 > root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > [ is this i386 or amd64? Either will run on this machine, and I find it > a bit annoying that the above line never tells .. 'uname -a' will ] > > CPU: Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz (1995.24-MHz 686-cla= ss > CPU) > Origin =3D "GenuineIntel" Id =3D 0x6fd Stepping =3D 13 > > Features=3D0xbfebfbff CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=3D0xe39d > AMD Features=3D0x20100000 > AMD Features2=3D0x1 > TSC: P-state invariant > real memory =3D 3221225472 (3072 MB) > avail memory =3D 3143438336 (2997 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > > [ aside: does anyone know what 'TSC: P-state invariant' means? ] > > acpi_tz0: on acpi0 > acpi_tz0: _CRT value is absurd, ignored (-273.2C) > atrtc0: port 0x70-0x77 on acpi0 > atrtc0: Warning: Couldn't map I/O. > > [ not sure if that atrtc0: Warning is significant? ] > > cpu0: on acpi0 > est0: on cpu0 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > p4tcc1: on cpu1 > =3D=3D=3D=3D=3D=3D=3D > > Right, it's a Core2 Duo at 2GHz, using est (absolute) frequency control, > and p4tcc (relative) frequency thermal control. See cpufreq(4) ie 'man > cpufreq'. This combination seems to be a problem for these in some > recent machines. While at 250MHz it should be using only 4.375 watts, > that doesn't seem to be working right on these, and you may be better > off (regarding heat) using the fewer frequencies provided just by est. > > =3D=3D=3D=3D=3D=3D=3D > dev.cpu.0.freq: 250 > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > 1000/17500 750/13125 500/8750 250/4375 > dev.cpu.0.cx_supported: C1/1 C2/57 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% last 500us > =3D=3D=3D=3D=3D=3D=3D > > So, cpufreq seems only to be seeing your 2000 frequency, and each of > these other frequencies are 7/8, 6/8 .. 1/8 of 2000MHz, generated by > p4tcc, which seems odd, unless 1000 is a 'real' supported frequency? > > Please try adding the following lines to your /boot/loader.conf and > rebooting, then paste what 'sysctl dev.cpu' says after that? Also check > if just doing this makes any difference to your overheating issue, as it > has for some people. > > hint.p4tcc.0.disable=3D"1" > hint.acpi_throttle.0.disable=3D"1" > hint.p4tcc.1.disable=3D"1" > hint.acpi_throttle.1.disable=3D"1" > > You need both pairs; if you just disable p4tcc, acpi_throttle would > attach and provide those same frequencies, so would be no advantage. > > You may also find 'Fighting for the power' by Alexander Motin useful, in > particular enabling your available C2 state to reduce idle power use: > > http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006436.html > > > I don't really know if i have the last available BIOS version, i never > > upgrade it manually... > > If you boot into your BIOS setup, what BIOS version does it show? > > According to the HP website for your model, there's only a BIOS update > for models running AMD processors, none mentioned for the Intel ones > - and even then, of course, only for various versions of Windows. > > > http://h10061.www1.hp.com/ccsearch/search?method=3DmainQuery&qry=3DBIOS&p= name=3DHP+Pavilion+dv6-1123ef+Entertainment+Notebook+PC&ptype=3Dconsumer&st= ype=3Dpn&spname=3DHP+Pavilion+dv6-1123ef+Entertainment+Notebook+PC&spid=3D3= 949647&productBigSeriesOid=3D3837240&pid=3D3949646&temp_hql=3Ds-001%2Cs-002= %2Cs-004%2Cs-003%2Cs-007%2Cs-017%2Cz-001&product_line_code=3DKV&lang=3Den&c= try=3Dnl&dlc=3Dnl&mode=3Dfb&uqry=3D&pname_desc=3DHP+Pavilion+dv6-1123ef+Ent= ertainment+Notebook+PC > and > > http://h10025.www1.hp.com/ewfrf/wc/document?docname=3Dc01056794&cc=3Dnl&l= c=3Den&dlc=3Dnl&product=3D3949647 > > If you are running the latest BIOS, which seems likely, then you might > need to modify your ASL, in which case pay very good attention to what > Alexandre says about that; he can very likely help if you are prepared > to experiment a bit. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html > > (but no need to bother the freebsd-acpi list with this, not yet anyway) > > > Now, i read the acpi man page and i don't see anything concerning > > hw.acpi.tz0.temperature, it is a sysctl option? > > See acpi_thermal(4) > > > _HOT should be set to 90=B0C and _PSV should be set to a less value th= an > _HOT? > > and _CRT to a greater value? 100=B0C. I understand there is a problem = with > > this values but i don't understand how i have to set them. > > You can adjust _PSV, but not _HOT nor _CRT, unless you modify the ASL. > > Of course, Julian's advice about making sure there's no dust or fluff > etc blocking your fan airways and heatsink is good too; spending a can > of compressed air has helped people where that has been an issue. > > cheers, Ian Ok, thanks for it. The topic of Alexandre is very useful! So, i modify my loader.conf an rc.conf file by adding lines you told me to write (loader.conf) and lines to enable C2 and others to reduce number of sounds genertaed interrupts (see 'Fighting for the power' of Alexandre). I reboot and as you have asked me, the output of systcl dev.cpu after reboo= t : http://pastebin.com/bajvzy1W I tried to see how to behave my laptop (regarding fan noise and heat). Overall, i think it's a bit better, less noisy but not really perfect (sorr= y about my vagueness). I didn't do all steps of the topic of Alexandre and maybe after do them, it will be better again... I tried to do an high cpu task but same behavor, system shuting down (heat exceed 92=B0C, critical...) I will to learn more about acpi debug and ASL from the handbokk and share you more about these. From owner-freebsd-mobile@FreeBSD.ORG Wed May 12 05:56:03 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 7C816106566C for ; Wed, 12 May 2010 05:56:03 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C14CE8FC0C for ; Wed, 12 May 2010 05:56:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o4C5txtN046161; Wed, 12 May 2010 15:56:00 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 12 May 2010 15:55:59 +1000 (EST) From: Ian Smith To: Nathan BIAGINI In-Reply-To: Message-ID: <20100512145240.U22612@sola.nimnet.asn.au> References: <20100510021753.E22612@sola.nimnet.asn.au> <20100510150130.A22612@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1236003519-1273641855=:22612" Content-ID: <20100512152502.J22612@sola.nimnet.asn.au> Cc: "Alexandre \"Sunny\" Kovalenko" , 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: Wed, 12 May 2010 05:56:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1236003519-1273641855=:22612 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <20100512152502.I22612@sola.nimnet.asn.au> On Mon, 10 May 2010, Nathan BIAGINI wrote: > 2010/5/10 Ian Smith [..] > > cpu0: on acpi0 > > est0: on cpu0 > > p4tcc0: on cpu0 > > cpu1: on acpi0 > > est1: on cpu1 > > p4tcc1: on cpu1 > > ======= > > > > Right, it's a Core2 Duo at 2GHz, using est (absolute) frequency control, > > and p4tcc (relative) frequency thermal control. See cpufreq(4) ie 'man > > cpufreq'. This combination seems to be a problem for these in some > > recent machines. While at 250MHz it should be using only 4.375 watts, > > that doesn't seem to be working right on these, and you may be better > > off (regarding heat) using the fewer frequencies provided just by est. > > > > ======= > > dev.cpu.0.freq: 250 > > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > > 1000/17500 750/13125 500/8750 250/4375 > > dev.cpu.0.cx_supported: C1/1 C2/57 > > dev.cpu.0.cx_lowest: C1 > > dev.cpu.0.cx_usage: 100.00% 0.00% last 500us > > ======= > > > > So, cpufreq seems only to be seeing your 2000 frequency, and each of > > these other frequencies are 7/8, 6/8 .. 1/8 of 2000MHz, generated by > > p4tcc, which seems odd, unless 1000 is a 'real' supported frequency? > > > > Please try adding the following lines to your /boot/loader.conf and > > rebooting, then paste what 'sysctl dev.cpu' says after that? Also check > > if just doing this makes any difference to your overheating issue, as it > > has for some people. > > > > hint.p4tcc.0.disable="1" > > hint.acpi_throttle.0.disable="1" > > hint.p4tcc.1.disable="1" > > hint.acpi_throttle.1.disable="1" > > > > You need both pairs; if you just disable p4tcc, acpi_throttle would > > attach and provide those same frequencies, so would be no advantage. > > > > You may also find 'Fighting for the power' by Alexander Motin useful, in > > particular enabling your available C2 state to reduce idle power use: > > > > http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006436.html [..] > Ok, thanks for it. The topic of Alexandre is very useful! So, i modify my > loader.conf an rc.conf file by adding lines you told me to write > (loader.conf) and lines to enable C2 and others to reduce number of sounds > genertaed interrupts (see 'Fighting for the power' of Alexandre). Yes C2 should help overall, even on CPU-intensive tasks like buildworld, and advice on how to to power-down subsystems you're not using is handy. Is there any mention in your BIOS settings about 'C1E' or similar? > I reboot and as you have asked me, the output of systcl dev.cpu after > reboot : http://pastebin.com/bajvzy1W : dev.cpu.0.freq: 250 : dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 : 1000/17500 750/13125 500/8750 250/4375 : dev.cpu.0.cx_supported: C1/1 C2/57 : dev.cpu.0.cx_lowest: C2 : dev.cpu.0.cx_usage: 5.51% 94.48% last 229us Well now I'm confused, unless your C2D actually is really providing all of those frequencies out of the box, without any throttling driver? Are you sure that after booting with those hints in /boot/loader.conf (check: in /boot directory) that no lines at all are shown matching: % egrep 'p4tcc|acpi_throttle' /var/run/dmesg.boot If that shows nothing, then I've been way off-base about this .. > I tried to see how to behave my laptop (regarding fan noise and heat). > Overall, i think it's a bit better, less noisy but not really perfect (sorry > about my vagueness). > > I didn't do all steps of the topic of Alexandre and maybe after do them, it > will be better again... First, a little (understandable) confusion; the 'Fighting for the power' post was by AlexandER Motin (mav@freebsd.org), the developer of recent snd_hda and mods to the powerd algorithms, among other things. It was AlexandRE Kovalenko, note spelling, (cc'd), who replied offering to look through your BIOS ASL code if you dump it out and post it somewhere, as detailed on the ACPI debugging page. > I tried to do an high cpu task but same behavor, system shuting down (heat > exceed 92°C, critical...) Hmm, there was no 92C mentioned before; _HOT was 90C and I don't think FreeBSD uses _HOT at all, just _PSV and _CRT (any corrections welcome) > I will to learn more about acpi debug and ASL from the handbokk and share > you more about these. Good idea. Generating your ASL is simple using those instructions, and Alexandre has a track record at spotting problems, especially thermal, among others who might be interested in looking through it. But please confirm there's no mention of p4tcc or acpi_thermal in dmesg? cheers, Ian --0-1236003519-1273641855=:22612-- From owner-freebsd-mobile@FreeBSD.ORG Wed May 12 18:24:43 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9707B106564A for ; Wed, 12 May 2010 18:24:43 +0000 (UTC) (envelope-from nathan.open@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id E312C8FC0A for ; Wed, 12 May 2010 18:24:42 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so1529779fge.13 for ; Wed, 12 May 2010 11:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=PTOe4FkiNzYbDJZrYFD4OsPs6bVq8Pfk7K5JwY/c41k=; b=I7NZog9Xa+DdVgNzIMzrJjM11MdWd2WQFf/gWxcKa2TJpu7/cagY5kQfD6IKbEmXDN Isx9cSLKuhELGKgN4Wq6OljgQOiGt8w/SzWuTQb+Qe4/+d3DWJbjZO0+ytz2Eoca+pq5 nPVudXEUWM8lOZLMdIOW+NUkVBH9ub++DA+yY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bjvoaPhsn9/8evzrRNKY+IeBOn46Fl10vphnY7Bk3RRraRbO6Uvk7LDKXNM7dIFjb3 nxK08qUsAI/OcMf0KJf1Gt5FJeffRwZke2Zg6Rp1Q7GBTE17E1oGEHcl/oghdYPTJP2k t9hbSytN9Ojd1zhvRVdZLnwHF1BTeWCXr1egs= MIME-Version: 1.0 Received: by 10.87.74.15 with SMTP id b15mr15198843fgl.11.1273688681756; Wed, 12 May 2010 11:24:41 -0700 (PDT) Received: by 10.86.76.10 with HTTP; Wed, 12 May 2010 11:24:41 -0700 (PDT) In-Reply-To: <20100512145240.U22612@sola.nimnet.asn.au> References: <20100510021753.E22612@sola.nimnet.asn.au> <20100510150130.A22612@sola.nimnet.asn.au> <20100512145240.U22612@sola.nimnet.asn.au> Date: Wed, 12 May 2010 20:24:41 +0200 Message-ID: From: Nathan BIAGINI To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 12 May 2010 18:24:43 -0000 2010/5/12 Ian Smith > On Mon, 10 May 2010, Nathan BIAGINI wrote: > > 2010/5/10 Ian Smith > [..] > > > cpu0: on acpi0 > > > est0: on cpu0 > > > p4tcc0: on cpu0 > > > cpu1: on acpi0 > > > est1: on cpu1 > > > p4tcc1: on cpu1 > > > =3D=3D=3D=3D=3D=3D=3D > > > > > > Right, it's a Core2 Duo at 2GHz, using est (absolute) frequency > control, > > > and p4tcc (relative) frequency thermal control. See cpufreq(4) ie > 'man > > > cpufreq'. This combination seems to be a problem for these in some > > > recent machines. While at 250MHz it should be using only 4.375 watt= s, > > > that doesn't seem to be working right on these, and you may be bette= r > > > off (regarding heat) using the fewer frequencies provided just by es= t. > > > > > > =3D=3D=3D=3D=3D=3D=3D > > > dev.cpu.0.freq: 250 > > > dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > > > 1000/17500 750/13125 500/8750 250/4375 > > > dev.cpu.0.cx_supported: C1/1 C2/57 > > > dev.cpu.0.cx_lowest: C1 > > > dev.cpu.0.cx_usage: 100.00% 0.00% last 500us > > > =3D=3D=3D=3D=3D=3D=3D > > > > > > So, cpufreq seems only to be seeing your 2000 frequency, and each of > > > these other frequencies are 7/8, 6/8 .. 1/8 of 2000MHz, generated by > > > p4tcc, which seems odd, unless 1000 is a 'real' supported frequency? > > > > > > Please try adding the following lines to your /boot/loader.conf and > > > rebooting, then paste what 'sysctl dev.cpu' says after that? Also > check > > > if just doing this makes any difference to your overheating issue, a= s > it > > > has for some people. > > > > > > hint.p4tcc.0.disable=3D"1" > > > hint.acpi_throttle.0.disable=3D"1" > > > hint.p4tcc.1.disable=3D"1" > > > hint.acpi_throttle.1.disable=3D"1" > > > > > > You need both pairs; if you just disable p4tcc, acpi_throttle would > > > attach and provide those same frequencies, so would be no advantage. > > > > > > You may also find 'Fighting for the power' by Alexander Motin useful= , > in > > > particular enabling your available C2 state to reduce idle power use= : > > > > > > > http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006436.html > [..] > > > Ok, thanks for it. The topic of Alexandre is very useful! So, i modify > my > > loader.conf an rc.conf file by adding lines you told me to write > > (loader.conf) and lines to enable C2 and others to reduce number of > sounds > > genertaed interrupts (see 'Fighting for the power' of Alexandre). > > Yes C2 should help overall, even on CPU-intensive tasks like buildworld, > and advice on how to to power-down subsystems you're not using is handy. > > Is there any mention in your BIOS settings about 'C1E' or similar? > > > I reboot and as you have asked me, the output of systcl dev.cpu after > > reboot : http://pastebin.com/bajvzy1W > > : dev.cpu.0.freq: 250 > : dev.cpu.0.freq_levels: 2000/35000 1750/30625 1500/26250 1250/21875 > : 1000/17500 750/13125 500/8750 250/4375 > : dev.cpu.0.cx_supported: C1/1 C2/57 > : dev.cpu.0.cx_lowest: C2 > : dev.cpu.0.cx_usage: 5.51% 94.48% last 229us > > Well now I'm confused, unless your C2D actually is really providing all > of those frequencies out of the box, without any throttling driver? > > Are you sure that after booting with those hints in /boot/loader.conf > (check: in /boot directory) that no lines at all are shown matching: > > % egrep 'p4tcc|acpi_throttle' /var/run/dmesg.boot > > If that shows nothing, then I've been way off-base about this .. > > > I tried to see how to behave my laptop (regarding fan noise and heat). > > Overall, i think it's a bit better, less noisy but not really perfect > (sorry > > about my vagueness). > > > > I didn't do all steps of the topic of Alexandre and maybe after do the= m, > it > > will be better again... > > First, a little (understandable) confusion; the 'Fighting for the power' > post was by AlexandER Motin (mav@freebsd.org), the developer of recent > snd_hda and mods to the powerd algorithms, among other things. It was > AlexandRE Kovalenko, note spelling, (cc'd), who replied offering to look > through your BIOS ASL code if you dump it out and post it somewhere, as > detailed on the ACPI debugging page. > > > I tried to do an high cpu task but same behavor, system shuting down > (heat > > exceed 92=B0C, critical...) > > Hmm, there was no 92C mentioned before; _HOT was 90C and I don't think > FreeBSD uses _HOT at all, just _PSV and _CRT (any corrections welcome) > > > I will to learn more about acpi debug and ASL from the handbokk and > share > > you more about these. > > Good idea. Generating your ASL is simple using those instructions, and > Alexandre has a track record at spotting problems, especially thermal, > among others who might be interested in looking through it. > > But please confirm there's no mention of p4tcc or acpi_thermal in dmesg? > > cheers, Ian Hey ! My laptop is sweating! :) So, after reading different manuals and others threads on the interdet, i tried to tunn a bit my loader.conf with sysctl values but there are somethings i definitly not understand. Fist of all, Ian, i do what you told me to do about p4tcc or acpi_thermal mention in my dmesg.boot file. No mentions found. Next, i noticed that my temp increases until 80C but not higher, significative? Now, about the _PSV and _CRT values. I can set these but i don't what value i have to use for these... Someone can advise me on that, regarding my proc spefications. Then, i generated my asl file and tried to compile it (as explained in the handbook) to detect some errors but no errors, only warnings and optization= s and i will post it on the freebsd-acpi mailing list or somewhere else where someone might be abble to read it and detect something wrong. However (and it s a bit funny ;)) : i've got an panic after around 4min : dev =3D ad4s1f, block =3D 1, fs =3D /usr > panic: ffs_blkfree: freeing free block > cpuid=3D1 > Uptime 4m41s > Cannot dump. Device not found or unavailable Further, i can't shutdown or reboot my laptop, it block on 'Uptime XX' and it never done... I see one sysct value on the acpi manual but i've not tried yet. I enabled the acpi debug (only error) but i don't know where i can read thi= s output... (don't find this information in the manuals). To conclude, i'm a bit confused and i don't what is the problem and where i have to go deeper, acpi bug? Maybe unable acpi and see what happend can be interessting? (wait your opinion before do it). After all, this problem is a good way to learn more about FreeBSD arch and linux overall. Train my english and develop the habit to use the documentation (i.e man page and books). When i will have the suitable materials, i will try to 'clean' my fans but = i don't think i have this kind of problem. PS : i don't really know i can consult the BIOS options and i don't respond you about C1E but i see something really wirred. In my BIOS system overview= , my model of laptop is dv5 notebook PC oO, it's not true! So, i wait your feedbacks about that, it's maybe the cause of all my problems? I hope (or not). From owner-freebsd-mobile@FreeBSD.ORG Fri May 14 06:59:18 2010 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50275106564A for ; Fri, 14 May 2010 06:59:18 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (sysmon.tcworks.net [65.66.76.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2D8448FC12 for ; Fri, 14 May 2010 06:59:17 +0000 (UTC) Received: from sysmon.tcworks.net (localhost [127.0.0.1]) by sysmon.tcworks.net (8.13.1/8.13.1) with ESMTP id o4E6OdUg014165 for ; Fri, 14 May 2010 01:24:39 -0500 (CDT) (envelope-from lambert@lambertfam.org) Received: (from lambert@localhost) by sysmon.tcworks.net (8.13.1/8.13.1/Submit) id o4E6Odcd014164 for mobile@freebsd.org; Fri, 14 May 2010 01:24:39 -0500 (CDT) (envelope-from lambert@lambertfam.org) X-Authentication-Warning: sysmon.tcworks.net: lambert set sender to lambert@lambertfam.org using -f Date: Fri, 14 May 2010 01:24:39 -0500 From: Scott Lambert To: mobile@freebsd.org Message-ID: <20100514062439.GA17367@sysmon.tcworks.net> Mail-Followup-To: mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: ACPI issue with minipci slot on Acer TravelMate 5720? 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: Fri, 14 May 2010 06:59:18 -0000 I originally thought there was a problem with the iwn driver on resume. However, I swapped the wireless card with an Atheros piece, and still have issues on resume. The symptoms common to both cards are that the driver can see the card on resume but cannot use it. The iwn driver says it "could not lock memory" and "could not load boot firmware." The ath driver says "unable to attach hardware; HAL status 3." pci4: driver added found-> vendor=0x168c, dev=0x001c, revid=0x01 domain=0, bus=4, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0507, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=17 powerspec 2 supports D0 D3 current D0 MSI supports 1 message MSI-X supports 1 message in map 0x10 pci0:4:0:0: reprobing on driver added ath0: mem 0xf8000000-0xf800ffff irq 17 at device 0.0 on pci4 pcib2: ath0 requested memory range 0xf8000000-0xf800ffff: good ath0: [MPSAFE] ath0: [ITHREAD] ath0: unable to attach hardware; HAL status 3 device_attach: ath0 attach returned 6 I now suspect the real problem is in the ACPI layer. Every other device on the laptop seems to work great. The wireless card works well on initial boot. Once I suspend and resume, it's toast. Unfortunately, I don't know what to try next. This is pciconf -lbcv from a Feb 6, 2010 version of FreeBSD 8-STABLE on initial boot: ath0@pci0:4:0:0: class=0x020000 card=0x04281468 chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'HDAUDIOFUNC_01&VEN_1095&DEV_1392&SUBSYS_10280242&REV_1000 (USBVID_147E&PID_20165&B71A446&0&1)' class = network subclass = ethernet bar [10] = type Memory, range 64, base 0xf8000000, size 65536, enabled cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint max data 128(128) link x1(x1) cap 11[90] = MSI-X supports 1 message in map 0x10 I recorded the pciconf output after boot and the on resume a couple of minutes later. They were exactly the same. This is pciconf -lbcv on initial boot and after resume for FreeBSD 8-STABLE built May 5th, 2010, the bar line is missing on resume: Boot: ath0@pci0:4:0:0: class=0x020000 card=0x04281468 chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5006 family 802.11abg Wireless NIC' class = network subclass = ethernet bar [10] = type Memory, range 64, base 0xf8000000, size 65536, enabled cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint max data 128(128) link x1(x1) cap 11[90] = MSI-X supports 1 message in map 0x10 Resume: ath0@pci0:4:0:0: class=0x020000 card=0x04281468 chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5006 family 802.11abg Wireless NIC' class = network subclass = ethernet cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint max data 128(128) link x1(x1) cap 11[90] = MSI-X supports 1 message in map 0x10 So, at least I have a difference I can point to now. I've read through the ASL, but I didn't see anything that looks pertinent. That may be due to my ignorance on the subject. It could even be the wrong tree. I would really appreciate if someone could direct me in gathering the information needed to figure this out. Thank you, -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org