From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 4 20:17:28 2007 Return-Path: X-Original-To: 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 49A1616A46C for ; Mon, 4 Jun 2007 20:17:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id CAF3E13C465 for ; Mon, 4 Jun 2007 20:17:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l54KHPLp021748; Mon, 4 Jun 2007 16:17:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Nate Lawson Date: Mon, 4 Jun 2007 16:17:23 -0400 User-Agent: KMail/1.9.6 References: <20070604183419.GA73268@peter.osted.lan> <46646BD3.5080900@root.org> In-Reply-To: <46646BD3.5080900@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706041617.23793.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 04 Jun 2007 16:17:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3349/Mon Jun 4 10:32:21 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-acpi@freebsd.org Subject: Re: Possible ACPI relared panic with Tyan S2720 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 20:17:28 -0000 On Monday 04 June 2007 03:45:23 pm Nate Lawson wrote: > Peter Holm wrote: > > I have a panic that comes and go. Kostik has helped me narrow the > > problem down to AcpiOsWritePort(). > > > > It is not a problem for me, as there are various was to work around > > it. > > > > More info can be found here: http://people.freebsd.org/~pho/acpi.html > > Thanks for all your debugging effort. > > This is a really confusing issue. All the trace you have shows is that > it occurs while transitioning the system from legacy to ACPI mode. > Unfortunately, the details of what is going on are hidden in the BIOS > since that write to a port triggers an SMI and the BIOS does the rest. > > However, it seems like the BIOS is reserving more memory, using memory > it didn't reserve, or FreeBSD is using memory we shouldn't. John, any > insight on the SMAP output? > > > SMAP type=01 base=0000000000000000 len=000000000009fc00 > > SMAP type=02 base=000000000009fc00 len=0000000000000400 > > SMAP type=02 base=00000000000e0000 len=0000000000020000 > > SMAP type=01 base=0000000000100000 len=000000003fef0000 > > SMAP type=03 base=000000003fff0000 len=000000000000f000 > > SMAP type=04 base=000000003ffff000 len=0000000000001000 > > SMAP type=02 base=00000000fec00000 len=0000000000100000 > > SMAP type=02 base=00000000fee00000 len=0000000000001000 > > SMAP type=02 base=00000000fff80000 len=0000000000080000 > > Peter, can you figure out what phys address is getting overwritten? > Seems like it's the loader that sets up the module list and the loader's > allocator may be using RAM it shouldn't. The physaddr would be helpful. However, everything the loader is doing should fit into this chunk: > > SMAP type=01 base=0000000000100000 len=000000003fef0000 -- John Baldwin