From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 02:04:04 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D55D61065693
	for <freebsd-acpi@FreeBSD.org>; Mon, 28 Sep 2009 02:04:04 +0000 (UTC)
	(envelope-from ddkprog@yahoo.com)
Received: from web59102.mail.re1.yahoo.com (web59102.mail.re1.yahoo.com
	[66.196.101.13]) by mx1.freebsd.org (Postfix) with SMTP id 7BBFF8FC1E
	for <freebsd-acpi@FreeBSD.org>; Mon, 28 Sep 2009 02:04:04 +0000 (UTC)
Received: (qmail 78721 invoked by uid 60001); 28 Sep 2009 01:37:23 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1254101843; bh=8bvyx2APQDPTIV8oWbEc1axjPAZFheJr3YrArDbXus4=;
	h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=sVY9BnWriIpnaUth1AqzDbCnncV+MZi9px+EvA0g9+altAkFdHYaXCuk1JAPEO3XeSxQp0cXlrynZ0yIBpcsAfODtvYYrAaVf7ytaX7iCHYml9zIhUaNrkbFtg0C+BtXcSfPc9V+Gf8LR3RQ5UNO7ribt+dT0wy/41LrAKieqsI=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=dzLKXBkl9+8+BrLsoIDDhfb8vBQotMi4MyLzEKglKYhqrzYa1grgoirtz0gXX67xiw6xhGOXGAm2AsTpG0BKUgMzTDh7nZMUQvqVwu5KCX8ukhL0+7a5TAqHuZDLmFpi5qyKJOD+80AQzNxYyotskdDjgp2Nupx0Vqu325wBAY8=;
Message-ID: <396191.78718.qm@web59102.mail.re1.yahoo.com>
X-YMail-OSG: IUphpOUVM1kXeSJn7YOgVOreoiXNueGfRmuce76N.dkZSC01Q6fSojbVIhXQ.Xwr1Gt37wfaLSZijYh3_N9n.PJqPoT3CrRMVgVXmNUTMNOVIEHoXB.KjUKogTht5diDeIPuHVyrs8yCeo5RhGAdxXQp3vJFhKpIWcrgqDtsIqXw6R3sb9ce1alTQi0JOtyJklAlHbd8I4jRoyp5G.7RSyVKBL3pLjEuaFYxN_mP0D5z.vE0fFEHpQ2pTPyTQRKCaVVuvG51xI_L
Received: from [95.109.187.185] by web59102.mail.re1.yahoo.com via HTTP;
	Sun, 27 Sep 2009 18:37:23 PDT
X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3
Date: Sun, 27 Sep 2009 18:37:23 -0700 (PDT)
From: paradox <ddkprog@yahoo.com>
To: Jung-uk Kim <jkim@FreeBSD.org>
In-Reply-To: <200909251920.53982.jkim@FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: freebsd-acpi@FreeBSD.org
Subject: Re: [PATCH] apm(4) ioctls for amd64
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, 28 Sep 2009 02:04:04 -0000

if the entry point to the APM BIOS in x86bios area
it would not be bad do porting APM for amd64 from i386

> It seems there are enough demands for
> apm(4) ioctls on amd64.=A0=20
> Basically this patch is copy-and-paste from i386, which
> emulates apm=20
> with acpi(4).
>=20
> # uname -m
> amd64
> # apm=20
> APM version: 1.2
> APM Management: Disabled
> AC Line status: off-line
> Battery Status: high
> Remaining battery life: 99%
> Remaining battery time:=A0 1:25:00
> Number of batteries: 1
> Battery 0:
> =A0 =A0 =A0 =A0 Battery Status: high
> =A0 =A0 =A0 =A0 Remaining battery life: 99%
> =A0 =A0 =A0 =A0 Remaining battery time:=A0
> 1:25:00
> Resume timer: unknown
> Resume on ring indicator: disabled
>=20
> Cheers,
>=20
> Jung-uk Kim
> =0A=0A=0A      

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 02:55:16 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 19055106566B;
	Mon, 28 Sep 2009 02:55:16 +0000 (UTC)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id E468B8FC33;
	Mon, 28 Sep 2009 02:55:15 +0000 (UTC)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8S2tFJG019112;
	Mon, 28 Sep 2009 02:55:15 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8S2tFKw019108;
	Mon, 28 Sep 2009 02:55:15 GMT (envelope-from linimon)
Date: Mon, 28 Sep 2009 02:55:15 GMT
Message-Id: <200909280255.n8S2tFKw019108@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-acpi@FreeBSD.org
From: linimon@FreeBSD.org
Cc: 
Subject: Re: kern/139088: [acpi] ACPI Exception: AE_AML_INFINITE_LOOP 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: Mon, 28 Sep 2009 02:55:16 -0000

Old Synopsis: ACPI Exception: AE_AML_INFINITE_LOOP error
New Synopsis: [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error

Responsible-Changed-From-To: freebsd-i386->freebsd-acpi
Responsible-Changed-By: linimon
Responsible-Changed-When: Mon Sep 28 02:55:03 UTC 2009
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=139088

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 07:21:18 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 29A34106566B;
	Mon, 28 Sep 2009 07:21:18 +0000 (UTC) (envelope-from kama@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id DCF4E8FC0C;
	Mon, 28 Sep 2009 07:21:17 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id EAC406D; Mon, 28 Sep 2009 09:21:15 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id E6F366C; Mon, 28 Sep 2009 09:21:15 +0200 (CEST)
Date: Mon, 28 Sep 2009 09:21:15 +0200 (CEST)
From: kama <kama@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <4ABC894E.7040204@freebsd.org>
Message-ID: <20090928092026.B37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 28 Sep 2009 07:21:18 -0000



On Fri, 25 Sep 2009, Andriy Gapon wrote:

> on 25/09/2009 12:04 kama said the following:
> > On Thu, 24 Sep 2009, kama wrote:
> >
> >> I am currently building the source on another machine. Lets see if it will
> >> build it any better.
> >
> > Building the the world on another machine and install it on the DL385
> > machine made it also to freeze.
>
> Did you still get the message about unresolved symbol?

I did not try with ACPI_DEBUG enabled.

Another week, so I can start testing again...

/Bjorn

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 08:07:57 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EC5921065679;
	Mon, 28 Sep 2009 08:07:57 +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 D8B728FC17;
	Mon, 28 Sep 2009 08:07:56 +0000 (UTC)
Received: from porto.topspin.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 LAA28742;
	Mon, 28 Sep 2009 11:07:54 +0300 (EEST)
	(envelope-from avg@freebsd.org)
Received: from localhost.topspin.kiev.ua ([127.0.0.1])
	by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD))
	id 1MsBGz-0008IG-Vv; Mon, 28 Sep 2009 11:07:54 +0300
Message-ID: <4AC06ED6.7030402@freebsd.org>
Date: Mon, 28 Sep 2009 11:07:50 +0300
From: Andriy Gapon <avg@freebsd.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090823)
MIME-Version: 1.0
To: kama <kama@pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua>
	<20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua>
	<20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua>
	<20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org>
	<20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se>
	<4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se>
In-Reply-To: <20090928092026.B37424@ns1.as.pvp.se>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 28 Sep 2009 08:07:58 -0000

on 28/09/2009 10:21 kama said the following:
> 
> On Fri, 25 Sep 2009, Andriy Gapon wrote:
> 
>> on 25/09/2009 12:04 kama said the following:
>>> On Thu, 24 Sep 2009, kama wrote:
>>>
>>>> I am currently building the source on another machine. Lets see if it will
>>>> build it any better.
>>> Building the the world on another machine and install it on the DL385
>>> machine made it also to freeze.
>> Did you still get the message about unresolved symbol?
> 
> I did not try with ACPI_DEBUG enabled.
> 
> Another week, so I can start testing again...

