From owner-freebsd-acpi@FreeBSD.ORG  Sun Aug 20 06:00:43 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 6B3B016A4F0
	for <freebsd-acpi@freebsd.org>; Sun, 20 Aug 2006 06:00:43 +0000 (UTC)
	(envelope-from acpi.dettloff@gmail.com)
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 46ECF43D7D
	for <freebsd-acpi@freebsd.org>; Sun, 20 Aug 2006 06:00:34 +0000 (GMT)
	(envelope-from acpi.dettloff@gmail.com)
Received: by wx-out-0506.google.com with SMTP id i27so1144590wxd
	for <freebsd-acpi@freebsd.org>; Sat, 19 Aug 2006 23:00:33 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=GAOiSYKJEWT0vAZdyeUQ8DF1ws4rZ8kuS1EqRm05rR7Gl8Oio+dapdp4IhSgFJhCy1ZPIc3VDWkB3komBqifb+R8WRWV02Q08YKO8JSrLrj9Ny/NK5QQlEu1+qnJT851MaOt+TmlWQSsD7bSVtQTem3HENlz6yKdB3di5o5GVjk=
Received: by 10.90.54.4 with SMTP id c4mr72210aga;
	Sat, 19 Aug 2006 23:00:33 -0700 (PDT)
Received: by 10.90.93.12 with HTTP; Sat, 19 Aug 2006 23:00:33 -0700 (PDT)
Message-ID: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
Date: Sun, 20 Aug 2006 16:00:33 +1000
From: "Tim Dettloff" <acpi.dettloff@gmail.com>
To: freebsd-acpi@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Subject: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Aug 2006 06:00:43 -0000

Hi

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.

I then added a few printf's here and there which have let me to
believe that the problem is somewhere in
sys/dev/acpica/acpi_throttle.c, acpi_thr_set
It only prints the first letter of a printf just after the line
THR_SET_REG(sc->cpu_p_cnt, p_cnt);

The problem happens with and without cpufreq.ko loaded. The kernel is GENERIC.

Any Ideas?

Cheers,
Tim

From owner-freebsd-acpi@FreeBSD.ORG  Sun Aug 20 11:05:55 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 2A82216A4DE
	for <freebsd-acpi@freebsd.org>; Sun, 20 Aug 2006 11:05:55 +0000 (UTC)
	(envelope-from peterjeremy@optushome.com.au)
Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au
	[211.29.132.188])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3A49843D53
	for <freebsd-acpi@freebsd.org>; Sun, 20 Aug 2006 11:05:54 +0000 (GMT)
	(envelope-from peterjeremy@optushome.com.au)
Received: from turion.vk2pj.dyndns.org
	(c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236])
	by mail07.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id
	k7KB5k9Q030705
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Sun, 20 Aug 2006 21:05:52 +1000
Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])
	by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k7KB5k4P015331;
	Sun, 20 Aug 2006 21:05:46 +1000 (EST)
	(envelope-from peter@turion.vk2pj.dyndns.org)
Received: (from peter@localhost)
	by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k7KB5kNC015330;
	Sun, 20 Aug 2006 21:05:46 +1000 (EST) (envelope-from peter)
Date: Sun, 20 Aug 2006 21:05:45 +1000
From: Peter Jeremy <peterjeremy@optushome.com.au>
To: Tim Dettloff <acpi.dettloff@gmail.com>
Message-ID: <20060820110545.GG1066@turion.vk2pj.dyndns.org>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="FLPM4o+7JoHGki3m"
Content-Disposition: inline
In-Reply-To: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc
User-Agent: Mutt/1.5.12-2006-07-14
Cc: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Aug 2006 11:05:55 -0000


--FLPM4o+7JoHGki3m
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Peter Jeremy

--FLPM4o+7JoHGki3m
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE6EIJ/opHv/APuIcRAhnaAJ0ZUFTaqh7o8OMLz30IKoeHikAonACdGs5Z
t83musWbrlhCSqRXVpfiBQQ=
=8BzA
-----END PGP SIGNATURE-----

--FLPM4o+7JoHGki3m--

From owner-freebsd-acpi@FreeBSD.ORG  Sun Aug 20 13:58:41 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 <bsam@bsam.ru>)
	id 1GEnnS-0000Cs-2c; Sun, 20 Aug 2006 17:57:02 +0400
To: Peter Jeremy <peterjeremy@optushome.com.au>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
From: Boris Samorodov <bsam@ipt.ru>
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 <bsam@bsam.ru>
Cc: freebsd-acpi@freebsd.org, Gleb Smirnov <glebius@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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=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

From owner-freebsd-acpi@FreeBSD.ORG  Mon Aug 21 05:50:38 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 AE92216A4DF
	for <freebsd-acpi@freebsd.org>; Mon, 21 Aug 2006 05:50:38 +0000 (UTC)
	(envelope-from nate@root.org)
Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3B45143D5F
	for <freebsd-acpi@freebsd.org>; Mon, 21 Aug 2006 05:50:38 +0000 (GMT)
	(envelope-from nate@root.org)
X-ORBL: [71.139.46.150]
Received: from [10.0.5.51] (ppp-71-139-46-150.dsl.snfc21.pacbell.net
	[71.139.46.150])
	by ylpvm29.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7L5oUgD031664; Mon, 21 Aug 2006 01:50:31 -0400
Message-ID: <44E9498F.8030208@root.org>
Date: Sun, 20 Aug 2006 22:50:07 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.2 (X11/20060501)
MIME-Version: 1.0
To: Tim Dettloff <acpi.dettloff@gmail.com>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
In-Reply-To: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2006 05:50:38 -0000

Tim Dettloff wrote:
> Hi
> 
> 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.
> 
> I then added a few printf's here and there which have let me to
> believe that the problem is somewhere in
> sys/dev/acpica/acpi_throttle.c, acpi_thr_set
> It only prints the first letter of a printf just after the line
> THR_SET_REG(sc->cpu_p_cnt, p_cnt);
> 
> The problem happens with and without cpufreq.ko loaded. The kernel is 
> GENERIC.
> 
> Any Ideas?

dmesg would be a good start.  Is there some cpufreq driver running 
besides acpi_throttle?  Add hint.acpi_throttle.0.disabled="1" in 
loader.conf, reboot, and then retry your test.

My guess is acpi_throttle is just a wrapper around p4-tcc on your system.

-- 
Nate

From owner-freebsd-acpi@FreeBSD.ORG  Mon Aug 21 05:51:03 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 8B73216A4DE;
	Mon, 21 Aug 2006 05:51:03 +0000 (UTC) (envelope-from nate@root.org)
Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2F2B143D67;
	Mon, 21 Aug 2006 05:51:03 +0000 (GMT) (envelope-from nate@root.org)
X-ORBL: [71.139.46.150]
Received: from [10.0.5.51] (ppp-71-139-46-150.dsl.snfc21.pacbell.net
	[71.139.46.150])
	by ylpvm29.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7L5otU1032036; Mon, 21 Aug 2006 01:50:56 -0400
Message-ID: <44E949A8.2010307@root.org>
Date: Sun, 20 Aug 2006 22:50:32 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.2 (X11/20060501)
MIME-Version: 1.0
To: Boris Samorodov <bsam@ipt.ru>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
	<94951745@bsam.ru>
In-Reply-To: <94951745@bsam.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-acpi@freebsd.org,
	Gleb Smirnov <glebius@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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2006 05:51:03 -0000

Boris Samorodov wrote:
> 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

Um, could you post it to the list?

-- 
Nate

From owner-freebsd-acpi@FreeBSD.ORG  Mon Aug 21 05:52:01 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
X-Original-To: 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 8303216A4DD;
	Mon, 21 Aug 2006 05:52:01 +0000 (UTC) (envelope-from nate@root.org)
Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 163CB43D46;
	Mon, 21 Aug 2006 05:52:01 +0000 (GMT) (envelope-from nate@root.org)
X-ORBL: [71.139.46.150]
Received: from [10.0.5.51] (ppp-71-139-46-150.dsl.snfc21.pacbell.net
	[71.139.46.150])
	by ylpvm29.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7L5pr5x000647; Mon, 21 Aug 2006 01:51:54 -0400
Message-ID: <44E949E3.1060809@root.org>
Date: Sun, 20 Aug 2006 22:51:31 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.2 (X11/20060501)
MIME-Version: 1.0
To: current <current@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: acpi@freebsd.org
Subject: Vacation from FreeBSD
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2006 05:52:01 -0000

I'll be away from FreeBSD mail until October.  Please direct questions 
to the lists and not to me directly.

Thanks,
-- 
Nate

From owner-freebsd-acpi@FreeBSD.ORG  Mon Aug 21 07:28:18 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 7F78216A4DD
	for <freebsd-acpi@freebsd.org>; Mon, 21 Aug 2006 07:28:18 +0000 (UTC)
	(envelope-from acpi.dettloff@gmail.com)
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A591343D94
	for <freebsd-acpi@freebsd.org>; Mon, 21 Aug 2006 07:28:11 +0000 (GMT)
	(envelope-from acpi.dettloff@gmail.com)
Received: by wx-out-0506.google.com with SMTP id i27so1470147wxd
	for <freebsd-acpi@freebsd.org>; Mon, 21 Aug 2006 00:28:04 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=cveQrwO0GJyL1jFpMh85qf9G8UK+MyUdxhn9gtr4a72Y3eT3PTxo19gCS8PKfAwc6q8v7kF5LHLfEewQ6XbKvjdXtkp5Eofj7Xe03nl8OXHguKKYBi/e7eeYP+p7IlmY/cSUTFmzh2fdpFvJkdha4aTsJObOjregn0+YSJs9qgg=
Received: by 10.90.71.12 with SMTP id t12mr92383aga;
	Mon, 21 Aug 2006 00:20:52 -0700 (PDT)
Received: by 10.90.93.12 with HTTP; Mon, 21 Aug 2006 00:20:52 -0700 (PDT)
Message-ID: <f67067e80608210020r7a3119feqfdd0dec2008d0c77@mail.gmail.com>
Date: Mon, 21 Aug 2006 17:20:52 +1000
From: "Tim Dettloff" <acpi.dettloff@gmail.com>
To: "Nate Lawson" <nate@root.org>
In-Reply-To: <44E9498F.8030208@root.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<44E9498F.8030208@root.org>
Cc: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2006 07:28:18 -0000

On 21/08/06, Nate Lawson <nate@root.org> wrote:
> dmesg would be a good start.  Is there some cpufreq driver running
> besides acpi_throttle?  Add hint.acpi_throttle.0.disabled="1" in
> loader.conf, reboot, and then retry your test.
>
> My guess is acpi_throttle is just a wrapper around p4-tcc on your system.

dmesg with and without cpufreq.ko loaded:
http://www.studentergaarden.dk/~tim/FreeBSD/dmesg_cpufreq.txt
http://www.studentergaarden.dk/~tim/FreeBSD/dmesg.txt

If I set hint.acpi_throttle.0.disabled=1 i need to have cpufreq.ko
loaded to be able to change the frequency, but in this case I have not
been able to get it to hang. With acpi_throttle enabled it hangs both
with and without cpufreq.ko loaded.

Another interesting thing is that different configurations lists
different freq_leves.

acpi_throttle:
dev.cpu.0.freq_levels: 1799/-1 1574/-1 1349/-1 1124/-1 899/-1 674/-1 449/-1 224/
-1

acpi_throttle and cpufreq:
dev.cpu.0.freq_levels: 1800/25000 1600/20700 1400/18112 1200/15525
1000/12937 800/8600 700/7525 600/6450 500/5375 400/4300 300/3225
200/2150 100/1075

