Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: weird ACPI error messages on Compaq laptop



On Sat 27 Feb 2010 at 22:21:59 +0200, Jukka Ruohonen wrote:
> On Sat, Feb 27, 2010 at 04:53:50PM +0100, Rhialto wrote:
> > On Sat 27 Feb 2010 at 13:38:56 +0100, Matthias Drochner wrote:
> > > It might help to instrument acpiecdt_find() to see why the
> > > embedded controller driver doesn't attach early.
> > > Or to check acpidump whether there is a "ECDT" table at all.

In acpiecdt_find(), AcpiGetTable() returns the value 5. That seems to be
AE_NOT_FOUND.

> The ECDT is a completely separate table and thus different from the more
> common DSDT. You have to dump it via
> 
> # acpidump -t ecdt

Unfortunately, /usr/sbin/acpidump doesn't recognise the -t option.
The one from pkgsrc-2009Q4 doesn't either.  I tried with the acpidump
for xubuntu which I have installed on the other half of the disk.

$ sudo acpidump -o acpi.dat
$ acpixtract -a acpi.dat 
Acpi table [DSDT] - 48912 bytes written to DSDT.dat
Acpi table [FACS] - 64 bytes written to FACS.dat
Acpi table [FACP] - 244 bytes written to FACP.dat
Acpi table [HPET] - 56 bytes written to HPET.dat
Acpi table [APIC] - 108 bytes written to APIC.dat
Acpi table [MCFG] - 60 bytes written to MCFG.dat
Acpi table [ASF!] - 165 bytes written to ASF!.dat
Acpi table [SLIC] - 374 bytes written to SLIC.dat
Acpi table [BOOT] - 40 bytes written to BOOT.dat
Acpi table [SSDT] - 1621 bytes written to SSDT.dat
Acpi table [XSDT] - 100 bytes written to XSDT.dat
Acpi table [RSDT] - 68 bytes written to RSDT.dat
Acpi table [RSDP] - 36 bytes written to RSDP.dat

No ECDT...

(I can't compare properly to my server, since for it, acpidump reports
"acpidump: RSDT entry 2: bad checksum", and apparently it doesn't continue
after that; that or there are even fewer tables there).

Then I decoded all .dat files with 

$ iasl -d [A-Z]*.dat

Intel ACPI Component Architecture
AML Disassembler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file APIC.dat
Acpi Data Table [APIC] decoded, written to "APIC.dsl"
Loading Acpi table from file ASF!.dat
Acpi Data Table [ASF!] decoded, written to "ASF!.dsl"
Loading Acpi table from file BOOT.dat
Acpi Data Table [BOOT] decoded, written to "BOOT.dsl"
Loading Acpi table from file DSDT.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Parsing completed
Disassembly completed, written to "DSDT.dsl"
Loading Acpi table from file FACP.dat
Acpi Data Table [FACP] decoded, written to "FACP.dsl"
Loading Acpi table from file FACS.dat
Acpi Data Table [FACS] decoded, written to "FACS.dsl"
Loading Acpi table from file HPET.dat
Acpi Data Table [HPET] decoded, written to "HPET.dsl"
Loading Acpi table from file MCFG.dat
Acpi Data Table [MCFG] decoded, written to "MCFG.dsl"
Loading Acpi table from file RSDP.dat
Acpi Data Table [RSD ] decoded, written to "RSDP.dsl"
Loading Acpi table from file RSDT.dat
Acpi Data Table [RSDT] decoded, written to "RSDT.dsl"
Loading Acpi table from file SLIC.dat
Acpi Data Table [SLIC] decoded, written to "SLIC.dsl"
Loading Acpi table from file SSDT.dat
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
....................
Parsing completed
Disassembly completed, written to "SSDT.dsl"
Loading Acpi table from file XSDT.dat
Acpi Data Table [XSDT] decoded, written to "XSDT.dsl"

I have placed a tar.gz file of the result at
http://www.falu.nl/~rhialto/pressario-cq71-acpi.tar.gz .

> File also a bug report and attach the table(s) to it. Just so that this will
> not get lost.

Done, it is port-amd64/42895.

> - Jukka.
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.


Home | Main Index | Thread Index | Old Index