From owner-freebsd-acpi@FreeBSD.ORG Sun Aug 20 13:58:41 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DBBD16A4E0; Sun, 20 Aug 2006 13:58:41 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8341043D5A; Sun, 20 Aug 2006 13:58:40 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.141]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7KDwM1a053556; Sun, 20 Aug 2006 17:58:33 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GEnnS-0000Cs-2c; Sun, 20 Aug 2006 17:57:02 +0400 To: Peter Jeremy References: <20060820110545.GG1066@turion.vk2pj.dyndns.org> From: Boris Samorodov Date: Sun, 20 Aug 2006 17:57:02 +0400 In-Reply-To: <20060820110545.GG1066@turion.vk2pj.dyndns.org> (Peter Jeremy's message of "Sun, 20 Aug 2006 21:05:45 +1000") Message-ID: <94951745@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: freebsd-acpi@freebsd.org, Gleb Smirnov Subject: Re: Powerd makes computer hang X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2006 13:58:41 -0000 On Sun, 20 Aug 2006 21:05:45 +1000 Peter Jeremy wrote: > On Sun, 2006-Aug-20 16:00:33 +1000, Tim Dettloff wrote: > >I have installed FreeBSD 6.1-RELEASE on my Compaq Presario 2656AU > >laptop, but it occasionally hangs. I traced the problem to powerd so I > >made a script that kept changing the clock rate by setting the sysctl > >dev.cpu.0.freq. This script normally makes the computer hang within 10 > >seconds or so. > Sam Leffler noticed this on his nx6125 last December and I also > found the same problem on my nx6125 in early February. It looks > like there's a race condition in the BIOS code. > >Any Ideas? > My current solution is to manually change the speed using sysctl. > This doesn't seem to trigger the problem quite as often (though your > laptop seems far more sensitive than mine). I would also be interested > in any real solutions. Glebius@ (CCed) sent me a patch against 6-STABLE which solves the problem. However, I don't know if the patch was committed. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve