From owner-freebsd-current Tue Oct 2 1:15:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 6D12937B408; Tue, 2 Oct 2001 01:15:46 -0700 (PDT) Received: from vega.vega.com (h178.229.dialup.iptcom.net [212.9.229.178]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id LAA77243; Tue, 2 Oct 2001 11:14:49 +0300 (EEST) (envelope-from max@vega.com) Received: (from max@localhost) by vega.vega.com (8.11.6/8.11.3) id f928EHV73680; Tue, 2 Oct 2001 11:14:17 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200110020814.f928EHV73680@vega.vega.com> Subject: Re: ACPI: problem with fdc resource allocation To: iwasaki@jp.FreeBSD.org (Mitsuru IWASAKI) Date: Tue, 2 Oct 2001 11:13:37 +0300 (EEST) Cc: sobomax@FreeBSD.ORG, ache@nagual.pp.ru, msmith@FreeBSD.ORG, current@FreeBSD.ORG, acpi-jp@jp.FreeBSD.org In-Reply-To: from "Mitsuru IWASAKI" at Oct 02, 2001 11:10:45 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Hi, I've just made a workaround for this. Intel folks, could you review > it as always? > > > The problem is here, right? > > > can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 - AE_AML_BUFFER_LIMIT > > > > I'm sure _SB_.PCI0.ISA_.FDC0._CRS (Current Resource Settings) have some > > problems (not sure in BIOS or ACPICA yet). I could reproduce the problem > > which you reported. Trace attached in this mail. > [snip] > > dsopcode-0677 [09] DsEvalBufferFieldOpera: Field size 208 exceeds Buffer size 192 (bits) > > PsExecute: method failed - \_SB_.PCI0.ISA_.FDC0._CRS (0x8098fa8) > > Execution of \_SB_.PCI0.ISA_.FDC0._CRS failed with status AE_AML_BUFFER_LIMIT > > This method is like this; > Method(_CRS) { > Name(BUF0, Buffer(0x18) {0x47, 0x1, 0xf2, 0x3, 0xf2, 0x3, > 0x0, 0x4, 0x47, 0x1, 0xf7, 0x3, 0xf7, 0x3, 0x0, > 0x1, 0x22, 0x40, 0x0, 0x2a, 0x4, 0x0, 0x79, 0x0 }) > CreateByteField(BUF0, 0x2, IOLO) > CreateByteField(BUF0, 0x3, IOHI) > CreateByteField(BUF0, 0x4, IORL) > CreateByteField(BUF0, 0x5, IORH) > CreateByteField(BUF0, 0x19, IRQL) > CreateByteField(BUF0, 0x1c, DMAV) > Return(BUF0) > } > > The problem is that this AML is trying to create a field at exceeded > position (0x19) of the Buffer (size is 0x18). > I couldn't find how AML interprepter treat this in ACPI Spec. so I'm > not sure wether AWRDACPI violates the Spec. or ACPICA can have a workaround > for this. > Anyway, I made a patch to reallocate a large enough buffer for the > requested operation. Yes, that patch fixed the problem, thank you! -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message