cpufreq:
dev.cpu.0.freq_levels: 1791/25000 1592/20700 796/8600
(I think these are the values used in Windows, where it doesn't hang)

One last thing. If I load cpufreq after having changed the cpufreq via
acpi_throttle the values gets weird:
dev.cpu.0.freq_levels: 7362/25000 6544/20700 5726/18112 4908/15525
4090/12937 3272/8600 2863/7525 2454/6450 2045/5375 1636/4300 1227/3225
818/2150 409/1075

Cheers,
Tim

From owner-freebsd-acpi@FreeBSD.ORG  Mon Aug 21 19:56:31 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 5464216A4F4
	for <freebsd-acpi@FreeBSD.org>; Mon, 21 Aug 2006 19:56:31 +0000 (UTC)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4F4E343DDD
	for <freebsd-acpi@FreeBSD.org>; Mon, 21 Aug 2006 19:55:32 +0000 (GMT)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7LJt7Ih062386
	for <freebsd-acpi@FreeBSD.org>; Mon, 21 Aug 2006 19:55:07 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7LJt6sf062382
	for freebsd-acpi@FreeBSD.org; Mon, 21 Aug 2006 19:55:06 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 21 Aug 2006 19:55:06 GMT
Message-Id: <200608211955.k7LJt6sf062382@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: linimon set sender to
	owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@FreeBSD.org>
To: freebsd-acpi@FreeBSD.org
Cc: 
Subject: Current problem reports assigned to you
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2006 19:56:31 -0000

Current FreeBSD problem reports
Critical problems
Serious problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o i386/54756   acpi       ACPI suspend/resume problem on CF-W2 laptop
o i386/55661   acpi       ACPI suspend/resume problem on ARMADA M700
o kern/55822   acpi       No ACPI power off with SMP kernel
o kern/56024   acpi       ACPI suspend drains battery while in S3
o i386/64002   acpi       acpi problem
o i386/67273   acpi       [hang] system hangs with acpi and Xfree
o i386/72566   acpi       ACPI, FreeBSD disables fan on Compaq Armada 1750
o i386/79080   acpi       acpi thermal changes freezes HP nx6110
o i386/79081   acpi       ACPI suspend/resume not working on HP nx6110
o i386/80426   acpi       [APIC] [panic] 5.4-RC3 still panic when boot on ASUS P
o i386/87568   acpi       [ACPI] [REGRESSION] 6.0-STABLE needs ACPI disabled but

11 problems total.

Non-critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o kern/67309   acpi       zzz reboot computer (ACPI S3)
o i386/69750   acpi       Boot without ACPI failed on ASUS L5
o i386/73822   acpi       [request] add thermal support to ACPI
o kern/73823   acpi       [feature request] acpi / power-on by timer support
f kern/74030   acpi       Unplugging AC causes battery % to stay locked at 98%
f kern/90871   acpi       ACPI problems with ASUS A8N-VM-CSM
o kern/98171   acpi       [acpi] ACPI 1304 / 0501 errors on Acer 5024WLMi Laptop

7 problems total.


From owner-freebsd-acpi@FreeBSD.ORG  Tue Aug 22 05:32:14 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 856E916A4DA;
	Tue, 22 Aug 2006 05:32:14 +0000 (UTC) (envelope-from nate@root.org)
Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 14DD043D45;
	Tue, 22 Aug 2006 05:32:13 +0000 (GMT) (envelope-from nate@root.org)
X-ORBL: [71.139.46.150]
Received: from [10.0.5.50] (ppp-71-139-46-150.dsl.snfc21.pacbell.net
	[71.139.46.150])
	by ylpvm01.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7M5W8WA000657; Tue, 22 Aug 2006 01:32:09 -0400
Message-ID: <44EA96DB.1060501@root.org>
Date: Mon, 21 Aug 2006 22:32:11 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: john@utzweb.net
References: <20060711.104708.1159134898.imp@bsdimp.com>	<200607111338.01412.mistry.7@osu.edu>	<Pine.GSO.4.64.0607112352430.27869@sea.ntplx.net>	<200607122136.54293.mistry.7@osu.edu>	<Pine.GSO.4.64.0607130824240.6165@sea.ntplx.net>	<44B6401F.8050507@centtech.com>	<Pine.GSO.4.64.0607130848190.6165@sea.ntplx.net>	<44B641F2.2020500@centtech.com>	<Pine.GSO.4.64.0607130900460.6165@sea.ntplx.net>	<32884.69.93.78.27.1152831695.squirrel@69.93.78.27>	<34247.69.93.78.27.1152835592.squirrel@69.93.78.27>
	<39062.69.93.78.27.1152857140.squirrel@69.93.78.27>
In-Reply-To: <39062.69.93.78.27.1152857140.squirrel@69.93.78.27>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org
Subject: Re: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is 
 probably a bug, and an important one. Re: Dell laptops
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Aug 2006 05:32:14 -0000

bruno@ already fixed this in -current with a more complete patch.  He 
will probably MFC soon.

john@utzweb.net wrote:
> acpi_video.c expects the lcd to be identified as 0x0110, but my Dell
> Latitude C400 (and probably others) id's the lcd at 0x0400:
> 
> Device (LCD)
>                 {
>                     Method (_ADR, 0, NotSerialized)
>                     {
>                         Return (0x0400)
>                     }
> 
> 
> so, acpi_video needs to account for this.
> 
> 
> got this sorted, and now the display turns back on, here's the patch, i
> already send-pr'd it

-- 
Nate

From owner-freebsd-acpi@FreeBSD.ORG  Tue Aug 22 09:09:03 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 <freebsd-acpi@FreeBSD.org>; 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 <freebsd-acpi@FreeBSD.org>; 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 <glebius@FreeBSD.org>
To: Boris Samorodov <bsam@ipt.ru>
Message-ID: <20060822090859.GO96644@cell.sick.ru>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<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 <peterjeremy@optushome.com.au>, 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=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

From owner-freebsd-acpi@FreeBSD.ORG  Tue Aug 22 09:13:52 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 9A55A16A4E0;
	Tue, 22 Aug 2006 09:13:52 +0000 (UTC)
	(envelope-from ducrot@poupinou.org)
Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D882243D77;
	Tue, 22 Aug 2006 09:13:51 +0000 (GMT)
	(envelope-from ducrot@poupinou.org)
Received: from ducrot by poup.poupinou.org with local (Exim)
	id 1GFSJo-0001hM-00; Tue, 22 Aug 2006 11:13:08 +0200
Date: Tue, 22 Aug 2006 11:13:08 +0200
To: Nate Lawson <nate@root.org>
Message-ID: <20060822091308.GG4945@poupinou.org>
References: <200607122136.54293.mistry.7@osu.edu>
	<Pine.GSO.4.64.0607130824240.6165@sea.ntplx.net>
	<44B6401F.8050507@centtech.com>
	<Pine.GSO.4.64.0607130848190.6165@sea.ntplx.net>
	<44B641F2.2020500@centtech.com>
	<Pine.GSO.4.64.0607130900460.6165@sea.ntplx.net>
	<32884.69.93.78.27.1152831695.squirrel@69.93.78.27>
	<34247.69.93.78.27.1152835592.squirrel@69.93.78.27>
	<39062.69.93.78.27.1152857140.squirrel@69.93.78.27>
	<44EA96DB.1060501@root.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <44EA96DB.1060501@root.org>
User-Agent: Mutt/1.5.9i
From: Bruno Ducrot <ducrot@poupinou.org>
Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org
Subject: Re: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is
	probably a bug, and an important one. Re: Dell laptops
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Aug 2006 09:13:52 -0000

On Mon, Aug 21, 2006 at 10:32:11PM -0700, Nate Lawson wrote:
> bruno@ already fixed this in -current with a more complete patch.  He 
> will probably MFC soon.
> 

I've MFC'd that one already :)

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

From owner-freebsd-acpi@FreeBSD.ORG  Tue Aug 22 09:25:33 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 4EB2916A4DA;
	Tue, 22 Aug 2006 09:25:33 +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 85F9843D45;
	Tue, 22 Aug 2006 09:25:32 +0000 (GMT) (envelope-from bsam@bsam.ru)
Received: from bsam.ru ([83.239.48.131])
	by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7M9PHfK061493;
	Tue, 22 Aug 2006 13:25:27 +0400 (MSD)
Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD))
	(envelope-from <bsam@bsam.ru>)
	id 1GFSUN-0000GW-L6; Tue, 22 Aug 2006 13:24:03 +0400
To: Gleb Smirnoff <glebius@FreeBSD.org>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org> <94951745@bsam.ru>
	<20060822090859.GO96644@cell.sick.ru>
From: Boris Samorodov <bsam@ipt.ru>
Date: Tue, 22 Aug 2006 13:24:03 +0400
In-Reply-To: <20060822090859.GO96644@cell.sick.ru> (Gleb Smirnoff's message of
	"Tue, 22 Aug 2006 13:08:59 +0400")
