From owner-acpi-jp@jp.freebsd.org  Thu Oct 25 21:43:28 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id VAA85029;
	Thu, 25 Oct 2001 21:43:28 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from acampi.inet.it ([213.92.1.165])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id VAA85024
	for <acpi-jp@jp.freebsd.org>; Thu, 25 Oct 2001 21:43:27 +0900 (JST)
	(envelope-from andrea@acampi.inet.it)
Received: by acampi.inet.it (Postfix, from userid 1000)
	id 7B07B15562; Thu, 25 Oct 2001 14:43:12 +0200 (CEST)
Date: Thu, 25 Oct 2001 14:43:11 +0200
From: Andrea Campi <andrea@webcom.it>
To: John Baldwin <jhb@FreeBSD.org>
Cc: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>, current@FreeBSD.ORG
Message-ID: <20011025144311.D75454@webcom.it>
References: <86r8rtktww.fsf@xa12.heimat.gr.jp> <XFMail.011023232742.jhb@FreeBSD.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <XFMail.011023232742.jhb@FreeBSD.org>
User-Agent: Mutt/1.3.23i
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1370
Subject: [acpi-jp 1370] Re: -CURRENT freeze under high load
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: andrea@webcom.it

On Tue, Oct 23, 2001 at 11:27:42PM -0700, John Baldwin wrote:
> I would try removing apm from your kernel config or disabling ACPI and only
> using one or the other and seeing if that helps.

That was my feeling, too. In the end, it appears the problem is rev 1.8 of
dev/acpi/acpi_powerres.c. Just reverting that fixed my problem (it wasn't fun
to find that, anyway).

To summarize my problem: this commit 


dfr         2001/10/04 01:32:18 PDT

  Modified files:
    sys/dev/acpica       acpi_powerres.c 
  Log:
  Use return_PTR, not return_VALUE when returning pointers.
  
  Revision  Changes    Path
  1.8       +3 -3      src/sys/dev/acpica/acpi_powerres.c


causes my Thinkpad 570E to completely freeze under load.

I've just updated to -HEAD with this delta reverted and running a make
buildkernel right now.

Bye,
	Andrea
