From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Hoogerhuis Subject: Re: Compaq Evo 510SFF and ACPI Date: 04 Jul 2003 12:22:20 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <87of0app5v.fsf@lapper.ihatent.com> References: <20030704001029.71704.qmail@web13006.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20030704001029.71704.qmail-zOhVngzifveA/QwVtaZbd3CJp6faPEW9@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Scott Duplichan Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Scott Duplichan writes: > Alexander Hoogerhuis wrote: > > >I have a few Compaq Evo's that show the same symptom: > > > > ACPI: Searched entire block, no RSDP was found. > > ACPI: RSDP located at physical address c00eaa10 > > RSD PTR v0 [COMPAQ] > > __va_range(0xf7f7b40, 0x68): idx=10 mapped at ffff5000 > > ACPI table found: RSDT v1 [COMPAQ CPQ0050 8194.4656] > > ACPI: Too big length in RSDT: 120 > > 120 bytes minus 36 bytes leaves 84 bytes, or 21 table pointers. > I think some versions of Linux have a limit on the number of > tables that is smaller than 21. The ACPI spec lacks, among other > things, any guideline on what the maximum number of tables is. > Here's the offending piece of code: /* * The number of tables is computed by taking the * size of all entries (header size minus total * size of RSDT) divided by the size of each entry * (4-byte table pointers). */ tables = (header->length - sizeof(acpi_table_header)) / 4; memcpy(&saved_rsdt, rsdt, sizeof(saved_rsdt)); if (saved_rsdt.header.length > sizeof(saved_rsdt)) { printk(KERN_WARNING "ACPI: Too big length in RSDT: %d\n", saved_rsdt.header.length); return -ENODEV; } ...which then basically says what it found doesnt add up to what it thinks it has? mvh, A -- Alexander Hoogerhuis | alexh-rpjHciJLgqZBDgjK7y7TUQ@public.gmane.org CCNP - CCDP - MCNE - CCSE | +47 908 21 485 "You have zero privacy anyway. Get over it." --Scott McNealy ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01