Code: Select all
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [May 16 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
dsdt.dsl 218: Method (_L10, 0, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (_L10)
dsdt.dsl 2886: Method (NVIF, 3, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (NVIF)
dsdt.dsl 3067: Method (_EJ0, 0, NotSerialized)
Warning 1076 - ^ Reserved method has too few arguments (_EJ0 requires 1)
dsdt.dsl 4544: Store (\_SB.PCI0.LPC0.PMRD (0xFA), Local0)
Warning 1098 - Statement is unreachable ^
ASL Input: dsdt.dsl - 4971 lines, 163408 bytes, 2323 keywords
AML Output: dsdt.aml - 17714 bytes 583 named objects 1740 executable opcodes
Compilation complete. 0 Errors, 4 Warnings, 0 Remarks, 544 Optimizations
Code: Select all
213 Method (_L10, 0, NotSerialized)
214 {
215 Store (0xB0, DBUG)
216 Acquire (\_GPE.GLCK, 0xFFFF)
217 Store (\_SB.PCI0.LPC0.PMRD (0xAB), Local0)
218 Store (\_SB.PCI0.LPC0.PMRD (0xAF), Local4)
219 And (Local4, 0x04, Local7)
[...]
247 Else
248 {
249 \_SB.Z004 (0x51)
250 }
Return (Package (0x02)
{
0x00,
0x00
})
251 }
any idea about those errors? I can't find cluesIntel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Apr 6 2008]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
dsdt.dsl 20: Name (_T00, 0x00)
Warning 1097 - ^ Unknown reserved name (_T00)
dsdt.dsl 142: Return (\WBYT (Local1, Local0, Local2))
Error 4059 - Called method returns no value ^
dsdt.dsl 158: Return (\WWRD (Local1, Local0, Local2))
Error 4059 - Called method returns no value ^
dsdt.dsl 1160: Return (NXTD)
Warning 1098 - Statement is unreachable ^
dsdt.dsl 2347: Acquire (MUT0, 0x0FFF)
Warning 1103 - Possible operator timeout is ignored ^
dsdt.dsl 4012: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored
dsdt.dsl 4026: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored
dsdt.dsl 4041: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored
dsdt.dsl 4056: Acquire (MUTE, 0x0FFF)
Warning 1103 - ^ Possible operator timeout is ignored
dsdt.dsl 4070: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored
dsdt.dsl 4085: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored
dsdt.dsl 4100: Acquire (MUTE, 0x03E8)
Warning 1103 - ^ Possible operator timeout is ignored
ASL Input: dsdt.dsl - 7380 lines, 219425 bytes, 3063 keywords
Compilation complete. 2 Errors, 10 Warnings, 0 Remarks, 878 Optimizations

Code: Select all
dsdt.dsl 2188: Return (C15F (0x00, Arg0))
Error 4059 - Called method returns no value ^
dsdt.dsl 2287: Return (C15F (0x01, Arg0))
Error 4059 - Called method returns no value ^
dsdt.dsl 2310: Return (C15F (0x02, Arg0))
Error 4059 - Called method returns no value ^
dsdt.dsl 2333: Return (C15F (0x03, Arg0))
Error 4059 - Called method returns no value ^
dsdt.dsl 2356: Return (C15F (0x04, Arg0))
Error 4059 - Called method returns no value ^
dsdt.dsl 7036: Wait (\_SB.C161, 0x10)
Warning 1103 - Possible operator timeout is ignored ^
dsdt.dsl 10472: If (LEqual (C315 (0x00), 0x01))
Warning 1091 - ^ Called method may not always return a value
dsdt.dsl 10496: If (LEqual (C315 (0x01), 0x01))
Warning 1091 - ^ Called method may not always return a value
dsdt.dsl 11652: Method (C315, 1, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (C315)
ASL Input: dsdt.dsl - 14466 lines, 531038 bytes, 6816 keywords
Compilation complete. 5 Errors, 4 Warnings, 0 Remarks, 2375 Optimizations
It looks as if they were trying to push a value on the stack, doesn't it?. It should be safe to comment it out, as local variables are destroyed on exit and I typically find these at the end of methods. (According to the spec from Intel which, I might add, is 631 pages of incomprehensible @!#$%!!eccerr0r wrote:Anyone know what to do to fix sillyness like:
This of course makes absolutely no sense... Has anyone figured out a way to figure out what this statement was initially trying to accomplish? Or what to do to fix something like this?Code: Select all
ouka.dsl 332: Store (Local0, Local0) Error 4049 - ^ Method local variable is not initialized (Local0)
(This showed up on my Abit IS7 and Foxconn G9657MA motherboards, eerily similar errors. Both use Award BIOS I think.)
My Foxconn's WOL doesn't work (there seems to be another warning related to that) as well as hangs randomly on boot while detecting ACPI... wonderring if this is related...

Code: Select all
Maximum error count (200) exceeded
ASL Input: d - 6335 lines, 222080 bytes, 2313 keywords
Compilation complete. 201 Errors, 0 Warnings, 0 Remarks, 2 Optimizations
Maximum error count (200) exceeded
Segmentation fault Code: Select all
External (^CPU0._PPC)Code: Select all
External (CPU0._PPC)Code: Select all
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080701 [Sep 15 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a
dsdt.dsl.patched 574: If (LGreater (^CPU0._PPC, Zero))
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 576: Subtract (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 576: Subtract (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 578: Add (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 578: Add (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 583: Add (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 583: Add (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 585: Subtract (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 585: Subtract (^CPU0._PPC, One, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 603: Store (Local0, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 614: Store (Local0, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 618: Store (Zero, ^CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC)
dsdt.dsl.patched 6289: Method (WMBB, 3, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (WMBB)
ASL Input: dsdt.dsl.patched - 6335 lines, 222079 bytes, 2313 keywords
Compilation complete. 12 Errors, 1 Warnings, 0 Remarks, 47 Optimizations
Bumpkernelhacker wrote:I've got a rather buggy dsdt here with my Cybersystem Notebook which is a clevo 570ru barebone. At first compilation failed with a LOT of errors:changingCode: Select all
Maximum error count (200) exceeded ASL Input: d - 6335 lines, 222080 bytes, 2313 keywords Compilation complete. 201 Errors, 0 Warnings, 0 Remarks, 2 Optimizations Maximum error count (200) exceeded Segmentation faulttoCode: Select all
External (^CPU0._PPC)reduced the errors to "only" 12. But now i'm helplessCode: Select all
External (CPU0._PPC)![]()
Maybe someone can help me, the original dsdt.dsl file is here: http://www.stefanpokorny.de/dsdt.dsl and my patched version is here: http://www.stefanpokorny.de/dsdt.dsl.patched.
Output from "iasl -tc dsdt.dsl.patched" is here:Any help is appreciated!Code: Select all
Intel ACPI Component Architecture ASL Optimizing Compiler version 20080701 [Sep 15 2008] Copyright (C) 2000 - 2008 Intel Corporation Supports ACPI Specification Revision 3.0a dsdt.dsl.patched 574: If (LGreater (^CPU0._PPC, Zero)) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 576: Subtract (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 576: Subtract (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 578: Add (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 578: Add (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 583: Add (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 583: Add (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 585: Subtract (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 585: Subtract (^CPU0._PPC, One, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 603: Store (Local0, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 614: Store (Local0, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 618: Store (Zero, ^CPU0._PPC) Error 4063 - Object not found or not accessible from scope ^ (^CPU0._PPC) dsdt.dsl.patched 6289: Method (WMBB, 3, NotSerialized) Warning 1086 - ^ Not all control paths return a value (WMBB) ASL Input: dsdt.dsl.patched - 6335 lines, 222079 bytes, 2313 keywords Compilation complete. 12 Errors, 1 Warnings, 0 Remarks, 47 Optimizations
Thanks,
Stefan
Code: Select all
If (LEqual (Arg1, 0x02)) {}
If (LEqual (Arg1, 0x03)) {}
If (LEqual (Arg1, 0x04)) {}
If (LEqual (Arg1, 0x05)) {}
If (LEqual (Arg1, 0x06)) {}
If (LEqual (Arg1, 0x07)) {}
If (LEqual (Arg1, 0x08)) {}
If (LEqual (Arg1, 0x09)) {}

I tried some things, but changing ^CPU0 to CPU0 was probably not a good idea. I guess i just created a new error, which inhibited the detection of the old errors.jetblack wrote:I'm a little out of practice, but it looks like your 11 errors are still related to that ^CPU0._PPC call. I think I'd try replacing the remaining ^CPU0._PPC references with CPU0._PPC, especially since you've redefined the function call). That's probably why it's saying it can't find the function now. I'd see if that gets you down to the one warning about the WMBB call. I think you're ok at that point. All the warning is saying is that not all of the branches in the WMBB function return values. If the function doesn't hit those branches, it should be fine.
Code: Select all
ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20080701]
Code: Select all
Maximum error count (200) exceeded
dsdt.dsl 24: External (^CPU0._PPC)
Error 4014 - From ACPI CA Subsystem ^ (AE_NOT_FOUND Failure from lookup %s
)
Code: Select all
dsdt.dsl 26: Mutex (MUTX, 0x00)
Error 4062 - ^ Object does not exist (MUTX)
Code: Select all
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Jan 25 2008]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20060912]
Maximum error count (200) exceeded
dsdt.dsl 23: External (^CPU0._PPC)
Error 4014 - From ACPI CA Subsystem ^ (AE_NOT_FOUND Failure from lookup %s
)
dsdt.dsl 25: Mutex (MUTX, 0x00)
Error 4062 - ^ Object does not exist (MUTX)
dsdt.dsl 26: OperationRegion (PRT0, SystemIO, 0x80, 0x04)
Error 4062 - Object does not exist ^ (PRT0)
dsdt.dsl 27: Field (PRT0, DWordAcc, Lock, Preserve)
Error 4062 - ^ Object does not exist (PRT0)
dsdt.dsl 29: P80H, 32
Error 4062 - ^ Object does not exist (P80H)
dsdt.dsl 32: Method (P8XH, 2, Serialized)
Error 4062 - ^ Object does not exist (P8XH)
dsdt.dsl 36: Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D)
Error 4062 - Object does not exist ^ (P80D)
dsdt.dsl 36: Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D)
Error 4062 - Object does not exist ^ (P80D)
dsdt.dsl 41: Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08)
Error 4062 - Object does not exist ^ (P80D)
dsdt.dsl 42: ), P80D)
Error 4062 - Object does not exist ^ (P80D)
dsdt.dsl 47: Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10)
Error 4062 - Object does not exist ^ (P80D)
dsdt.dsl 48: ), P80D)
Error 4062 - Object does not exist ^ (P80D)
Code: Select all
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Jan 25 2008]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
dsdt.dsl 573: If (LGreater (CPU0._PPC, Zero))
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 575: Subtract (CPU0._PPC, One, CPU0._PPC)
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 575: Subtract (CPU0._PPC, One, CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (CPU0._PPC)
dsdt.dsl 577: Add (CPU0._PPC, One, CPU0._PPC)
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 577: Add (CPU0._PPC, One, CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (CPU0._PPC)
dsdt.dsl 582: Add (CPU0._PPC, One, CPU0._PPC)
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 582: Add (CPU0._PPC, One, CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (CPU0._PPC)
dsdt.dsl 584: Subtract (CPU0._PPC, One, CPU0._PPC)
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 584: Subtract (CPU0._PPC, One, CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (CPU0._PPC)
dsdt.dsl 602: Store (Local0, CPU0._PPC)
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 613: Store (Local0, CPU0._PPC)
Error 4063 - Object not found or not accessible from scope ^ (CPU0._PPC)
dsdt.dsl 617: Store (Zero, CPU0._PPC)
Error 4063 - ^ Object not found or not accessible from scope (CPU0._PPC)
dsdt.dsl 6288: Method (WMBB, 3, NotSerialized)
Warning 1086 - ^ Not all control paths return a value (WMBB)
ASL Input: dsdt.dsl - 6334 lines, 222048 bytes, 2313 keywords
Compilation complete. 12 Errors, 1 Warnings, 0 Remarks, 47 Optimizations
Code: Select all
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Jan 25 2008]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
ASL Input: dsdt.dsl2 - 6339 lines, 222212 bytes, 2314 keywords
AML Output: dsdt.aml - 22841 bytes 664 named objects 1650 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 59 Optimizations

Code: Select all
ACPI: Override [DSDT-CRESTLNE], this is unsafe: tainting kernel
ACPI: Table DSDT replaced by host OS
Code: Select all
DSDT override uses original SSDTs unless acpi_no_auto_ssdt

You shouldn't need vanilla kernel sources for this patch. Just follow steps 9b on page1 of this thread if interested. Use the patch for kernel 2.6.28 with the link I provided above.I haven't tried it because I think the kernel needs to be patched, so I would need a vanilla kernel (I think).

Code: Select all
DarkComet kodiakmax # zcat /proc/config.gz > /usr/src/config
DarkComet kodiakmax # cat /usr/src/config |grep DSDT
CONFIG_ACPI_CUSTOM_DSDT_FILE="/home/kodiakmax/iasl/work/dsdt.hex"
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
DarkComet kodiakmax # cat /usr/src/config |grep STANDALONE
# CONFIG_STANDALONE is not set
DarkComet kodiakmax # dmesg |grep DSDT
DarkComet kodiakmax # dmesg |grep dsdt
DarkComet kodiakmax # dmesg |grep ACPI
[ 1.106890] ACPI Error (psargs-0358): [^CPU0._PPC] Namespace lookup failure, AE_NOT_FOUND
[ 1.106895] ACPI Error (psparse-0524): Method parse/execution failed [\_PR_.POWC] (Node ffff88015fa2e400), AE_NOT_FOUND
[ 1.106946] ACPI Error (psparse-0524): Method parse/execution failed [\_SB_.AC__._PSR] (Node ffff88015fa2e800), AE_NOT_FOUND
[ 1.106974] ACPI Exception (ac-0135): AE_NOT_FOUND, Error reading AC Adapter state [20080926]
[ 1.125262] ACPI: Battery Slot [BAT0] (battery present)
[ 1.128255] ACPI: Power Button (FF) [PWRF]
[ 1.131254] ACPI: Power Button (CM) [PWB]
[ 1.134263] ACPI: Sleep Button (CM) [SLPB]
[ 1.134928] ACPI: Lid Switch [LID]
[ 1.135497] ACPI: SSDT 9FED71FD, 027A (r1 PmRef Cpu0Ist 3000 INTL 20050624)
[ 1.135890] ACPI: SSDT 9FED6CCE, 04AA (r1 PmRef Cpu0Cst 3001 INTL 20050624)
[ 1.138586] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 1.138622] processor ACPI_CPU:00: registered as cooling_device0
[ 1.138625] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 1.138987] ACPI: SSDT 9FED7477, 00C8 (r1 PmRef Cpu1Ist 3000 INTL 20050624)
[ 1.139275] ACPI: SSDT 9FED7178, 0085 (r1 PmRef Cpu1Cst 3000 INTL 20050624)
[ 1.140104] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[ 1.140137] processor ACPI_CPU:01: registered as cooling_device1
[ 1.140140] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 1.159797] ACPI: Thermal Zone [THRM] (52 C)
[ 11.686372] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 12.218194] ACPI: I/O resource 0000:00:1f.3 [0x1c00-0x1c1f] conflicts with ACPI region SMBI [0x1c00-0x1c0f]
[ 12.218196] ACPI: Device needs an ACPI driver
[ 13.233337] nvidia 0000:01:00.0: power state changed by ACPI to D0
DarkComet kodiakmax #
Code: Select all
DarkComet kodiakmax # cd /boot
DarkComet kodiakmax # zcat initramfs*28-sabayon-dsdt |cpio -t > zcat.log
DarkComet kodiakmax # cat zcat.log |grep DSDT
DSDT.aml
DarkComet kodiakmax #

Code: Select all
ACPI: DMI System Vendor: SAGER
ACPI: DMI Product Name: M570RU
ACPI: DMI Product Version: CLEVO:M570RU-1.00.12S
ACPI: DMI Board Name: SANTA ROSA
ACPI: DMI BIOS Vendor: Phoenix
ACPI: DMI BIOS Date: 01/14/2009
Code: Select all
DMI present