From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 22 09:09:03 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 6612D16A4DD for ; Tue, 22 Aug 2006 09:09:03 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C44643D77 for ; Tue, 22 Aug 2006 09:09:02 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k7M98xqR066400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Aug 2006 13:09:00 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k7M98x6c066399; Tue, 22 Aug 2006 13:08:59 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 22 Aug 2006 13:08:59 +0400 From: Gleb Smirnoff To: Boris Samorodov Message-ID: <20060822090859.GO96644@cell.sick.ru> References: <20060820110545.GG1066@turion.vk2pj.dyndns.org> <94951745@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <94951745@bsam.ru> User-Agent: Mutt/1.5.6i Cc: Peter Jeremy , freebsd-acpi@FreeBSD.org 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: Tue, 22 Aug 2006 09:09:03 -0000 On Sun, Aug 20, 2006 at 05:57:02PM +0400, Boris Samorodov wrote: B> On Sun, 20 Aug 2006 21:05:45 +1000 Peter Jeremy wrote: B> > On Sun, 2006-Aug-20 16:00:33 +1000, Tim Dettloff wrote: B> B> > >I have installed FreeBSD 6.1-RELEASE on my Compaq Presario 2656AU B> > >laptop, but it occasionally hangs. I traced the problem to powerd so I B> > >made a script that kept changing the clock rate by setting the sysctl B> > >dev.cpu.0.freq. This script normally makes the computer hang within 10 B> > >seconds or so. B> B> > Sam Leffler noticed this on his nx6125 last December and I also B> > found the same problem on my nx6125 in early February. It looks B> > like there's a race condition in the BIOS code. B> B> > >Any Ideas? B> B> > My current solution is to manually change the speed using sysctl. B> > This doesn't seem to trigger the problem quite as often (though your B> > laptop seems far more sensitive than mine). I would also be interested B> > in any real solutions. B> B> Glebius@ (CCed) sent me a patch against 6-STABLE which solves the B> problem. However, I don't know if the patch was committed. If that was a patch that was required for merging the em(4) changes, then the answer is "yes". It was merged to STABLE. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE