[ACPI-sppt] [Q] M2N : DSDT : unable to use a tweak my own DSDT or a provided one

oli <[email protected]>
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Hi !

I have a M2N with a linux 2.4.22 (under distrib mdk9.1-cooker) !

Without doing anything I have the kevent overload Pb, has anybody with
such a laptop may have without tweaking his dsdt.

So a tried to use my own DSDT table.

*  I first tried to use the custum one available on the repository of
acpi4linux

http://acpi.sourceforge.net/dsdt/tables/ASUS/M2400N/ASUS-M2400N-0206-custom.asl.gz

I recompile this dsdt table ... put the .hex file for inclusion the kernel
I recompile the kernel 2.4.22 with the TWEAK-DSTD option on.

But  the result is that it seems that this dsdt is not understood by
the kernel.

dmesg gives this output :

    ACPI-0292: *** Info: Table [DSDT] replaced by host OS
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKA._STA] (Node cf6b6e20), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKA._STA] (Node cf6b6e20), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKB._STA] (Node cf6b6f20), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKB._STA] (Node cf6b6f20), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKC._STA] (Node cf6b4200), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKC._STA] (Node cf6b4200), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKD._STA] (Node cf6b4300), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKD._STA] (Node cf6b4300), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKE._STA] (Node cf6b4400), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKE._STA] (Node cf6b4400), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKF._STA] (Node cf6b4500), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKF._STA] (Node cf6b4500), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKG._STA] (Node cf6b4600), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKG._STA] (Node cf6b4600), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKH._STA] (Node cf6b4700), AE_AML_REGION_LIMIT
    ACPI-0098: *** Error: Method execution failed [\_SB_.LNKH._STA] (Node cf6b4700), AE_AML_REGION_LIMIT
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S3 (swsusp) S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: Embedded Controller [EC0] (gpe 28)
schedule_task(): keventd has not started
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKA._STA] (Node cf6b6e20), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKB._STA] (Node cf6b6f20), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKC._STA] (Node cf6b4200), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKD._STA] (Node cf6b4300), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKE._STA] (Node cf6b4400), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKF._STA] (Node cf6b4500), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKG._STA] (Node cf6b4600), AE_AML_REGION_LIMIT
    ACPI-1121: *** Error: Method execution failed [\_SB_.LNKH._STA] (Node cf6b4700), AE_AML_REGION_LIMIT
ACPI: Power Resource [GFAN] (off)
PCI: Probing PCI hardware
PCI: No IRQ known for interrupt pin A of device 00:02.0
PCI: No IRQ known for interrupt pin A of device 00:1d.0
PCI: No IRQ known for interrupt pin B of device 00:1d.1
PCI: No IRQ known for interrupt pin C of device 00:1d.2
PCI: No IRQ known for interrupt pin D of device 00:1d.7
PCI: No IRQ known for interrupt pin A of device 00:1f.1
PCI: No IRQ known for interrupt pin B of device 00:1f.5
PCI: No IRQ known for interrupt pin B of device 00:1f.6
PCI: No IRQ known for interrupt pin A of device 01:03.0
PCI: No IRQ known for interrupt pin B of device 01:03.1
PCI: No IRQ known for interrupt pin C of device 01:03.2
PCI: No IRQ known for interrupt pin A of device 01:04.0
PCI: No IRQ known for interrupt pin A of device 01:05.0
PCI: Using ACPI for IRQ routing


*  Then I tried to get the dsdt file from cat /proc/acpi/dsdt with a
kernel without my tweak_dsdt but with acpi=on

I decompile it with either pacpidump or isal but the output was not
recompilable, even when I do not change anything !!!!

Here is what I have done :

** I first try to decompile with acpidump ....

Prompt# acpidump -f dsdt.original.dat > dsdt.original.asl

Prompt#  iasl -tc dsdt.original.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030522 [May 23 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.original.asl   645:                 Subtract(FindSetRightBit(IO11, Zero), 0x1, Local0)
Error    1037 -        parse error, unexpected PARSEOP_ZERO, expecting ')' ^ 

dsdt.original.asl  5075: If(SS1_) {
Error    1037 -           ^ parse error, unexpected PARSEOP_IF

ASL Input:  dsdt.original.asl - 5083 lines, 180744 bytes, 3170 keywords
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

** So I try next to decompile with iasl

prompt# iasl -d dsdt.original.dat

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030522 [May 23 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

Loading Acpi table from file dsdt.original.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.original.dsl"

Prompt$ iasl -tc dsdt.original.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030522 [May 23 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.original.dsl  7237:     If (SS1)
Error    1037 -               ^ parse error, unexpected PARSEOP_IF

ASL Input:  dsdt.original.dsl - 7247 lines, 247148 bytes, 3170 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

########################################################################


So ... I'm wrong somewhere ... but where ... can anybody give me a
clue ?


-- 
 Oli


-------------------------------------------------------
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/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.