I did not ask that :-)
I asked -  when you got your latest freeze, did you see that 'unresolved'
message or not?


-- 
Andriy Gapon

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 11:06:48 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 572B4106568D
	for <freebsd-acpi@FreeBSD.org>; Mon, 28 Sep 2009 11:06:48 +0000 (UTC)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 43DB28FC0A
	for <freebsd-acpi@FreeBSD.org>; Mon, 28 Sep 2009 11:06:48 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SB6moE063892
	for <freebsd-acpi@FreeBSD.org>; Mon, 28 Sep 2009 11:06:48 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8SB6lf0063888
	for freebsd-acpi@FreeBSD.org; Mon, 28 Sep 2009 11:06:47 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 28 Sep 2009 11:06:47 GMT
Message-Id: <200909281106.n8SB6lf0063888@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats 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 freebsd-acpi@FreeBSD.org
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, 28 Sep 2009 11:06:48 -0000

Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o kern/139088  acpi       [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error
o amd64/138210 acpi       [acpi] acer aspire 5536 ACPI problems (S3, brightness,
o bin/137053   acpi       [hang] FreeBSD 8.0 BETA2Compaq Mini 700 locks on boot 
o kern/137042  acpi       [acpi] hp laptop's lcd not wakes up after suspend to r
o kern/136808  acpi       [acpi] panic when switching to s3
o i386/136008  acpi       [acpi] Dell Vostro 1310 will not shutdown (Requires us
o bin/135349   acpi       [patch] teach acpidump(8) to disassemble arbitrary mem
o kern/135070  acpi       [acpi] [patch] BIOS resource allocation and FreeBSD AC
o kern/132602  acpi       [acpi] ACPI Problem with Intel SS4200: System does not
o kern/130683  acpi       [ACPI] shutdown hangs after syncing disks - ACPI race?
o i386/129953  acpi       [acpi] ACPI timeout (CDROM) with Shuttle X27D
o kern/129618  acpi       [acpi] Problem with ACPI on HP Pavilion DV2899 laptop
o kern/129563  acpi       [acpi] sleep broken on IBM/Lenovo T61 in amd64 mode
f kern/128639  acpi       [patch] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not 
f kern/128634  acpi       [patch] fix acpi_asus(4) in asus a6f laptop
o kern/127581  acpi       [patch] [acpi_sony] Add support for more Sony features
o kern/124744  acpi       [acpi] [patch] incorrect _BST result validation for To
o kern/124412  acpi       [acpi] power off error on Toshiba M40 laptop
o kern/123039  acpi       [acpi] ACPI AML_BUFFER_LIMIT errors during boot
o kern/121504  acpi       [patch] Correctly set hw.acpi.osname on certain machin
f kern/121454  acpi       [pst] Promise SuperTrak SX6000 does not load during bo
o amd64/121439 acpi       [boot] Installation of FreeBSD 7.0 fails: ACPI problem
o kern/121102  acpi       [acpi_fujitsu] [patch] update acpi_fujitsu for the P80
o kern/120515  acpi       [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc 
o kern/119356  acpi       [acpi]: i386 ACPI wakeup not work due resource exhaust
o kern/119200  acpi       [acpi] Lid close switch suspends CPU for 1 second on H
o kern/118973  acpi       [acpi]: Kernel panic with acpi boot
o kern/117605  acpi       [acpi] [request] add debug.cpufreq.highest
o kern/116939  acpi       [acpi] PCI-to-PCI misconfigured for bus three and can 
o i386/114562  acpi       [acpi] cardbus is dead after s3 on Thinkpad T43 with a
o kern/114165  acpi       [acpi] Dell C810 - ACPI problem
s kern/112544  acpi       [acpi] [patch] Add High Precision Event Timer Driver f
o kern/108954  acpi       [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx
o kern/108695  acpi       [acpi]: Fatal trap 9: general protection fault when in
o kern/108488  acpi       [acpi] ACPI-1304: *** Error: Method execution failed
o kern/108017  acpi       [acpi]: Acer Aspire 5600
o kern/106924  acpi       [acpi] ACPI resume returns g_vfs_done() errors and ker
o kern/105537  acpi       [acpi] problems in acpi on HP Compaq nc6320
o kern/104625  acpi       ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther
o kern/102252  acpi       acpi thermal does not work on Abit AW8D (intel 975)
o kern/97383   acpi       Volume buttons on IBM Thinkpad crash system with ACPI
s i386/91748   acpi       acpi problem on Acer TravelMare 4652LMi (nvidia panic,
s kern/91038   acpi       [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am
s kern/90243   acpi       Laptop fan doesn't turn off (ACPI enabled) (Packard Be
o i386/83018   acpi       [install] Installer will not boot on Asus P4S8X BIOS 1
f kern/81000   acpi       [apic] Via 8235 sound card worked great with FreeBSD 5
o i386/79081   acpi       ACPI suspend/resume not working on HP nx6110
o kern/76950   acpi       ACPI wrongly blacklisted on Micron ClientPro 766Xi sys
s kern/73823   acpi       [request] acpi / power-on by timer support
o i386/72566   acpi       ACPI, FreeBSD disables fan on Compaq Armada 1750
o i386/69750   acpi       Boot without ACPI failed on ASUS L5
o kern/56024   acpi       ACPI suspend drains battery while in S3
o i386/55661   acpi       ACPI suspend/resume problem on ARMADA M700
o i386/54756   acpi       ACPI suspend/resume problem on CF-W2 laptop

54 problems total.


From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 13:47:09 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6B3B2106566B;
	Mon, 28 Sep 2009 13:47:09 +0000 (UTC) (envelope-from jhb@freebsd.org)
Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42])
	by mx1.freebsd.org (Postfix) with ESMTP id 2ABEF8FC0A;
	Mon, 28 Sep 2009 13:47:09 +0000 (UTC)
Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net
	[66.111.2.69])
	by cyrus.watson.org (Postfix) with ESMTPSA id D02DE46B17;
	Mon, 28 Sep 2009 09:47:08 -0400 (EDT)
Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8])
	by bigwig.baldwin.cx (Postfix) with ESMTPA id B37C58A028;
	Mon, 28 Sep 2009 09:47:07 -0400 (EDT)
From: John Baldwin <jhb@freebsd.org>
To: freebsd-acpi@freebsd.org
Date: Mon, 28 Sep 2009 08:29:24 -0400
User-Agent: KMail/1.9.7
References: <20090926.234136.241898347.haro@h4.dion.ne.jp>
In-Reply-To: <20090926.234136.241898347.haro@h4.dion.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909280829.25171.jhb@freebsd.org>
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1
	(bigwig.baldwin.cx); Mon, 28 Sep 2009 09:47:07 -0400 (EDT)
X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx
X-Virus-Status: Clean
X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE
	autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx
Cc: current@freebsd.org
Subject: Re: [LOR] ACPI related on 9-current
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, 28 Sep 2009 13:47:09 -0000

On Saturday 26 September 2009 10:41:36 am Munehiro Matsuda wrote:
> Hi all,
> 
> I've got two LORs related to ACPI on 9-current system from few days old 
world.
> The second one with "ACPI AC adapter", may relate to using sysutils/xbattbar
> from ports.
> If you need more info, please let me know.

Try this patch.  It avoids holding the ACPI adapter lock while calling all the 
power manager eventhandler routines, and it splits the ACPI video lock up 
into two locks: one to manage the "bus" of video output devices, and one that 
serves as the softc lock for each of the video output devices.

Index: dev/acpica/acpi_acad.c
===================================================================
--- dev/acpica/acpi_acad.c	(revision 197430)
+++ dev/acpica/acpi_acad.c	(working copy)
@@ -109,13 +109,14 @@
     ACPI_SERIAL_BEGIN(acad);
     if (newstatus != -1 && sc->status != newstatus) {
 	sc->status = newstatus;
+	ACPI_SERIAL_END(acad);
 	power_profile_set_state(newstatus ? POWER_PROFILE_PERFORMANCE :
 	    POWER_PROFILE_ECONOMY);
 	ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
 	    "%s Line\n", newstatus ? "On" : "Off");
 	acpi_UserNotify("ACAD", h, newstatus);
-    }
-    ACPI_SERIAL_END(acad);
+    } else
+	ACPI_SERIAL_END(acad);
 }
 
 static void
Index: dev/acpica/acpi_video.c
===================================================================
--- dev/acpica/acpi_video.c	(revision 197438)
+++ dev/acpica/acpi_video.c	(working copy)
@@ -170,7 +170,13 @@
 static struct acpi_video_output_queue crt_units, tv_units,
     ext_units, lcd_units, other_units;
 
+/*
+ * The 'video' lock protects the hierarchy of video output devices
+ * (the video "bus").  The 'video_output' lock protects per-output
+ * data is equivalent to a softc lock for each video output.
+ */
 ACPI_SERIAL_DECL(video, "ACPI video");
+ACPI_SERIAL_DECL(video_output, "ACPI video output");
 MALLOC_DEFINE(M_ACPIVIDEO, "acpivideo", "ACPI video extension");
 
 static int
@@ -236,12 +242,14 @@
 	acpi_sc = devclass_get_softc(devclass_find("acpi"), 0);
 	if (acpi_sc == NULL)
 		return (ENXIO);
+	ACPI_SERIAL_BEGIN(video);
 	if (acpi_video_sysctl_tree == NULL) {
 		acpi_video_sysctl_tree = SYSCTL_ADD_NODE(&acpi_video_sysctl_ctx,
 				    SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree),
 				    OID_AUTO, "video", CTLFLAG_RD, 0,
 				    "video extension control");
 	}
+	ACPI_SERIAL_END(video);
 
 	sc->device = dev;
 	sc->handle = acpi_get_handle(dev);
@@ -316,6 +324,7 @@
 		dss_p = 0;
 		lasthand = NULL;
 		ACPI_SERIAL_BEGIN(video);
+		ACPI_SERIAL_BEGIN(video_output);
 		STAILQ_FOREACH(vo, &sc->vid_outputs, vo_next) {
 			dss = vo_get_graphics_state(vo->handle);
 			dcs = vo_get_device_status(vo->handle);
@@ -331,6 +340,7 @@
 		}
 		if (lasthand != NULL)
 			vo_set_device_state(lasthand, dss_p|DSS_COMMIT);
+		ACPI_SERIAL_END(video_output);
 		ACPI_SERIAL_END(video);
 		break;
 	case VID_NOTIFY_REPROBE:
@@ -367,12 +377,14 @@
 		return;
 
 	ACPI_SERIAL_BEGIN(video);
+	ACPI_SERIAL_BEGIN(video_output);
 	STAILQ_FOREACH(vo, &sc->vid_outputs, vo_next) {
 		if (vo->vo_levels != NULL && vo->vo_brightness == -1)
 			vo_set_brightness(vo->handle,
 			    state == POWER_PROFILE_ECONOMY ?
 			    vo->vo_economy : vo->vo_fullpower);
 	}
+	ACPI_SERIAL_END(video_output);
 	ACPI_SERIAL_END(video);
 }
 
@@ -550,7 +562,7 @@
 acpi_video_vo_bind(struct acpi_video_output *vo, ACPI_HANDLE handle)
 {
 
-	ACPI_SERIAL_ASSERT(video);
+	ACPI_SERIAL_BEGIN(video_output);
 	if (vo->vo_levels != NULL)
 		AcpiOsFree(vo->vo_levels);
 	vo->handle = handle;
@@ -565,6 +577,7 @@
 			/* XXX - see above. */
 			vo->vo_economy = vo->vo_levels[BCL_ECONOMY];
 	}
+	ACPI_SERIAL_END(video_output);
 }
 
 static void
@@ -605,7 +618,7 @@
 {
 	int i;
 
-	ACPI_SERIAL_ASSERT(video);
+	ACPI_SERIAL_ASSERT(video_output);
 	if (vo->vo_levels == NULL)
 		return (ENODEV);
 	for (i = 0; i < vo->vo_numlevels; i++)
@@ -624,7 +637,7 @@
 	vo = (struct acpi_video_output *)arg1;
 	if (vo->handle == NULL)
 		return (ENXIO);
-	ACPI_SERIAL_BEGIN(video);
+	ACPI_SERIAL_BEGIN(video_output);
 	state = (vo_get_device_status(vo->handle) & DCS_ACTIVE) ? 1 : 0;
 	err = sysctl_handle_int(oidp, &state, 0, req);
 	if (err != 0 || req->newptr == NULL)
@@ -632,7 +645,7 @@
 	vo_set_device_state(vo->handle,
 	    DSS_COMMIT | (state ? DSS_ACTIVE : DSS_INACTIVE));
 out:
-	ACPI_SERIAL_END(video);
+	ACPI_SERIAL_END(video_output);
 	return (err);
 }
 
@@ -644,7 +657,7 @@
 	int level, preset, err;
 
 	vo = (struct acpi_video_output *)arg1;
-	ACPI_SERIAL_BEGIN(video);
+	ACPI_SERIAL_BEGIN(video_output);
 	if (vo->handle == NULL) {
 		err = ENXIO;
 		goto out;
@@ -674,7 +687,7 @@
 	vo_set_brightness(vo->handle, (level == -1) ? preset : level);
 
 out:
-	ACPI_SERIAL_END(video);
+	ACPI_SERIAL_END(video_output);
 	return (err);
 }
 
@@ -686,7 +699,7 @@
 
 	err = 0;
 	vo = (struct acpi_video_output *)arg1;
-	ACPI_SERIAL_BEGIN(video);
+	ACPI_SERIAL_BEGIN(video_output);
 	if (vo->handle == NULL) {
 		err = ENXIO;
 		goto out;
@@ -717,7 +730,7 @@
 	*preset = level;
 
 out:
-	ACPI_SERIAL_END(video);
+	ACPI_SERIAL_END(video_output);
 	return (err);
 }
 
@@ -729,7 +742,7 @@
 	int err;
 
 	vo = (struct acpi_video_output *)arg1;
-	ACPI_SERIAL_BEGIN(video);
+	ACPI_SERIAL_BEGIN(video_output);
 	if (vo->vo_levels == NULL) {
 		err = ENODEV;
 		goto out;
@@ -742,7 +755,7 @@
 	    vo->vo_numlevels * sizeof(*vo->vo_levels), req);
 
 out:
-	ACPI_SERIAL_END(video);
+	ACPI_SERIAL_END(video_output);
 	return (err);
 }
 
@@ -892,6 +905,7 @@
 {
 	ACPI_STATUS status;
 
+	ACPI_SERIAL_ASSERT(video_output);
 	status = acpi_SetInteger(handle, "_BCM", level);
 	if (ACPI_FAILURE(status))
 		printf("can't evaluate %s._BCM - %s\n",
@@ -904,6 +918,7 @@
 	UINT32 dcs;
 	ACPI_STATUS status;
 
+	ACPI_SERIAL_ASSERT(video_output);
 	dcs = 0;
 	status = acpi_GetInteger(handle, "_DCS", &dcs);
 	if (ACPI_FAILURE(status))
@@ -933,6 +948,7 @@
 {
 	ACPI_STATUS status;
 
+	ACPI_SERIAL_ASSERT(video_output);
 	status = acpi_SetInteger(handle, "_DSS", state);
 	if (ACPI_FAILURE(status))
 		printf("can't evaluate %s._DSS - %s\n",

-- 
John Baldwin

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 16:30:07 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6A09C1065679
	for <freebsd-acpi@hub.freebsd.org>;
	Mon, 28 Sep 2009 16:30:07 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 4E8138FC08
	for <freebsd-acpi@hub.freebsd.org>;
	Mon, 28 Sep 2009 16:30:07 +0000 (UTC)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SGU6Mw098045
	for <freebsd-acpi@freefall.freebsd.org>; Mon, 28 Sep 2009 16:30:06 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8SGU6Or098042;
	Mon, 28 Sep 2009 16:30:06 GMT (envelope-from gnats)
Date: Mon, 28 Sep 2009 16:30:06 GMT
Message-Id: <200909281630.n8SGU6Or098042@freefall.freebsd.org>
To: freebsd-acpi@FreeBSD.org
From: Ilya Bakulin <webmaster@kibab.com>
Cc: 
Subject: Re: i386/136008: [acpi] Dell Vostro 1310 will not shutdown
 (Requires user intervention)
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Ilya Bakulin <webmaster@kibab.com>
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, 28 Sep 2009 16:30:07 -0000

The following reply was made to PR i386/136008; it has been noted by GNATS.

From: Ilya Bakulin <webmaster@kibab.com>
To: bug-followup@FreeBSD.org, dan@dburkland.com
Cc:  
Subject: Re: i386/136008: [acpi] Dell Vostro 1310 will not shutdown
 (Requires user intervention)
Date: Mon, 28 Sep 2009 20:27:18 +0400

 --Sig_/EAzJ16sc/d0hEZlOsUlyXqA
 Content-Type: multipart/mixed; boundary="MP_/CraSF8uEy=eJAif63J7.+Ca"
 
 --MP_/CraSF8uEy=eJAif63J7.+Ca
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 I have exactly the same laptop model with similar symptoms.
 It seems that EC cannot work in polled mode at all. Since FreeBSD ACPI code=
  disables GPEs on shutdown, it is not able to receive answer from EC, and r=
 eboots machine.
 
 Atached patch adds new sysctl "debug.acpi.ec.disable_polling", setting it t=
 o "1" resolves all described symptoms.
 
 --=20
 Regards,
 Ilya Bakulin
 http://kibab.com
 xmpp://kibab612@jabber.ru
 
 --MP_/CraSF8uEy=eJAif63J7.+Ca
 Content-Type: text/x-patch
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=acpi_ec_addon.diff
 
 --- sys/dev/acpica/acpi_ec.c	2009-06-05 22:44:36.418313000 +0400
 +++ sys/dev/acpica/acpi_ec.c	2009-09-04 15:49:54.000000000 +0400
 @@ -197,6 +197,10 @@
  SYSCTL_INT(_debug_acpi_ec, OID_AUTO, timeout, CTLFLAG_RW, &ec_timeout,
      EC_TIMEOUT, "Total time spent waiting for a response (poll+sleep)");
 =20
 +static int	ec_disable_polling;
 +SYSCTL_INT(_debug_acpi_ec, OID_AUTO, disable_polling, CTLFLAG_RW, &ec_disa=
 ble_polling, 0,
 +    "Totally disable use of polled mode (Dell EC problem workaround)");
 +
  static ACPI_STATUS
  EcLock(struct acpi_ec_softc *sc)
  {
 @@ -577,7 +581,9 @@
 =20
      /* Disable the GPE so we don't get EC events during shutdown. */
      sc =3D device_get_softc(dev);
 -    AcpiDisableGpe(sc->ec_gpehandle, sc->ec_gpebit, ACPI_NOT_ISR);
 +    if (!ec_disable_polling) {
 +	AcpiDisableGpe(sc->ec_gpehandle, sc->ec_gpebit, ACPI_NOT_ISR);
 +    }
      return (0);
  }
 =20
 @@ -814,7 +820,7 @@
 =20
      ACPI_SERIAL_ASSERT(ec);
      Status =3D AE_NO_HARDWARE_RESPONSE;
 -    int need_poll =3D cold || rebooting || ec_polled_mode || sc->ec_suspen=
 ding;
 +    int need_poll =3D (cold || rebooting || ec_polled_mode || sc->ec_suspe=
 nding )  &&  !ec_disable_polling;
      /*
       * The main CPU should be much faster than the EC.  So the status shou=
 ld
       * be "not ready" when we start waiting.  But if the main CPU is really
 @@ -894,7 +900,11 @@
  	    device_printf(sc->ec_dev,
  		"wait timed out (%sresponse), forcing polled mode\n",
  		Status =3D=3D AE_OK ? "" : "no ");
 -	    ec_polled_mode =3D TRUE;
 +	    if (ec_disable_polling) {
 +		device_printf(sc->ec_dev, "Polling explicitly disabled! Continue waiting=
  for generated GPEs...\n");
 +	    } else {
 +		ec_polled_mode =3D TRUE;
 +	    }
  	}
      }
      if (Status !=3D AE_OK)
 
 --MP_/CraSF8uEy=eJAif63J7.+Ca--
 
 --Sig_/EAzJ16sc/d0hEZlOsUlyXqA
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.12 (FreeBSD)
 
 iEYEARECAAYFAkrA4+sACgkQo9vlj1oadwg8YwCfT2LuqsTHf77i3ObhIpV89YJd
 k2oAniZlLrJfVQSmFVf478sMnOA98xSJ
 =kZw9
 -----END PGP SIGNATURE-----
 
 --Sig_/EAzJ16sc/d0hEZlOsUlyXqA--

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 18:12:34 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 916AC1065672
	for <freebsd-acpi@freebsd.org>; Mon, 28 Sep 2009 18:12:34 +0000 (UTC)
	(envelope-from haro@h4.dion.ne.jp)
Received: from smtp1.dcns.ne.jp (smtp1.dcns.ne.jp [203.178.100.134])
	by mx1.freebsd.org (Postfix) with SMTP id 049D48FC13
	for <freebsd-acpi@freebsd.org>; Mon, 28 Sep 2009 18:12:33 +0000 (UTC)
Received: (qmail 9772 invoked from network); 29 Sep 2009 02:45:52 +0900
Received: from unknown (HELO localhost) (210.238.26.2)
	by smtp1.dcns.ne.jp with SMTP; 29 Sep 2009 02:45:52 +0900
Date: Tue, 29 Sep 2009 02:45:47 +0900 (JST)
Message-Id: <20090929.024547.241896365.haro@h4.dion.ne.jp>
To: jhb@freebsd.org
From: Munehiro Matsuda <haro@h4.dion.ne.jp>
In-Reply-To: <200909280829.25171.jhb@freebsd.org>
References: <20090926.234136.241898347.haro@h4.dion.ne.jp>
	<200909280829.25171.jhb@freebsd.org>
X-Mailer: Mew version 5.2 on Emacs 22.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: freebsd-acpi@freebsd.org, current@freebsd.org
Subject: Re: [LOR] ACPI related on 9-current
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, 28 Sep 2009 18:12:34 -0000

From: John Baldwin <jhb@freebsd.org>
Date: Mon, 28 Sep 2009 08:29:24 -0400
::On Saturday 26 September 2009 10:41:36 am Munehiro Matsuda wrote:
::> Hi all,
::> 
::> I've got two LORs related to ACPI on 9-current system from few days old 
::world.
::> The second one with "ACPI AC adapter", may relate to using sysutils/xbattbar
::> from ports.
::> If you need more info, please let me know.
::
::Try this patch.  It avoids holding the ACPI adapter lock while calling all the 
::power manager eventhandler routines, and it splits the ACPI video lock up 
::into two locks: one to manage the "bus" of video output devices, and one that 
::serves as the softc lock for each of the video output devices.

Hello John,

Thanks for the quick patch.
It does seem to fix the LORs with ACPI.

I'll test for few more days, and if I get any odd I'll report back.

Thank you,
 Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Internet Solution Dept., KGT Inc.
 /|\ |_|  |_|_|

From owner-freebsd-acpi@FreeBSD.ORG  Mon Sep 28 21:52:21 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 909F11065670;
	Mon, 28 Sep 2009 21:52:21 +0000 (UTC) (envelope-from kama@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id 4E1F28FC2F;
	Mon, 28 Sep 2009 21:52:20 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id B331469; Mon, 28 Sep 2009 23:52:19 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id AEF2C68; Mon, 28 Sep 2009 23:52:19 +0200 (CEST)
Date: Mon, 28 Sep 2009 23:52:19 +0200 (CEST)
From: kama <kama@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <4AC06ED6.7030402@freebsd.org>
Message-ID: <20090928235136.F37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 28 Sep 2009 21:52:21 -0000



On Mon, 28 Sep 2009, Andriy Gapon wrote:

> on 28/09/2009 10:21 kama said the following:
> >
> > On Fri, 25 Sep 2009, Andriy Gapon wrote:
> >
> >> on 25/09/2009 12:04 kama said the following:
> >>> On Thu, 24 Sep 2009, kama wrote:
> >>>
> >>>> I am currently building the source on another machine. Lets see if it will
> >>>> build it any better.
> >>> Building the the world on another machine and install it on the DL385
> >>> machine made it also to freeze.
> >> Did you still get the message about unresolved symbol?
> >
> > I did not try with ACPI_DEBUG enabled.
> >
> > Another week, so I can start testing again...
>
> I did not ask that :-)
> I asked -  when you got your latest freeze, did you see that 'unresolved'
> message or not?

But that only appears when I enable ACPI_DEBUG.

/Bjorn

From owner-freebsd-acpi@FreeBSD.ORG  Tue Sep 29 07:22:00 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 54389106566B;
	Tue, 29 Sep 2009 07:22:00 +0000 (UTC) (envelope-from bjornh@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id 105328FC12;
	Tue, 29 Sep 2009 07:21:59 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id 8FDAC69; Tue, 29 Sep 2009 08:58:06 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id 8E64861; Tue, 29 Sep 2009 08:58:06 +0200 (CEST)
Date: Tue, 29 Sep 2009 08:58:06 +0200 (CEST)
From: Bjorn Hellqvist <bjornh@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <20090928235136.F37424@ns1.as.pvp.se>
Message-ID: <20090929085000.B37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 29 Sep 2009 07:22:00 -0000


On Mon, 28 Sep 2009, kama wrote:

>
>
> On Mon, 28 Sep 2009, Andriy Gapon wrote:
>
> > on 28/09/2009 10:21 kama said the following:
> > >
> > > On Fri, 25 Sep 2009, Andriy Gapon wrote:
> > >
> > >> on 25/09/2009 12:04 kama said the following:
> > >>> On Thu, 24 Sep 2009, kama wrote:
> > >>>
> > >>>> I am currently building the source on another machine. Lets see if it will
> > >>>> build it any better.
> > >>> Building the the world on another machine and install it on the DL385
> > >>> machine made it also to freeze.
> > >> Did you still get the message about unresolved symbol?
> > >
> > > I did not try with ACPI_DEBUG enabled.
> > >
> > > Another week, so I can start testing again...
> >
> > I did not ask that :-)
> > I asked -  when you got your latest freeze, did you see that 'unresolved'
> > message or not?
>
> But that only appears when I enable ACPI_DEBUG.


And yes. It stills gets the same undefined symbols. (I presume its these
you are referring to...)

# dmesg | grep -i acpi
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
link_elf: symbol AcpiDmDumpMethodInfo undefined
KLD file acpi.ko - could not finalize loading

# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
/boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
/boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
nm: /boot/kernel/linker.hints: File format not recognized

# uname -a
FreeBSD g24.gs.pvp.se 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Sep 28
13:39:01 CEST 2009     root@s11.gs.pvp.se:/usr/obj/usr/src/sys/ddb  i386

# diff -ub /usr/src/sys/i386/conf/GENERIC  /usr/src/sys/i386/conf/ddb
--- /usr/src/sys/i386/conf/GENERIC      2009-07-15 10:32:19.000000000
+0200
+++ /usr/src/sys/i386/conf/ddb  2009-09-28 13:25:20.000000000 +0200
@@ -67,6 +67,10 @@
 options        AUDIT                   # Security event auditing
 #options       KDTRACE_HOOKS           # Kernel DTrace hooks

+options                KDB
+options                DDB
+options         ACPI_DEBUG
+
 # To make an SMP kernel, the next two lines are needed
 options        SMP                     # Symmetric MultiProcessor Kernel
 device         apic                    # I/O APIC
#


Its too bad that I cant get into the debugger. The server gets
unresponsive when the freeze occurs. Is there any other option that I can
add so it goes to the debugger?

/Bjorn

From owner-freebsd-acpi@FreeBSD.ORG  Tue Sep 29 13:55:38 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 14AA3106566B;
	Tue, 29 Sep 2009 13:55:38 +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 0139C8FC38;
	Tue, 29 Sep 2009 13:55:36 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA12087;
	Tue, 29 Sep 2009 16:54:52 +0300 (EEST)
	(envelope-from avg@freebsd.org)
Message-ID: <4AC211AC.1070404@freebsd.org>
Date: Tue, 29 Sep 2009 16:54:52 +0300
From: Andriy Gapon <avg@freebsd.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: Bjorn Hellqvist <bjornh@pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua>
	<20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua>
	<20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua>
	<20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org>
	<20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se>
	<4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se>
	<4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
In-Reply-To: <20090929085000.B37424@ns1.as.pvp.se>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 29 Sep 2009 13:55:38 -0000

on 29/09/2009 09:58 Bjorn Hellqvist said the following:
> On Mon, 28 Sep 2009, kama wrote:
> 
>>
>> On Mon, 28 Sep 2009, Andriy Gapon wrote:
>>
>>> on 28/09/2009 10:21 kama said the following:
>>>> On Fri, 25 Sep 2009, Andriy Gapon wrote:
>>>>
>>>>> on 25/09/2009 12:04 kama said the following:
>>>>>> On Thu, 24 Sep 2009, kama wrote:
>>>>>>
>>>>>>> I am currently building the source on another machine. Lets see if it will
>>>>>>> build it any better.
>>>>>> Building the the world on another machine and install it on the DL385
>>>>>> machine made it also to freeze.
>>>>> Did you still get the message about unresolved symbol?
>>>> I did not try with ACPI_DEBUG enabled.
>>>>
>>>> Another week, so I can start testing again...
>>> I did not ask that :-)
>>> I asked -  when you got your latest freeze, did you see that 'unresolved'
>>> message or not?
>> But that only appears when I enable ACPI_DEBUG.

OK, then I was thoroughly confused all this time.
I thought that the message appeared when didn't have ACPI_DEBUG.

> And yes. It stills gets the same undefined symbols. (I presume its these
> you are referring to...)
> 
> # dmesg | grep -i acpi
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
> link_elf: symbol AcpiDmDumpMethodInfo undefined
> KLD file acpi.ko - could not finalize loading
> 
> # nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
> /boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
> /boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
> nm: /boot/kernel/linker.hints: File format not recognized
> 
> # uname -a
> FreeBSD g24.gs.pvp.se 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Sep 28
> 13:39:01 CEST 2009     root@s11.gs.pvp.se:/usr/obj/usr/src/sys/ddb  i386
> 
> # diff -ub /usr/src/sys/i386/conf/GENERIC  /usr/src/sys/i386/conf/ddb
> --- /usr/src/sys/i386/conf/GENERIC      2009-07-15 10:32:19.000000000
> +0200
> +++ /usr/src/sys/i386/conf/ddb  2009-09-28 13:25:20.000000000 +0200
> @@ -67,6 +67,10 @@
>  options        AUDIT                   # Security event auditing
>  #options       KDTRACE_HOOKS           # Kernel DTrace hooks
> 
> +options                KDB
> +options                DDB
> +options         ACPI_DEBUG
> +
>  # To make an SMP kernel, the next two lines are needed
>  options        SMP                     # Symmetric MultiProcessor Kernel
>  device         apic                    # I/O APIC
> #
> 
> 
> Its too bad that I cant get into the debugger. The server gets
> unresponsive when the freeze occurs. Is there any other option that I can
> add so it goes to the debugger?

Serial console and remote debugging perhaps?

Anyway, I'll try to see if I can reproduce undefined symbol issue here.

Not that it would matter much for resolution of your main problem (freeze).
Honestly, I have no clue about it.

-- 
Andriy Gapon

From owner-freebsd-acpi@FreeBSD.ORG  Tue Sep 29 18:50:51 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CBAC81065676;
	Tue, 29 Sep 2009 18:50:51 +0000 (UTC) (envelope-from kama@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id 85F818FC1C;
	Tue, 29 Sep 2009 18:50:51 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id 7D69870; Tue, 29 Sep 2009 20:50:49 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id 7BFD66F; Tue, 29 Sep 2009 20:50:49 +0200 (CEST)
Date: Tue, 29 Sep 2009 20:50:49 +0200 (CEST)
From: kama <kama@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <4AC211AC.1070404@freebsd.org>
Message-ID: <20090929204651.G37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
	<4AC211AC.1070404@freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: Bjorn Hellqvist <bjornh@pvp.se>, freebsd-stable@freebsd.org,
	freebsd-acpi@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 29 Sep 2009 18:50:51 -0000


On Tue, 29 Sep 2009, Andriy Gapon wrote:

> Serial console and remote debugging perhaps?

ILO is serial console or rather console++, since you can even see the
whole bootup sequence, change bios. But thats if you connect through their
webinterface

Just point me what other options I could try to get a proper dump or bt.

> Anyway, I'll try to see if I can reproduce undefined symbol issue here.
>
> Not that it would matter much for resolution of your main problem (freeze).
> Honestly, I have no clue about it.

Ok. Hopefully someone else knows what can produce these freezes.

/Bjorn

From owner-freebsd-acpi@FreeBSD.ORG  Wed Sep 30 11:58:41 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 24B561065670;
	Wed, 30 Sep 2009 11:58:41 +0000 (UTC) (envelope-from avg@icyb.net.ua)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 1CABE8FC08;
	Wed, 30 Sep 2009 11:58:39 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA06634;
	Wed, 30 Sep 2009 14:58:38 +0300 (EEST)
	(envelope-from avg@icyb.net.ua)
Message-ID: <4AC347EE.20308@icyb.net.ua>
Date: Wed, 30 Sep 2009 14:58:38 +0300
From: Andriy Gapon <avg@icyb.net.ua>
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: freebsd-acpi@FreeBSD.org, Jung-uk Kim <jkim@FreeBSD.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: 
Subject: ACPI_DEBUG: undefined symbol in acpi.ko
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, 30 Sep 2009 11:58:41 -0000


With the latest head sources:
$ make buildkernel KERNCONF=GENERICacpidbg __MAKE_CONF=/dev/null TARGET=i386
...
$ nm
/usr/obj/i386/usr/src/sys/GENERICacpidbg/modules/usr/src/sys/modules/acpi/acpi/acpi.ko
| fgrep AcpiDmDumpMethodInfo
         U AcpiDmDumpMethodInfo

$ cat sys/i386/conf/GENERICacpidbg
ident           GENERICapcidbg
include         GENERIC
options         ACPI_DEBUG

Looks like a build problem.

Apparently the same happens with 7.2 without cross-build.

-- 
Andriy Gapon

From owner-freebsd-acpi@FreeBSD.ORG  Wed Sep 30 12:04:38 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 27528106566B;
	Wed, 30 Sep 2009 12:04:38 +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 2C0668FC17;
	Wed, 30 Sep 2009 12:04:36 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA06785;
	Wed, 30 Sep 2009 15:04:35 +0300 (EEST)
	(envelope-from avg@freebsd.org)
Message-ID: <4AC34952.9010508@freebsd.org>
Date: Wed, 30 Sep 2009 15:04:34 +0300
From: Andriy Gapon <avg@freebsd.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: kama <kama@pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua>
	<20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua>
	<20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua>
	<20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org>
	<20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se>
	<4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se>
	<4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
	<4AC211AC.1070404@freebsd.org>
	<20090929204651.G37424@ns1.as.pvp.se>
In-Reply-To: <20090929204651.G37424@ns1.as.pvp.se>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Bjorn Hellqvist <bjornh@pvp.se>, freebsd-stable@freebsd.org,
	freebsd-acpi@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 30 Sep 2009 12:04:38 -0000

on 29/09/2009 21:50 kama said the following:
> On Tue, 29 Sep 2009, Andriy Gapon wrote:
> 
>> Serial console and remote debugging perhaps?
> 
> ILO is serial console or rather console++, since you can even see the
> whole bootup sequence, change bios. But thats if you connect through their
> webinterface
> 
> Just point me what other options I could try to get a proper dump or bt.

Perhaps you could still use the following:
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-gdb.html
Otherwise, no ideas.

>> Anyway, I'll try to see if I can reproduce undefined symbol issue here.
>>
>> Not that it would matter much for resolution of your main problem (freeze).
>> Honestly, I have no clue about it.
> 
> Ok. Hopefully someone else knows what can produce these freezes.

BTW, remembering something you said earlier - does including acpi device into
kernel still work for you? I.e. can you boot normally with that?

Also, can you try 8 on that machine? Just for the sake of experiment?


-- 
Andriy Gapon

From owner-freebsd-acpi@FreeBSD.ORG  Wed Sep 30 13:21:03 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DF57E1065679;
	Wed, 30 Sep 2009 13:21:03 +0000 (UTC) (envelope-from kama@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id 97E6B8FC21;
	Wed, 30 Sep 2009 13:21:02 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id 504CC69; Wed, 30 Sep 2009 15:21:01 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id 4ED1B61; Wed, 30 Sep 2009 15:21:01 +0200 (CEST)
Date: Wed, 30 Sep 2009 15:21:01 +0200 (CEST)
From: kama <kama@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <4AC34952.9010508@freebsd.org>
Message-ID: <20090930151542.G37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
	<4AC211AC.1070404@freebsd.org> <20090929204651.G37424@ns1.as.pvp.se>
	<4AC34952.9010508@freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: Bjorn Hellqvist <bjornh@pvp.se>, freebsd-stable@freebsd.org,
	freebsd-acpi@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 30 Sep 2009 13:21:04 -0000



On Wed, 30 Sep 2009, Andriy Gapon wrote:

> on 29/09/2009 21:50 kama said the following:
> > On Tue, 29 Sep 2009, Andriy Gapon wrote:
> >
> >> Serial console and remote debugging perhaps?
> >
> > ILO is serial console or rather console++, since you can even see the
> > whole bootup sequence, change bios. But thats if you connect through their
> > webinterface
> >
> > Just point me what other options I could try to get a proper dump or bt.
>
> Perhaps you could still use the following:
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-gdb.html
> Otherwise, no ideas.
>
> >> Anyway, I'll try to see if I can reproduce undefined symbol issue here.
> >>
> >> Not that it would matter much for resolution of your main problem (freeze).
> >> Honestly, I have no clue about it.
> >
> > Ok. Hopefully someone else knows what can produce these freezes.
>
> BTW, remembering something you said earlier - does including acpi device into
> kernel still work for you? I.e. can you boot normally with that?
>
> Also, can you try 8 on that machine? Just for the sake of experiment?
>

It boot occationally. It does not seem to matter if I include the acpi
device into the kernel or not.

I get this message in an verbose boot:
KLD file acpi.ko - could not finalize loading

I have now included a lot of debuging options. But since the server
freezes, Im not able to send a break signal to get into the debugger.

I'll try to run FSBD8 on the server later this week.

/Bjorn

From owner-freebsd-acpi@FreeBSD.ORG  Wed Sep 30 13:27:38 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9692E106568B;
	Wed, 30 Sep 2009 13:27:38 +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 9D2428FC15;
	Wed, 30 Sep 2009 13:27:37 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA08411;
	Wed, 30 Sep 2009 16:27:35 +0300 (EEST)
	(envelope-from avg@freebsd.org)
Message-ID: <4AC35CC6.1020103@freebsd.org>
Date: Wed, 30 Sep 2009 16:27:34 +0300
From: Andriy Gapon <avg@freebsd.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: kama <kama@pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua>
	<20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua>
	<20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua>
	<20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org>
	<20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se>
	<4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se>
	<4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
	<4AC211AC.1070404@freebsd.org>
	<20090929204651.G37424@ns1.as.pvp.se>
	<4AC34952.9010508@freebsd.org>
	<20090930151542.G37424@ns1.as.pvp.se>
In-Reply-To: <20090930151542.G37424@ns1.as.pvp.se>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Bjorn Hellqvist <bjornh@pvp.se>, freebsd-stable@freebsd.org,
	freebsd-acpi@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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, 30 Sep 2009 13:27:38 -0000

on 30/09/2009 16:21 kama said the following:
> 
> It boot occationally. It does not seem to matter if I include the acpi
> device into the kernel or not.
> 
> I get this message in an verbose boot:
> KLD file acpi.ko - could not finalize loading

Do you get this message in all cases? That is, every time you tried?
Or only with ACPI_DEBUG defined?

> I have now included a lot of debuging options. But since the server
> freezes, Im not able to send a break signal to get into the debugger.
> 
> I'll try to run FSBD8 on the server later this week.
> 
> /Bjorn


-- 
Andriy Gapon

From owner-freebsd-acpi@FreeBSD.ORG  Wed Sep 30 16:44:38 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0EABC1065670
	for <freebsd-acpi@freebsd.org>; Wed, 30 Sep 2009 16:44:38 +0000 (UTC)
	(envelope-from haro@h4.dion.ne.jp)
Received: from smtp1.dcns.ne.jp (smtp1.dcns.ne.jp [203.178.100.134])
	by mx1.freebsd.org (Postfix) with SMTP id 41F3C8FC0C
	for <freebsd-acpi@freebsd.org>; Wed, 30 Sep 2009 16:44:36 +0000 (UTC)
Received: (qmail 29295 invoked from network); 1 Oct 2009 01:44:34 +0900
Received: from unknown (HELO localhost) (210.238.26.2)
	by smtp1.dcns.ne.jp with SMTP; 1 Oct 2009 01:44:34 +0900
Date: Thu, 01 Oct 2009 01:44:34 +0900 (JST)
Message-Id: <20091001.014434.241898723.haro@h4.dion.ne.jp>
To: jhb@freebsd.org
From: Munehiro Matsuda <haro@h4.dion.ne.jp>
In-Reply-To: <20090929.024547.241896365.haro@h4.dion.ne.jp>
References: <20090926.234136.241898347.haro@h4.dion.ne.jp>
	<200909280829.25171.jhb@freebsd.org>
	<20090929.024547.241896365.haro@h4.dion.ne.jp>
X-Mailer: Mew version 5.2 on Emacs 22.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: freebsd-acpi@freebsd.org, current@freebsd.org
Subject: Re: [LOR] ACPI related on 9-current
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, 30 Sep 2009 16:44:38 -0000

From: Munehiro Matsuda <haro_at_h4.dion.ne.jp>
Date: Tue, 29 Sep 2009 02:45:47 +0900 (JST)
::From: John Baldwin <jhb_at_freebsd.org>
::Date: Mon, 28 Sep 2009 08:29:24 -0400
::::On Saturday 26 September 2009 10:41:36 am Munehiro Matsuda wrote:
::::> Hi all,
::::> 
::::> I've got two LORs related to ACPI on 9-current system from few days old 
::::world.
::::> The second one with "ACPI AC adapter", may relate to using sysutils/xbattbar
::::> from ports.
::::> If you need more info, please let me know.
::::
::::Try this patch.  It avoids holding the ACPI adapter lock while calling all the 
::::power manager eventhandler routines, and it splits the ACPI video lock up 
::::into two locks: one to manage the "bus" of video output devices, and one that 
::::serves as the softc lock for each of the video output devices.
::
::Hello John,
::
::Thanks for the quick patch.
::It does seem to fix the LORs with ACPI.
::
::I'll test for few more days, and if I get any odd I'll report back.

Hello John,

I've run the patch for the past day or two and haven't seen any ACPI
related LoR or issues with it.
So I think it's alright to commit it.

Thank you,
 Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Internet Solution Dept., KGT Inc.
 /|\ |_|  |_|_|


From owner-freebsd-acpi@FreeBSD.ORG  Thu Oct  1 21:02:22 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@FreeBSD.org
Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by hub.freebsd.org (Postfix) with ESMTP id 430771065670;
	Thu,  1 Oct 2009 21:02:20 +0000 (UTC)
	(envelope-from jkim@FreeBSD.org)
From: Jung-uk Kim <jkim@FreeBSD.org>
To: Andriy Gapon <avg@icyb.net.ua>
Date: Thu, 1 Oct 2009 17:02:10 -0400
User-Agent: KMail/1.6.2
References: <4AC347EE.20308@icyb.net.ua>
In-Reply-To: <4AC347EE.20308@icyb.net.ua>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200910011702.12127.jkim@FreeBSD.org>
Cc: freebsd-acpi@FreeBSD.org
Subject: Re: ACPI_DEBUG: undefined symbol in acpi.ko
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, 01 Oct 2009 21:02:22 -0000

On Wednesday 30 September 2009 07:58 am, Andriy Gapon wrote:
> With the latest head sources:
> $ make buildkernel KERNCONF=GENERICacpidbg __MAKE_CONF=/dev/null
> TARGET=i386 ...
> $ nm
> /usr/obj/i386/usr/src/sys/GENERICacpidbg/modules/usr/src/sys/module
>s/acpi/acpi/acpi.ko
>
> | fgrep AcpiDmDumpMethodInfo
>
>          U AcpiDmDumpMethodInfo
>
> $ cat sys/i386/conf/GENERICacpidbg
> ident           GENERICapcidbg
> include         GENERIC
> options         ACPI_DEBUG
>
> Looks like a build problem.
>
> Apparently the same happens with 7.2 without cross-build.

This has been a long standing problem for ACPI kernel module.  Please 
try r197688.  It should fix the problem.

Jung-uk Kim

From owner-freebsd-acpi@FreeBSD.ORG  Fri Oct  2 11:24:10 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 33A7E106566B;
	Fri,  2 Oct 2009 11:24:10 +0000 (UTC) (envelope-from kama@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id E2DDF8FC16;
	Fri,  2 Oct 2009 11:24:09 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id E24F0A7; Fri,  2 Oct 2009 13:24:07 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id E0DE57C; Fri,  2 Oct 2009 13:24:07 +0200 (CEST)
Date: Fri, 2 Oct 2009 13:24:07 +0200 (CEST)
From: kama <kama@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <4AC35CC6.1020103@freebsd.org>
Message-ID: <20091002132218.P37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
	<4AC211AC.1070404@freebsd.org> <20090929204651.G37424@ns1.as.pvp.se>
	<4AC34952.9010508@freebsd.org> <20090930151542.G37424@ns1.as.pvp.se>
	<4AC35CC6.1020103@freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: Bjorn Hellqvist <bjornh@pvp.se>, freebsd-stable@freebsd.org,
	freebsd-acpi@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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: Fri, 02 Oct 2009 11:24:10 -0000



On Wed, 30 Sep 2009, Andriy Gapon wrote:

> on 30/09/2009 16:21 kama said the following:
> >
> > It boot occationally. It does not seem to matter if I include the acpi
> > device into the kernel or not.
> >
> > I get this message in an verbose boot:
> > KLD file acpi.ko - could not finalize loading
>
> Do you get this message in all cases? That is, every time you tried?
> Or only with ACPI_DEBUG defined?

I cant recall. I have tried so many things lately. But I believe I get it
on a verbose boot without ACPI_DEBUG.

Im currently rebuilding the system to 8.0.

/Bjorn

From owner-freebsd-acpi@FreeBSD.ORG  Fri Oct  2 21:28:37 2009
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DA3B11065670;
	Fri,  2 Oct 2009 21:28:37 +0000 (UTC) (envelope-from kama@pvp.se)
Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227])
	by mx1.freebsd.org (Postfix) with ESMTP id E78E68FC13;
	Fri,  2 Oct 2009 21:28:36 +0000 (UTC)
Received: by ms1.as.pvp.se (Postfix, from userid 1001)
	id B797BAD; Fri,  2 Oct 2009 23:28:35 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by ms1.as.pvp.se (Postfix) with ESMTP
	id B5F7B6F; Fri,  2 Oct 2009 23:28:35 +0200 (CEST)
Date: Fri, 2 Oct 2009 23:28:35 +0200 (CEST)
From: kama <kama@pvp.se>
X-X-Sender: kama@ns1.as.pvp.se
To: Andriy Gapon <avg@freebsd.org>
In-Reply-To: <20091002132218.P37424@ns1.as.pvp.se>
Message-ID: <20091002212626.O37424@ns1.as.pvp.se>
References: <20090921140345.H37424@ns1.as.pvp.se>
	<20090922103150.V37424@ns1.as.pvp.se>
	<4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se>
	<4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se>
	<4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se>
	<4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se>
	<20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org>
	<20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org>
	<20090928235136.F37424@ns1.as.pvp.se>
	<20090929085000.B37424@ns1.as.pvp.se>
	<4AC211AC.1070404@freebsd.org> <20090929204651.G37424@ns1.as.pvp.se>
	<4AC34952.9010508@freebsd.org> <20090930151542.G37424@ns1.as.pvp.se>
	<4AC35CC6.1020103@freebsd.org> <20091002132218.P37424@ns1.as.pvp.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org
Subject: Re: FreeBSD 7.2-STABLE boot freeze
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: Fri, 02 Oct 2009 21:28:38 -0000



On Fri, 2 Oct 2009, kama wrote:

>
>
> On Wed, 30 Sep 2009, Andriy Gapon wrote:
>
> > on 30/09/2009 16:21 kama said the following:
> > >
> > > It boot occationally. It does not seem to matter if I include the acpi
> > > device into the kernel or not.
> > >
> > > I get this message in an verbose boot:
> > > KLD file acpi.ko - could not finalize loading
> >
> > Do you get this message in all cases? That is, every time you tried?
> > Or only with ACPI_DEBUG defined?
>
> I cant recall. I have tried so many things lately. But I believe I get it
> on a verbose boot without ACPI_DEBUG.
>
> Im currently rebuilding the system to 8.0.

Just upgrading to 8.0 did not help regarding the freezes.

I ran into the bge freeze bug too when disabling acpi.

I then read the acpi-manpage abit more carefully.

With ACPI_DEBUG and debug.acpi.disabled="timer" in loader.conf and verbose
boot seems to help against the freeze and freezes again if I dont run it
in verbose mode. But thats just after 5 starts. Anyhow its better.

loader.conf:
debug.acpi.disabled="timer"
debug.acpi.layer="ACPI_ALL_COMPONENTS"
debug.acpi.level="ACPI_LV_VERBOSE,ACPI_LV_VERBOSITY3,ACPI_LV_VERBOSITY1,ACPI_LV_ALL_EXCEPTIONS"

I dont know if the output below gives anything.

/Bjorn

# dmesg | grep -i acpi
ACPI set debug layer 'ACPI_ALL_COMPONENTS' level
'ACPI_LV_VERBOSE,ACPI_LV_VERBOSITY3,ACPI_LV_VERBOSITY1,ACPI_LV_ALL_EXCEPTIONS'
MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
MADT: Found CPU APIC ID 2 ACPI ID 2: enabled
MADT: Found CPU APIC ID 4 ACPI ID 4: disabled
MADT: Found CPU APIC ID 6 ACPI ID 6: disabled
MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
MADT: Found CPU APIC ID 3 ACPI ID 3: enabled
MADT: Found CPU APIC ID 5 ACPI ID 5: disabled
MADT: Found CPU APIC ID 7 ACPI ID 7: disabled
ACPI APIC Table: <HP     00000083>
APIC: CPU 0 has ACPI ID 0
APIC: CPU 1 has ACPI ID 1
APIC: CPU 2 has ACPI ID 2
APIC: CPU 3 has ACPI ID 3
ACPI: RSDP 0xf4f20 00024 (v2 HP    )
ACPI: XSDT 0xbfff83e0 00044 (v1 HP     A05      00000002   \M-R\^D
0000162E)
ACPI: FACP 0xbfff8460 000F4 (v3 HP     A05      00000002   \M-R\^D
0000162E)
ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16
20090521 tbfadt-707
ACPI Warning: Invalid length for Pm1bControlBlock: 32, using default 16
20090521 tbfadt-707
ACPI: DSDT 0xbfff8560 0422D (v1 HP         DSDT 00000001 MSFT 02000001)
ACPI: FACS 0xbfff80c0 00040
ACPI: APIC 0xbfff8100 000B8 (v1 HP     00000083 00000002      00000000)
ACPI: SPCR 0xbfff81e0 00050 (v1 HP     SPCRRBSU 00000001   \M-R\^D
0000162E)
ACPI: SRAT 0xbfff8260 00150 (v1 HP     A05      00000001      00000000)
acpi0: <HP A05> on motherboard
acpi0: [MPSAFE]
acpi0: [ITHREAD]
ACPI: SSDT 0xbfffd000 0059D (v1 HP        SSDT0 00000001 MSFT 02000001)
ACPI: SSDT 0xbfffd700 0059D (v1 HP        SSDT1 00000001 MSFT 02000001)
ACPI: SSDT 0xbfffde00 0059D (v1 HP        SSDT2 00000001 MSFT 02000001)
ACPI: SSDT 0xbfffe500 0059D (v1 HP        SSDT3 00000001 MSFT 02000001)
acpi0: Power Button (fixed)
acpi0: wakeup code va 0xc62cd000 pa 0x1000
AcpiOsDerivePciId: \\_SB_.CFG0.NDE0.NDE0 -> bus 0 dev 24 func 0
AcpiOsDerivePciId: \\_SB_.CFG0.MEMC.MEMC -> bus 0 dev 24 func 1
AcpiOsDerivePciId: \\_SB_.CFG0.PCI0.PCI0 -> bus 0 dev 3 func 0
AcpiOsDerivePciId: \\_SB_.CFG0.IBRG.IBRG -> bus 0 dev 4 func 0
AcpiOsDerivePciId: \\_SB_.CFG0.PCI1.PCI1 -> bus 0 dev 7 func 0
AcpiOsDerivePciId: \\_SB_.CFG0.PCI2.PCI2 -> bus 0 dev 8 func 0
AcpiOsDerivePciId: \\_SB_.CFG1.PCI3.PCI3 -> bus 4 dev 9 func 0
AcpiOsDerivePciId: \\_SB_.CFG1.PCI4.PCI4 -> bus 4 dev 10 func 0
AcpiOsDerivePciId: \\_SB_.CFG0.TSMM.TSMM -> bus 0 dev 4 func 3
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 9.0 on pci4
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 10.0 on pci4
pci6: <ACPI PCI bus> on pcib6
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on
acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0