Message-ID: <36056572@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 <bsam@bsam.ru>
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Aug 2006 09:25:33 -0000

On Tue, 22 Aug 2006 13:08:59 +0400 Gleb Smirnoff wrote:
> 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.

Gleb, thanks for the info!

Then I may suggest Tim to upgrade to the lastest -STABLE to avoid the
problem.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve

From owner-freebsd-acpi@FreeBSD.ORG  Tue Aug 22 09:38:32 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 5087416A574;
	Tue, 22 Aug 2006 09:38:32 +0000 (UTC)
	(envelope-from peterjeremy@optushome.com.au)
Received: from mail22.syd.optusnet.com.au (mail22.syd.optusnet.com.au
	[211.29.133.160])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7C36443D5A;
	Tue, 22 Aug 2006 09:38:27 +0000 (GMT)
	(envelope-from peterjeremy@optushome.com.au)
Received: from turion.vk2pj.dyndns.org
	(c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236])
	by mail22.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id
	k7M9cOfb008507
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Tue, 22 Aug 2006 19:38:24 +1000
Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])
	by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k7M9cNNS001353;
	Tue, 22 Aug 2006 19:38:23 +1000 (EST)
	(envelope-from peter@turion.vk2pj.dyndns.org)
Received: (from peter@localhost)
	by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k7M9cNkl001352;
	Tue, 22 Aug 2006 19:38:23 +1000 (EST) (envelope-from peter)
Date: Tue, 22 Aug 2006 19:38:23 +1000
From: Peter Jeremy <peterjeremy@optushome.com.au>
To: Gleb Smirnoff <glebius@freebsd.org>
Message-ID: <20060822093823.GB743@turion.vk2pj.dyndns.org>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
	<94951745@bsam.ru> <20060822090859.GO96644@cell.sick.ru>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1"
Content-Disposition: inline
In-Reply-To: <20060822090859.GO96644@cell.sick.ru>
X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc
User-Agent: Mutt/1.5.12-2006-07-14
Cc: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Aug 2006 09:38:32 -0000


--4bRzO86E/ozDv8r1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 2006-Aug-22 13:08:59 +0400, Gleb Smirnoff wrote:
>On Sun, Aug 20, 2006 at 05:57:02PM +0400, Boris Samorodov wrote:
>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.

In that case, my problem is different.  I have bge(4), not em(4).

--=20
Peter Jeremy

--4bRzO86E/ozDv8r1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE6tCP/opHv/APuIcRAnslAKCQ3/b6jD+8/wuNtnryOUHSTJ456ACeMPBR
6SbZmmHW6J+7XDiXwDVnCBU=
=hb9j
-----END PGP SIGNATURE-----

--4bRzO86E/ozDv8r1--

From owner-freebsd-acpi@FreeBSD.ORG  Tue Aug 22 10:09:33 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 05D3416A4E7;
	Tue, 22 Aug 2006 10:09:33 +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 24CBC43E27;
	Tue, 22 Aug 2006 10:06:05 +0000 (GMT) (envelope-from bsam@bsam.ru)
Received: from bsam.ru ([83.239.48.131])
	by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7MA5SkJ074079;
	Tue, 22 Aug 2006 14:05:38 +0400 (MSD)
Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD))
	(envelope-from <bsam@bsam.ru>)
	id 1GFT7H-0000J1-0d; Tue, 22 Aug 2006 14:04:15 +0400
To: Peter Jeremy <peterjeremy@optushome.com.au>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org> <94951745@bsam.ru>
	<20060822090859.GO96644@cell.sick.ru>
	<20060822093823.GB743@turion.vk2pj.dyndns.org>
From: Boris Samorodov <bsam@ipt.ru>
Date: Tue, 22 Aug 2006 14:04:15 +0400
In-Reply-To: <20060822093823.GB743@turion.vk2pj.dyndns.org> (Peter Jeremy's
	message of "Tue, 22 Aug 2006 19:38:23 +1000")
Message-ID: <69974160@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 <bsam@bsam.ru>
Cc: freebsd-acpi@freebsd.org, Gleb Smirnoff <glebius@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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Aug 2006 10:09:33 -0000

On Tue, 22 Aug 2006 19:38:23 +1000 Peter Jeremy wrote:

> On Tue, 2006-Aug-22 13:08:59 +0400, Gleb Smirnoff wrote:
> >On Sun, Aug 20, 2006 at 05:57:02PM +0400, Boris Samorodov wrote:
> >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.

> In that case, my problem is different.  I have bge(4), not em(4).

You shouldn't delete the quoting. ;-)

So, those patches (needed to _merge_ the em(4) changes) are really for
the acpi subsystem. I had a freezing notebook after updating to
6.1-RELEASE and found out that the recent acpi changes are to blame.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve

From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 03:54:42 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 F1C0916A4DA;
	Wed, 23 Aug 2006 03:54:42 +0000 (UTC) (envelope-from nate@root.org)
Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B9C4543D72;
	Wed, 23 Aug 2006 03:54:40 +0000 (GMT) (envelope-from nate@root.org)
X-ORBL: [67.119.74.222]
Received: from [10.0.0.53] (adsl-67-119-74-222.dsl.sntc01.pacbell.net
	[67.119.74.222])
	by ylpvm29.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7N3sVAX004581; Tue, 22 Aug 2006 23:54:32 -0400
Message-ID: <44EBD160.90303@root.org>
Date: Tue, 22 Aug 2006 20:54:08 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.2 (X11/20060501)
MIME-Version: 1.0
To: Boris Samorodov <bsam@ipt.ru>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
	<94951745@bsam.ru>	<20060822090859.GO96644@cell.sick.ru>	<20060822093823.GB743@turion.vk2pj.dyndns.org>
	<69974160@bsam.ru>
In-Reply-To: <69974160@bsam.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-acpi@freebsd.org,
	Gleb Smirnoff <glebius@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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 03:54:43 -0000

Boris Samorodov wrote:
> On Tue, 22 Aug 2006 19:38:23 +1000 Peter Jeremy wrote:
> 
>> On Tue, 2006-Aug-22 13:08:59 +0400, Gleb Smirnoff wrote:
>>> On Sun, Aug 20, 2006 at 05:57:02PM +0400, Boris Samorodov wrote:
>>> 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.
> 
>> In that case, my problem is different.  I have bge(4), not em(4).
> 
> You shouldn't delete the quoting. ;-)
> 
> So, those patches (needed to _merge_ the em(4) changes) are really for
> the acpi subsystem. I had a freezing notebook after updating to
> 6.1-RELEASE and found out that the recent acpi changes are to blame.

Can you point me to this commit?  I browsed the sys/dev/acpica and 
sys/i386/acpica tree and fail to see a commit by glebius@.

