From owner-freebsd-current@FreeBSD.ORG Sun Apr 23 17:37:55 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EED7316A400 for ; Sun, 23 Apr 2006 17:37:54 +0000 (UTC) (envelope-from lars@odin-corporation.com) Received: from munin.odin-corporation.com (munin.odin-corporation.com [68.166.85.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7316043D5D for ; Sun, 23 Apr 2006 17:37:54 +0000 (GMT) (envelope-from lars@odin-corporation.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by munin.odin-corporation.com (8.13.4/8.13.4) with ESMTP id k3NHbZ04007070; Sun, 23 Apr 2006 12:37:36 -0500 (CDT) (envelope-from lars@odin-corporation.com) Message-ID: <444BBB5E.2040404@odin-corporation.com> Date: Sun, 23 Apr 2006 12:37:34 -0500 From: Lars Fredriksen User-Agent: Thunderbird 1.5 (X11/20060311) MIME-Version: 1.0 To: Sam Leffler References: <44490107.6010609@odin-corporation.com> <86r73po5fp.fsf@xps.des.no> <444A7544.3070701@errno.com> In-Reply-To: <444A7544.3070701@errno.com> Content-Type: multipart/mixed; boundary="------------070405030709050004070909" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , current@freebsd.org Subject: Re: kern.hz=1000 causes random poweroff on laptop 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: Sun, 23 Apr 2006 17:37:55 -0000 This is a multi-part message in MIME format. --------------070405030709050004070909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi, I don't think this is overheating either because it will generally lock up within a minute or so, but perhaps it is possible that some part gets to hot in that time frame. If so it is not something acpi is monitoring because it reports temperatures substantially lower than the PSV limit. Below is what acpi reports at 100 hz and idle: hw.acpi.thermal.tz0.temperature: 46.9C 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: 79.9C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 94.9C I can leave the machine at the boot prompt without any problems for a long time (I know that does not put much stress on the machine :-)), but within 30-60 seconds of getting to a single user shell prompt, it is dead as a duck at hz=1000. Is is possible that it is a power converter issue, where the higher frequency requires enough current to make the converter start going belly up? Also with older kernels, it seems they sometime fails in a similar fashion (hz=100), when I have a cardbus card (not a pcmcia) active. In these scenarios though, the machine has typically been running for hours or days, so it might have been something completely different. I have for a long time suspected that the deep irq chain for irq9, might have had something to do with these types of problems. On this machine you have : This list is is from a trace I did a couple of years ago, so the names might be different, but the depth of the chain hasn't changed. Lars Sam Leffler wrote: > Dag-Erling Smørgrav wrote: >> Lars Fredriksen writes: >>> I have a laptop sony z505rx, that if booted with kern.hz as 1000, >>> will power off within a minute or two of booting. >> >> sounds like overheating. > > I've noticed on several of my laptops that they run way hotter with > freebsd than other systems (linux, windows). Most are newer models > that have either acpi issues or lack speedstep support. But I suspect > there's something else going on in the basic system. I find it hard > to believe the clock rate is the cause of this extra work but haven't > dug into it (I hoped judicious use of hwpmc would pinpoint what's > going on). > > Sam > > !DSPAM:444a7550956491607598332! > > --------------070405030709050004070909--