From owner-freebsd-acpi@FreeBSD.ORG  Mon Nov  5 10:58:28 2012
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 20F09A45;
 Mon,  5 Nov 2012 10:58:28 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
 by mx1.freebsd.org (Postfix) with ESMTP id 34DBF8FC08;
 Mon,  5 Nov 2012 10:58:26 +0000 (UTC)
Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua
 [212.40.38.100])
 by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA28185;
 Mon, 05 Nov 2012 12:58:23 +0200 (EET) (envelope-from avg@FreeBSD.org)
Received: from localhost ([127.0.0.1])
 by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD))
 id 1TVKNq-0004Nm-Va; Mon, 05 Nov 2012 12:58:23 +0200
Message-ID: <50979BCD.3060000@FreeBSD.org>
Date: Mon, 05 Nov 2012 12:58:21 +0200
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:16.0) Gecko/20121030 Thunderbird/16.0.2
MIME-Version: 1.0
To: Tom Lislegaard <Tom.Lislegaard@proact.no>
Subject: Re: 9-Stable panic: resource_list_unreserve: can't find resource
References: <E8A24BEFDC390C4491718DEE8A9C4F2091F824@Semail03.proact.local>
 <509172F6.2040400@FreeBSD.org>
 <E8A24BEFDC390C4491718DEE8A9C4F2091FC33@Semail03.proact.local>
 <5092F209.7090803@FreeBSD.org>
 <E8A24BEFDC390C4491718DEE8A9C4F20920DD1@Semail03.proact
 <5093BECC.1030709@FreeBSD.org>
 <E8A24BEFDC390C4491718DEE8A9C4F20921BAC@Semail03.proact.local>
In-Reply-To: <E8A24BEFDC390C4491718DEE8A9C4F20921BAC@Semail03.proact.local>
X-Enigmail-Version: 1.4.5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-acpi@FreeBSD.org, freebsd-stable@FreeBSD.org
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/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, 05 Nov 2012 10:58:28 -0000

on 05/11/2012 12:26 Tom Lislegaard said the following:
>> -----Original Message-----
>> From: Andriy Gapon [mailto:avg@FreeBSD.org]
>> I see.  Could you please try setting debug.acpi.max_threads=1 in /boot/loader.conf, reboot and see if
>> that makes any difference?
> 
> It does make a difference. I've had the machine running over the week-end, and haven't had a crash in 56 hours.
> 
> After applying the setting I get some errors on reboot, no idea if they are harmful in any way (none that I have notced):
> 
> AcpiOsExecute: failed to enqueue task, consider increasing the debug.acpi.max_tasks tunable
> ACPI Error: Method parse/execution failed [\\PNOT] (Node 0xfffffe00052e6400), AE_NO_MEMORY (20110527/psparse-560)
> ACPI Error: Method parse/execution failed [\\_SB_.AC__._PSR] (Node 0xfffffe00052f57c0), AE_NO_MEMORY (20110527/psparse-560)
> 
> The same messages repeats 6 times

Thank you for the test!
Try to set debug.acpi.max_tasks to 128 or even higher to get rid of the new ACPI
errors.

Additionally I would like to ask you to do the following test.
Please stop devd and then run it (as root) from command line as such devd -D -d.
Please check what event are reported by devd.  In particular I am interested in
ACAD events, but all high frequency events are important.

Thanks!
-- 
Andriy Gapon