-- 
Nate

From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 04:38:48 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
X-Original-To: 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 C051816A4E0
	for <acpi@freebsd.org>; Wed, 23 Aug 2006 04:38:48 +0000 (UTC)
	(envelope-from oberman@es.net)
Received: from postal3.es.net (postal3.es.net [198.128.3.207])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8C98243D5D
	for <acpi@freebsd.org>; Wed, 23 Aug 2006 04:38:48 +0000 (GMT)
	(envelope-from oberman@es.net)
Received: from ptavv.es.net (ptavv.es.net [198.128.4.29])
	by postal3.es.net (Postal Node 3) with ESMTP (SSL) id BMJ46431
	for <acpi@freebsd.org>; Tue, 22 Aug 2006 21:38:31 -0700
Received: from ptavv.es.net (localhost [127.0.0.1])
	by ptavv.es.net (Tachyon Server) with ESMTP id 6E09245055
	for <acpi@freebsd.org>; Tue, 22 Aug 2006 21:38:30 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2
To: acpi@freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 22 Aug 2006 21:38:30 -0700
From: "Kevin Oberman" <oberman@es.net>
Message-Id: <20060823043830.6E09245055@ptavv.es.net>
Cc: 
Subject: Odd power management on ThinkPad T43
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 04:38:48 -0000

I'm running current on an IBM ThinkPad T43 and I'm not sure I have a problem, 
but something odd seems to be going on.

I have a 2.0 GHz Pentium-M which I believe is 760. I believe it's one IBM has 
not released information on the EST specs.

If I do NOT have cpufreq loaded, I see:
dev.cpu.0.freq_levels: 2000/27000 1750/23625 1600/22600 1400/19775 1333/19666 
1166/17207 1066/16733 932/14641 800/13800 700/12075 600/10350 500/8625 
400/6900 300/5175 200/3450 100/1725

If I load cpufreq I see:
dev.cpu.0.freq_levels: 1500/-1 1312/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-1 
700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1

With cpufreq I report perf0, est0 and p4tcc0 in dmesg. Without loading cpufreq 
I still see acpi_perf0 and acpi_throttle0.

This would lead me to believe that without cpufreq I am only seeing 
throttling, but I see my clock speed decrease (x86info) which I did not expect 
to see with pure throttling.

Am I better off when on battery to use cpufreq or not? Is there something to 
tweak to get full 2GHz performance with EST?
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 07:01:12 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 AED2016A4DA
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 07:01:12 +0000 (UTC)
	(envelope-from acpi.dettloff@gmail.com)
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC1B43D5C
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 07:01:11 +0000 (GMT)
	(envelope-from acpi.dettloff@gmail.com)
Received: by wx-out-0506.google.com with SMTP id i27so18932wxd
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 00:01:11 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=I4NXNHIgULMFA16r09Y6mkcLeDy/h+HdBREHTb5RTIya91yNG3w82FhzOKHRlcMxg4zMKk1flY1lrnF3R37LagCH8HzFjdzTZtykG5LHd9gIvw7KjzhrOOhYiWmkBbxrRUPEesgGtN/bePKhq8FV5rbF9YeufWoiLUsDJhXSghE=
Received: by 10.90.119.15 with SMTP id r15mr4373agc;
	Wed, 23 Aug 2006 00:01:10 -0700 (PDT)
Received: by 10.90.93.12 with HTTP; Wed, 23 Aug 2006 00:01:10 -0700 (PDT)
Message-ID: <f67067e80608230001y2df4573aq10abda03fa425347@mail.gmail.com>
Date: Wed, 23 Aug 2006 17:01:10 +1000
From: "Tim Dettloff" <acpi.dettloff@gmail.com>
To: "Boris Samorodov" <bsam@ipt.ru>
In-Reply-To: <36056572@bsam.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org> <94951745@bsam.ru>
	<20060822090859.GO96644@cell.sick.ru> <36056572@bsam.ru>
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-acpi@freebsd.org,
	Gleb Smirnoff <glebius@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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 07:01:12 -0000

> > 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.
>
> Gleb, thanks for the info!
>
> Then I may suggest Tim to upgrade to the lastest -STABLE to avoid the
> problem.

