From owner-freebsd-current@FreeBSD.ORG Tue Feb 27 23:13:12 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A08D16A405 for ; Tue, 27 Feb 2007 23:13:12 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 596DB13C4B6 for ; Tue, 27 Feb 2007 23:13:12 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 59165 invoked from network); 27 Feb 2007 22:26:19 -0000 Received: from ppp-71-139-18-69.dsl.snfc21.pacbell.net (HELO ?10.0.5.55?) (nate-mail@71.139.18.69) by root.org with ESMTPA; 27 Feb 2007 22:26:19 -0000 Message-ID: <45E4B016.6040804@root.org> Date: Tue, 27 Feb 2007 14:26:30 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5.0.9 (X11/20070214) MIME-Version: 1.0 To: Joel Dahl References: <45E39552.2020607@root.org> <1172606717.1007.12.camel@dude.automatvapen.se> In-Reply-To: <1172606717.1007.12.camel@dude.automatvapen.se> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: stable@freebsd.org, current@FreeBSD.org Subject: Re: PATCH: new acpi embedded controller I/O model X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 23:13:12 -0000 Joel Dahl wrote: > Mån 2007-02-26 klockan 18:20 -0800 skrev Nate Lawson: >> If you are having EC timeout problems as in the below PR, please try the >> latest EC code. I just committed it in rev 1.69 of acpi_ec.c to >> -current. > > Thanks for working on this, but my laptop (HP nx7400) shuts down right > after boot (or sometimes during boot) after this commit. I see this on > the console: > > acpi_tz3: WARNING - Current temperature (3416.3) exceeds safe limits > ... > WARNING: System temperature too high, shutting down soon! > > Everything works fine with an older kernel. > First, try booting with these changes. You can set a tunable (debug.acpi.disabled="thermal") to avoid the erroneous thermal shutdown. 1. set debug.acpi.ec.burst=0 2. set debug.acpi.ec.timeout=1000 3. uncomment the #if 0 code in acpi_ec.c and recompile Then, collect the data with the method I provided: >> To find any performance problems, you'll need to rebuild the kernel >> and modules with this added to your kernel config: >> >> options KTR >> options KTR_ENTRIES=65536 >> >> Then reboot, load this kernel/acpi.ko, use the system for a while to >> trigger the problem behavior and generate output: >> ktrdump -t | gzip -c > ktr.out.gz -- Nate