Updated to stable, but the machine still hangs :o(

Tim

FreeBSD portable 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 23 01:58:06
EST 2006     dettloff@portable:/usr/obj/usr/src/sys/GENERIC  i386

From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 09:22:40 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 D0A2D16A4DD
	for <freebsd-acpi@FreeBSD.org>; Wed, 23 Aug 2006 09:22:40 +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 C38CD43D55
	for <freebsd-acpi@FreeBSD.org>; Wed, 23 Aug 2006 09:22:37 +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 k7N9MYHq074341
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 23 Aug 2006 13:22:35 +0400 (MSD)
	(envelope-from glebius@FreeBSD.org)
Received: (from glebius@localhost)
	by cell.sick.ru (8.13.4/8.13.1/Submit) id k7N9MXCs074340;
	Wed, 23 Aug 2006 13:22:33 +0400 (MSD)
	(envelope-from glebius@FreeBSD.org)
X-Authentication-Warning: cell.sick.ru: glebius set sender to
	glebius@FreeBSD.org using -f
Date: Wed, 23 Aug 2006 13:22:33 +0400
From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Nate Lawson <nate@root.org>
Message-ID: <20060823092233.GB96644@cell.sick.ru>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
	<94951745@bsam.ru> <20060822090859.GO96644@cell.sick.ru>
	<20060822093823.GB743@turion.vk2pj.dyndns.org>
	<69974160@bsam.ru> <44EBD160.90303@root.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <44EBD160.90303@root.org>
User-Agent: Mutt/1.5.6i
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 09:22:40 -0000

On Tue, Aug 22, 2006 at 08:54:08PM -0700, Nate Lawson wrote:
N> Boris Samorodov wrote:
N> >On Tue, 22 Aug 2006 19:38:23 +1000 Peter Jeremy wrote:
N> >
N> >>On Tue, 2006-Aug-22 13:08:59 +0400, Gleb Smirnoff wrote:
N> >>>On Sun, Aug 20, 2006 at 05:57:02PM +0400, Boris Samorodov wrote:
N> >>>B> Glebius@ (CCed) sent me a patch against 6-STABLE which solves the
N> >>>B> problem. However, I don't know if the patch was committed.
N> >>>
N> >>>If that was a patch that was required for merging the em(4) changes,
N> >>>then the answer is "yes". It was merged to STABLE.
N> >
N> >>In that case, my problem is different.  I have bge(4), not em(4).
N> >
N> >You shouldn't delete the quoting. ;-)
N> >
N> >So, those patches (needed to _merge_ the em(4) changes) are really for
N> >the acpi subsystem. I had a freezing notebook after updating to
N> >6.1-RELEASE and found out that the recent acpi changes are to blame.
N> 
N> Can you point me to this commit?  I browsed the sys/dev/acpica and 
N> sys/i386/acpica tree and fail to see a commit by glebius@.

This is it:

http://lists.freebsd.org/pipermail/cvs-src/2006-July/065867.html

It doesn't fix any bugs in ACPI.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE

From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 10:21:14 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
X-Original-To: freebsd-acpi@hub.freebsd.org
Delivered-To: freebsd-acpi@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4BFF816A4DF
	for <freebsd-acpi@hub.freebsd.org>;
	Wed, 23 Aug 2006 10:21:14 +0000 (UTC)
	(envelope-from ccofrmhoeqk@customcarts.com)
Received: from xdsl-12255.wroclaw.dialog.net.pl
	(xdsl-12255.wroclaw.dialog.net.pl [87.105.2.223])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5A37E43D5F
	for <freebsd-acpi@hub.freebsd.org>;
	Wed, 23 Aug 2006 10:20:53 +0000 (GMT)
	(envelope-from ccofrmhoeqk@customcarts.com)
Message-ID: <001301c6c69d$cacf82c0$df026957@komputer>
From: "This" <ccofrmhoeqk@customcarts.com>
To: freebsd-acpi@hub.freebsd.org
Date: Wed, 23 Aug 2006 12:20:44 -0200
MIME-Version: 1.0
Content-Type: multipart/related; type="multipart/alternative";
	boundary="----=_NextPart_000_000F_01C6C6AE.8E5852C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: 
Subject: Page Marines
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 10:21:14 -0000

------=_NextPart_000_000F_01C6C6AE.8E5852C0
Content-Type: text/plain;
	charset="windows-1250"
Content-Transfer-Encoding: quoted-printable


TO FIGHT Poll: Voters
around Instant AccessCNN newscasts indepth programs global
Force


Whats New Clearance Gift Affiliate Program Points Site Index Navigate by =
Interest: DIY Goodies Monkeys Cool Retro Stuff Gifts Under Our Favorites =
Binary Coder iPod Your Gamer Linux Tux Mad Scientist Penny Arcade Store =
PVP Slashdot Micro USB Devices OReilly OSTG Outdoor RSS Feeds Info Get =
ThinkGeek Sign
alleged activity Ramseys murder. Dan Simon slow rebuild :Southern cities =
going wars Jim Clancy bulge P.E. classes shrink Scenes: happened my =
Podcasts Listen Radio around Instant AccessCNN newscasts indepth =
programs global Best Pipeline partners driven Current seeing scattered =
showers CNNMoney DOW NAS SampP Enter Symbol: Lookup Updated: As close =
sponsored by: MAKING THEIR MARK Who impactWho think week HOUSE CALL =
Email us: Ask time: Send questions common ailments Section Hundreds
Sabers now just for LIMITED TIME ONLY Or pickup new seven foot plus dual =
bladed Maul Lighsaber assemble work two sabers Realistic digital sound =
effects light more... nb. cotton black tshirt with simple phrase written =
front white. moments where dangerous nbs flock nearby can disguise
before quality gaming mouse highly accurate mousing surface soothing =
blue LEDs boot. But wait This sweet accessory also highspeed Acrobots =
stackable very artistic feature crystal clear round heads magnets their =
hands feet flexible joints ability contort hundreds shapes. Great =
fidgety scifi action figures Dynaflex Powerball Gyroscope certainly =
addictive little gadget. precision crafted gyroscope has been carefully =
Capable speeds excess rpm. Digital counter. Nabaztag Wifi Smart Rabbit =
worlds smart
survivor describes gas attack best IReports Gallery: When news happens =
Thai police: Karr cited sex JonBenet mourns air crash victims law =
officers charity bike ride hiding places Report: Paramount Tom Cruise =
split Uncle wanted him himStudy: Hybrid cars will pay over plug pulled =
hotel TV Storm Debby forms figure: Man solves math problem shuns prize =
Watch live: PGA Wire: Latest updates top stories
gunfire Bush: Leaving would disaster .Fortune Wireless may float above =
Earth Recycling brings tech Nobel Prize winner explains Nazi alltime =
PageVideo mind Mindy McCready Killing computer basket Library marathons =
days How child learns Hobbit ancestor pygmy historic Forecast ugly =
American Istanbuls sultry Student Charter students score lower reading =
only tribal college Why Red Sox imploded Biggest brewing across Wall =
St.s Where British Their Holidays Baghdad: Cant Stop Alyssa
porn offers lead IranSome duties yet storm parts recalled Amanpour: =
still deadly relevantA yearolds Adam Eve storyMost read stories. Updated =
every minutes. Details Hezbollah hideout :Pictures southern
------=_NextPart_000_000F_01C6C6AE.8E5852C0--


From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 11:32:32 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 2217116A4DD;
	Wed, 23 Aug 2006 11:32:32 +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 4399D43D6D;
	Wed, 23 Aug 2006 11:32:19 +0000 (GMT) (envelope-from bsam@bsam.ru)
Received: from bsam.ru ([83.239.48.164])
	by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7NBW1WN088886;
	Wed, 23 Aug 2006 15:32:12 +0400 (MSD)
Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD))
	(envelope-from <bsam@bsam.ru>)
	id 1GFqwZ-0000BZ-2S; Wed, 23 Aug 2006 15:30:47 +0400
To: "Tim Dettloff" <acpi.dettloff@gmail.com>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org> <94951745@bsam.ru>
	<20060822090859.GO96644@cell.sick.ru> <36056572@bsam.ru>
	<f67067e80608230001y2df4573aq10abda03fa425347@mail.gmail.com>
From: Boris Samorodov <bsam@ipt.ru>
Date: Wed, 23 Aug 2006 15:30:47 +0400
In-Reply-To: <f67067e80608230001y2df4573aq10abda03fa425347@mail.gmail.com>
	(Tim Dettloff's message of "Wed, 23 Aug 2006 17:01:10 +1000")
Message-ID: <80676856@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 <bsam@bsam.ru>
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-acpi@freebsd.org,
	Gleb Smirnoff <glebius@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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 11:32:32 -0000

On Wed, 23 Aug 2006 17:01:10 +1000 Tim Dettloff wrote:
> > > 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.
> >
> > Gleb, thanks for the info!
> >
> > Then I may suggest Tim to upgrade to the lastest -STABLE to avoid the
> > problem.

> Updated to stable, but the machine still hangs :o(

It's a pitty but it's another issue then. :-(


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve

From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 13:15:14 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 9FA5F16A4DE
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 13:15:14 +0000 (UTC)
	(envelope-from eazam@mylinux.net.my)
Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1CDFB43D73
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 13:15:13 +0000 (GMT)
	(envelope-from eazam@mylinux.net.my)
Received: from localhost (localhost [127.0.0.1])
	by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 433881143B
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 21:17:24 +0800 (MYT)
X-Virus-Scanned: by Amavis running at TOMOYO.MyBSD.ORG.MY
Received: from tomoyo.MyBSD.org.my ([127.0.0.1])
	by localhost (TOMOYO.MyBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9lzgquYWb-mT for <freebsd-acpi@freebsd.org>;
	Wed, 23 Aug 2006 21:17:21 +0800 (MYT)
Received: from [60.50.105.13] (localhost [127.0.0.1])
	by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 775C811435
	for <freebsd-acpi@freebsd.org>; Wed, 23 Aug 2006 21:17:21 +0800 (MYT)
Message-ID: <44EC54DD.8000208@mylinux.net.my>
Date: Wed, 23 Aug 2006 21:15:09 +0800
From: eazam <eazam@mylinux.net.my>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: freebsd-acpi@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: acpi error
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 13:15:14 -0000


hi, i got this error when applying 6.1 - stable.

Release
     6.1-stable
Environment

     FreeBSD gun-grave-mafia.mybsd.org.my 6.1-STABLE FreeBSD 6.1-STABLE 
#0: Thu Aug 17 00:39:14FreeBSD gun-grave-mafia.mybsd.org.my 6.1-STABLE 
FreeBSD 6.1-STABLE #0: Thu Aug 17 00:39:14 MYT 2006 
root@gun-grave-mafia.mybsd.org.my:/usr/obj/usr/src/sys/GUNGRAVE  i386
      MYT 2006 
root@gun-grave-mafia.mybsd.org.my:/usr/obj/usr/src/sys/GUNGRAVE  i386


Description

     when power off main supply
     this error appear in dmesg output

     acpi: bad read from port 0x080 (16)
     acpi: bad write to port 0x080 (16), val 0xc3250031
     acpi: bad read from port 0x080 (16)
     acpi: bad write to port 0x080 (16), val 0xc3250031

     using dell inspiron 700m notebook.


How-To-Repeat

      on and off power supply

From owner-freebsd-acpi@FreeBSD.ORG  Wed Aug 23 17:55:52 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 E7D0F16A4F8;
	Wed, 23 Aug 2006 17:55:52 +0000 (UTC) (envelope-from nate@root.org)
Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4E643D46;
	Wed, 23 Aug 2006 17:55:52 +0000 (GMT) (envelope-from nate@root.org)
X-ORBL: [67.119.74.222]
Received: from [10.0.0.53] (adsl-67-119-74-222.dsl.sntc01.pacbell.net
	[67.119.74.222])
	by ylpvm29.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7NHtnXu007827; Wed, 23 Aug 2006 13:55:50 -0400
Message-ID: <44EC9686.10502@root.org>
Date: Wed, 23 Aug 2006 10:55:18 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.2 (X11/20060501)
MIME-Version: 1.0
To: Gleb Smirnoff <glebius@FreeBSD.org>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
	<94951745@bsam.ru> <20060822090859.GO96644@cell.sick.ru>
	<20060822093823.GB743@turion.vk2pj.dyndns.org>
	<69974160@bsam.ru> <44EBD160.90303@root.org>
	<20060823092233.GB96644@cell.sick.ru>
In-Reply-To: <20060823092233.GB96644@cell.sick.ru>
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Aug 2006 17:55:53 -0000

Gleb Smirnoff wrote:
> On Tue, Aug 22, 2006 at 08:54:08PM -0700, Nate Lawson wrote:
> N> Boris Samorodov wrote:
> N> >On Tue, 22 Aug 2006 19:38:23 +1000 Peter Jeremy wrote:
> N> >
> N> >>On Tue, 2006-Aug-22 13:08:59 +0400, Gleb Smirnoff wrote:
> N> >>>On Sun, Aug 20, 2006 at 05:57:02PM +0400, Boris Samorodov wrote:
> N> >>>B> Glebius@ (CCed) sent me a patch against 6-STABLE which solves the
> N> >>>B> problem. However, I don't know if the patch was committed.
> N> >>>
> N> >>>If that was a patch that was required for merging the em(4) changes,
> N> >>>then the answer is "yes". It was merged to STABLE.
> N> >
> N> >>In that case, my problem is different.  I have bge(4), not em(4).
> N> >
> N> >You shouldn't delete the quoting. ;-)
> N> >
> N> >So, those patches (needed to _merge_ the em(4) changes) are really for
> N> >the acpi subsystem. I had a freezing notebook after updating to
> N> >6.1-RELEASE and found out that the recent acpi changes are to blame.
> N> 
> N> Can you point me to this commit?  I browsed the sys/dev/acpica and 
> N> sys/i386/acpica tree and fail to see a commit by glebius@.
> 
> This is it:
> 
> http://lists.freebsd.org/pipermail/cvs-src/2006-July/065867.html
> 
> It doesn't fix any bugs in ACPI.
> 

Ok, I agree.  This is a patch to update the taskqueue api, not a bug in 
ACPI.

-- 
Nate

From owner-freebsd-acpi@FreeBSD.ORG  Thu Aug 24 06:47:41 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 DAEAB16A4DD
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 06:47:41 +0000 (UTC)
	(envelope-from peterjeremy@optushome.com.au)
Received: from mail21.syd.optusnet.com.au (mail21.syd.optusnet.com.au
	[211.29.133.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1001F43D5C
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 06:47:40 +0000 (GMT)
	(envelope-from peterjeremy@optushome.com.au)
Received: from turion.vk2pj.dyndns.org
	(c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236])
	by mail21.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id
	k7O6lcrG028878
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 16:47:38 +1000
Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])
	by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k7O6lc9B000792
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 16:47:38 +1000 (EST)
	(envelope-from peter@turion.vk2pj.dyndns.org)
Received: (from peter@localhost)
	by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k7O6lcgm000791
	for freebsd-acpi@freebsd.org; Thu, 24 Aug 2006 16:47:38 +1000 (EST)
	(envelope-from peter)
Date: Thu, 24 Aug 2006 16:47:38 +1000
From: Peter Jeremy <peterjeremy@optushome.com.au>
To: freebsd-acpi@freebsd.org
Message-ID: <20060824064738.GA727@turion.vk2pj.dyndns.org>
References: <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com>
	<20060820110545.GG1066@turion.vk2pj.dyndns.org>
	<94951745@bsam.ru> <20060822090859.GO96644@cell.sick.ru>
	<20060822093823.GB743@turion.vk2pj.dyndns.org> <69974160@bsam.ru>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP"
Content-Disposition: inline
In-Reply-To: <69974160@bsam.ru>
X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc
User-Agent: Mutt/1.5.12-2006-07-14
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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2006 06:47:41 -0000


--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've just upgraded my HP nx6125 to an up-to-date -current and
my powerd(8) emulator[1] still wedges it solid.

[1] A perl script that pseudo-randomly changes dev.cpu.0.freq

--=20
Peter Jeremy

--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE7UuK/opHv/APuIcRAqGLAKC1sBYEAT6Dk4FOAcnemcOa2HVuOgCgj17Z
fR9NimL3VRul6PHxhX6bh4o=
=iY9A
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--

From owner-freebsd-acpi@FreeBSD.ORG  Thu Aug 24 15:18:48 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 CD9BD16A4DA
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 15:18:48 +0000 (UTC)
	(envelope-from oberman@es.net)
Received: from postal2.es.net (postal2.es.net [198.128.3.206])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 97BA743D45
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 15:18:48 +0000 (GMT)
	(envelope-from oberman@es.net)
Received: from ptavv.es.net (ptavv.es.net [198.128.4.29])
	by postal2.es.net (Postal Node 2) with ESMTP (SSL) id CXQ07840;
	Thu, 24 Aug 2006 08:18:40 -0700
Received: from ptavv.es.net (localhost [127.0.0.1])
	by ptavv.es.net (Tachyon Server) with ESMTP id B0D8F45056;
	Thu, 24 Aug 2006 08:18:39 -0700 (PDT)
To: Peter Jeremy <peterjeremy@optushome.com.au>
In-reply-to: Your message of "Thu, 24 Aug 2006 16:47:38 +1000."
	<20060824064738.GA727@turion.vk2pj.dyndns.org> 
Date: Thu, 24 Aug 2006 08:18:39 -0700
From: "Kevin Oberman" <oberman@es.net>
Message-Id: <20060824151839.B0D8F45056@ptavv.es.net>
Cc: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2006 15:18:48 -0000

> Date: Thu, 24 Aug 2006 16:47:38 +1000
> From: Peter Jeremy <peterjeremy@optushome.com.au>
> Sender: owner-freebsd-acpi@freebsd.org
> 
> I've just upgraded my HP nx6125 to an up-to-date -current and
> my powerd(8) emulator[1] still wedges it solid.
> 
> [1] A perl script that pseudo-randomly changes dev.cpu.0.freq
> 
> -- 
> Peter Jeremy

Peter,

One think I have noticed is that some slower speeds available with P4TCC
throttling will cause the system to lock. This has always been the
case. On my T30 which was a P4-M at, the lowest speeds available with
P4TCC available was 75 or 100 MHz and setting my speed to either of the
two lowest values would lock the system. I patched powerd to prevent
either of these from being selected and everything worked form that
point.

That was a MUCH older version of powerd (at least from early last year)
and I no longer have the T30.

My new T43 seems to not have this problem. It runs flawlessly at all
speeds, whether I enable EST (cpufreq) or not. The system clearly does
better with cpufreq than without, but it falsely reports CPU speed with
cpufreq. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

From owner-freebsd-acpi@FreeBSD.ORG  Thu Aug 24 16:07:57 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 471B516A4DD
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 16:07:57 +0000 (UTC)
	(envelope-from oberman@es.net)
Received: from postal4.es.net (postal4.es.net [198.124.252.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E593543D49
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 16:07:56 +0000 (GMT)
	(envelope-from oberman@es.net)
Received: from ptavv.es.net (ptavv.es.net [198.128.4.29])
	by postal4.es.net (Postal Node 4) with ESMTP (SSL) id CYF09656;
	Thu, 24 Aug 2006 09:07:56 -0700
Received: from ptavv.es.net (localhost [127.0.0.1])
	by ptavv.es.net (Tachyon Server) with ESMTP id 3847245056;
	Thu, 24 Aug 2006 09:07:55 -0700 (PDT)
To: Peter Jeremy <peterjeremy@optushome.com.au>
In-reply-to: Your message of "Thu, 24 Aug 2006 16:47:38 +1000."
	<20060824064738.GA727@turion.vk2pj.dyndns.org> 
Date: Thu, 24 Aug 2006 09:07:55 -0700
From: "Kevin Oberman" <oberman@es.net>
Message-Id: <20060824160755.3847245056@ptavv.es.net>
Cc: 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2006 16:07:57 -0000

> Date: Thu, 24 Aug 2006 16:47:38 +1000
> From: Peter Jeremy <peterjeremy@optushome.com.au>
> Sender: owner-freebsd-acpi@freebsd.org
> 
> 
> --jRHKVT23PllUwdXP
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> I've just upgraded my HP nx6125 to an up-to-date -current and
> my powerd(8) emulator[1] still wedges it solid.
> 
> [1] A perl script that pseudo-randomly changes dev.cpu.0.freq

Also, I think that debug.cpufreq.lowest can be used to limit the low
speed and avoid the ones that cause hangs.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

From owner-freebsd-acpi@FreeBSD.ORG  Thu Aug 24 16:37:25 2006
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
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 C1CA916A4DA
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 16:37:25 +0000 (UTC)
	(envelope-from nate@root.org)
Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1786D43D6B
	for <freebsd-acpi@freebsd.org>; Thu, 24 Aug 2006 16:37:23 +0000 (GMT)
	(envelope-from nate@root.org)
X-ORBL: [71.139.46.150]
Received: from [10.0.5.50] (ppp-71-139-46-150.dsl.snfc21.pacbell.net
	[71.139.46.150])
	by ylpvm43.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id
	k7OGb1oZ009002; Thu, 24 Aug 2006 12:37:01 -0400
Message-ID: <44EDD5AA.2030107@root.org>
Date: Thu, 24 Aug 2006 09:36:58 -0700
From: Nate Lawson <nate@root.org>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: Kevin Oberman <oberman@es.net>
References: <20060824160755.3847245056@ptavv.es.net>
In-Reply-To: <20060824160755.3847245056@ptavv.es.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Peter Jeremy <peterjeremy@optushome.com.au>, 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 <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2006 16:37:25 -0000

Kevin Oberman wrote:
>> Date: Thu, 24 Aug 2006 16:47:38 +1000
>> From: Peter Jeremy <peterjeremy@optushome.com.au>
>> Sender: owner-freebsd-acpi@freebsd.org
>>
>>
>> --jRHKVT23PllUwdXP
>> Content-Type: text/plain; charset=us-ascii
>> Content-Disposition: inline
>> Content-Transfer-Encoding: quoted-printable
>>
>> I've just upgraded my HP nx6125 to an up-to-date -current and
>> my powerd(8) emulator[1] still wedges it solid.
>>
>> [1] A perl script that pseudo-randomly changes dev.cpu.0.freq
> 
> Also, I think that debug.cpufreq.lowest can be used to limit the low
> speed and avoid the ones that cause hangs.

That, and if you find the problem driver, you can just disable it 
individually.  example:
hint.p4tcc.0.disabled="1"

If that doesn't work, try disabling acpi_throttle the same way. 
Figuring out which cpufreq drivers are attached on your system would be 
a good start (dmesg | grep cpu).

All other cpufreq drivers will continue to function just fine.  That's 
why the title of this message is misleading.  cpufreq is a framework, 
not a single driver.  It's like saying "PCI makes my system hang".

-- 
Nate