Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Fix Common ACPI Problems (DSDT, ECDT, etc.)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
_Stevie_
n00b
n00b


Joined: 20 Jan 2008
Posts: 7

PostPosted: Wed Feb 06, 2008 6:51 pm    Post subject: Reply with quote

^^^^^^^^^^^^^^^^
this is spam, delete account
Back to top
View user's profile Send private message
_Stevie_
n00b
n00b


Joined: 20 Jan 2008
Posts: 7

PostPosted: Thu Feb 07, 2008 3:48 am    Post subject: Reply with quote

hi mimosinnet!

unfortuneately the "package return fix" does only work for
the first function.

im still not able to solve these:

Code:
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



here the code:

http://ubuntuusers.de/paste/31886/
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Sat Feb 16, 2008 9:29 am    Post subject: Reply with quote

Steve,

If I understand correctly, for the first error "Not all control paths return a value" in the code, you included the return lines shown below (the ones without numbers) and the warning still appears. If this is the case, I am very sorry I do not know what else you should do.

Code:
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            }
Back to top
View user's profile Send private message
_Stevie_
n00b
n00b


Joined: 20 Jan 2008
Posts: 7

PostPosted: Sat Feb 16, 2008 4:50 pm    Post subject: Reply with quote

hi mimosinnet!

Yup thats right, I think theres a different fix needed there.
But thanks for your help!

Best,

Stevie
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Wed Mar 19, 2008 2:45 pm    Post subject: Reply with quote

Hey, my computer displays 2 batteries and I only have 1 installed. The second battery indicator is useless and is always wrong...
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
boda2004
n00b
n00b


Joined: 28 Mar 2006
Posts: 10

PostPosted: Sat Mar 29, 2008 2:02 pm    Post subject: Reply with quote

sonicbhoc wrote:
Hey, my computer displays 2 batteries and I only have 1 installed. The second battery indicator is useless and is always wrong...

Hope that will help.
Back to top
View user's profile Send private message
P0w3r3d
n00b
n00b


Joined: 13 Jan 2005
Posts: 54

PostPosted: Wed Apr 09, 2008 3:40 pm    Post subject: Reply with quote

hi , I got this output when tried to compile my DSDT (on HAIER H53):

Quote:

Intel 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


any idea about those errors? I can't find clues
Back to top
View user's profile Send private message
kreon28
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 165

PostPosted: Sun May 11, 2008 12:29 pm    Post subject: Reply with quote

In a Wiki chapter I found out that I can use windows dsdt.dsl :
Quote:
Hopefully you ended up with a fully readable dsdt.dsl file that you could move into your Gentoo install.


That's great but where should I move that file, just to let Gentoo use it instead of my old broken file?
Back to top
View user's profile Send private message
thegigistouch
n00b
n00b


Joined: 11 Jun 2008
Posts: 1
Location: Strasbourg, France

PostPosted: Wed Jun 11, 2008 3:41 pm    Post subject: Reply with quote

Hi everybody,

I've got an HP Compaq 6715 b (ATI SB 600 chip, ATI Express 1200, Sempron 3300+) and installing linux on this is making me totally crazy!

I tried many distribs, and it's all the time the same problem...

When I boot without any parameter, the screen goes black and the system hang while booting.
With acpi=off, the system boots quickly (about 1 min 30) and everyhting is working great, without power management (fans don't stop turning loudly).
With noapic or noapic nolapic the system work great, the power management is great, but the system is veeeeryyyy slooooow (about 4 minutes to start up). The Gnome applet showing cpu frequency seems to work correctly too (from 800 mhz = 40 % to 2 ghz = 100%).

I've got a buggy DSDT:
Code:

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


Could you please help me to debug this, I'm a totaly n00b in ASL, and totaly desperate about having a working system...

Don't hesitate to ask me for more informations!

Thanks for helping! :D

thegigistouch
Back to top
View user's profile Send private message
twalter
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 103
Location: Churchill, Canada

PostPosted: Thu Jul 31, 2008 10:40 pm    Post subject: Re: stores to undefined variables Reply with quote

eccerr0r wrote:
Anyone know what to do to fix sillyness like:

Code:
ouka.dsl   332:             Store (Local0, Local0)
Error    4049 -                         ^ Method local variable is not initialized (Local0)


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?

(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...


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 @!#$%!! :evil: It's either poorly written or really well obfuscated.) My mobo uses an Award BIOS as well so I'll assume that's the common link. It may be possible to follow the methods backwards and see if they are expecting a return (as opposed to twiddling a local variable the way you would a global.)

- Todd
Back to top
View user's profile Send private message
kernelhacker
n00b
n00b


Joined: 18 Feb 2004
Posts: 27

PostPosted: Mon Sep 15, 2008 9:34 pm    Post subject: buggy dsdt on clevo 570ru notebook Reply with quote

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:
Code:
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

changing
Code:
External (^CPU0._PPC)

to
Code:
    External (CPU0._PPC)

reduced the errors to "only" 12. But now i'm helpless :-(
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:
Code:
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


Any help is appreciated!

Thanks,

Stefan
_________________
signature temporarily disabled
Back to top
View user's profile Send private message
kernelhacker
n00b
n00b


Joined: 18 Feb 2004
Posts: 27

PostPosted: Sun Jan 04, 2009 10:07 am    Post subject: Re: buggy dsdt on clevo 570ru notebook Reply with quote

kernelhacker 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:
Code:
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

changing
Code:
External (^CPU0._PPC)

to
Code:
    External (CPU0._PPC)

reduced the errors to "only" 12. But now i'm helpless :-(
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:
Code:
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


Any help is appreciated!

Thanks,

Stefan


Bump
Anybody here who can help me with this?
Thanks,

Stefan
_________________
signature temporarily disabled
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Mon Jan 12, 2009 12:12 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Mon Jan 12, 2009 12:21 am    Post subject: Reply with quote

Also, if you want to get rid of the warning, I'd throw in some "Return (Zero)" statements in this block of the WMBB function:

Code:

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)) {}


That should at least clear up the warning. To be fair, though, I haven't really looked at what that function is supposed to be doing. I'm assuming, though, that if they didn't bother putting return values in those branches at all, then they can't be too big of a deal.
Back to top
View user's profile Send private message
kernelhacker
n00b
n00b


Joined: 18 Feb 2004
Posts: 27

PostPosted: Mon Jan 12, 2009 11:07 am    Post subject: Reply with quote

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.


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.
The first error is
Code:

ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20080701]                                                   

and is followed by this one
Code:

Maximum error count (200) exceeded
dsdt.dsl    24:     External (^CPU0._PPC)
Error    4014 -  From ACPI CA Subsystem ^  (AE_NOT_FOUND Failure from lookup %s
)                                                                             

and a lot of these
Code:

dsdt.dsl    26:     Mutex (MUTX, 0x00)
Error    4062 -               ^ Object does not exist (MUTX)


Unfortunately i have absolutely no idea, what to do. I wrote to the clevo support, but they did not even answer. I just can't believe, that nearly every board has buggy dsdt tables....
Thanks for your help!

Stefan
_________________
signature temporarily disabled
Back to top
View user's profile Send private message
kodiakmax
n00b
n00b


Joined: 28 Jan 2009
Posts: 27

PostPosted: Sun Feb 08, 2009 5:03 am    Post subject: Reply with quote

I have a Clevo M570RU Laptop as well.

Here is mine if anyone has any ideas? I have over 200 of them. Just about all of them are error 4062 but I can't seem to find anything on that.

because the files are quite long I'll upload them to the net. I don't see an attachment button for the forum. I hope I'm not going blind...

dsdt.dsl (216KB)--> http://www.sendspace.com/file/88f6mf
compile errors (21KB)--> http://www.sendspace.com/file/2wq5wc

here is a quick excerpt of the compile errors.

Code:
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)
Back to top
View user's profile Send private message
kodiakmax
n00b
n00b


Joined: 28 Jan 2009
Posts: 27

PostPosted: Tue Feb 10, 2009 8:26 pm    Post subject: Reply with quote

OK I changed all ^CPU0._PPC calls to CPU0.PPC and now only get 12 errors. the new list is below.
It looks like kernelhacker is having the same issue I am. Although I'm not suprised. He has the same laptop it looks like lol. Damn Clevo and their buggy DSDT lol.

edited dsdt --> http://www.sendspace.com/file/9wgvv4


new errors -
Code:

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
Back to top
View user's profile Send private message
kodiakmax
n00b
n00b


Joined: 28 Jan 2009
Posts: 27

PostPosted: Tue Feb 10, 2009 10:23 pm    Post subject: Reply with quote

OK I now have the following report.

Code:
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



weeeeee!!!!!

I replaced all ^CPU0._PPC with \_PR_.CPU0._PPC
and then added a Return function for the WMBB warning.

here is my fixed dsdt (untested) --> http://www.sendspace.com/file/srkcob

laptop Sager NP5790 (a.k.a. CLEVO M570RU)
here is the bios image I am using as well. ver- 1.00.12aSL ; current as of 15JAN2009 --> http://www.sendspace.com/file/5xc9k9

I have not yet tried it but will edit this post when I do.


Last edited by kodiakmax on Wed Feb 11, 2009 7:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
riczan
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2005
Posts: 134
Location: Sicily. Nothing personal...

PostPosted: Wed Feb 11, 2009 3:15 am    Post subject: Reply with quote

Help, I also have a sager 5793, same bugs and same fix.

However, when I replace the dsdt in the kernel (I'm using the hex file method), after booting up I get the same errors.

Also if I check the current /proc/acpi/dsdt file I see that it is not patched!!! what is going on?

dmesg reports that I'm using the new dsdt:
Code:

ACPI: Override [DSDT-CRESTLNE], this is unsafe: tainting kernel
ACPI: Table DSDT replaced by host OS

Also dmesg says that,
Code:

DSDT override uses original SSDTs unless acpi_no_auto_ssdt

I've tried with and without this flag and I get the same result.

this is very strange. What did I do wrong.

For the hex method there are 3 flags that must be set. All the guides said that
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/usr/src/dsdts/mydsdt.hex"
CONFIG_STANDALONE=n

The last option in gentoo looks like this:
# CONFIG_STANDALONE is not set

is this the same as =n, could this be the problem. However, I don't get compilation errors and the dsdt seems to be loaded but is not working...

Please help, I feel we are so close now.
_________________
SAGER 5793
Back to top
View user's profile Send private message
kodiakmax
n00b
n00b


Joined: 28 Jan 2009
Posts: 27

PostPosted: Wed Feb 11, 2009 7:09 pm    Post subject: Reply with quote

Well, I'm having problems compiling mine into the kernel. So I'm going to try the initramfs method. Probably better that way anyway, so I can test different changes to the dsdt more easily.
Back to top
View user's profile Send private message
riczan
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2005
Posts: 134
Location: Sicily. Nothing personal...

PostPosted: Wed Feb 11, 2009 8:04 pm    Post subject: Reply with quote

did you have the flags set as I described above?

First you need to unset the STANDALONE option. You find it in device drivers/general setup/

only then you will see the other option in the acpi menu.

I'm using 2.6.28-tuxonice-r1 sources. Let me know if the initrd method works. I haven't tried it because I think the kernel needs to be patched, so I would need a vanilla kernel (I think).

Good luck,

anyone else? suggestions are wellcomed...
_________________
SAGER 5793
Back to top
View user's profile Send private message
kodiakmax
n00b
n00b


Joined: 28 Jan 2009
Posts: 27

PostPosted: Wed Feb 11, 2009 9:26 pm    Post subject: Reply with quote

Yes I did try the following kernel options

CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/home/kodiakmax/iasl/work/dsdt.hex"
CONFIG_STANDALONE=n

However, When I reboot I do not get a dmesg output notifying me that custom dsdt is in use.

I have now just tried the initramfs support with the following patch --> http://gaugusch.at/kernel.shtml

I then enabled the following kernel option

CONFIG_ACPI_CUSTOM_DSDT_INITRD=y

I then used this script --> http://gaugusch.at/acpi-dsdt-initrd-patches/initrd-add-dsdt
to append the dsdt to the initramfs, when I reboot again there is still no dmesg notifying me of a custom dsdt in use.


Quote:
I haven't tried it because I think the kernel needs to be patched, so I would need a vanilla kernel (I think).

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.
Although with neither method working for me, take my advice with a grain of salt! lol
Back to top
View user's profile Send private message
riczan
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2005
Posts: 134
Location: Sicily. Nothing personal...

PostPosted: Wed Feb 11, 2009 9:45 pm    Post subject: Reply with quote

Are you sure your dmesg before and after are identical? Did you compare line by line? I find it hard to believe that there are absolutely no changes... you should at least get somehting saying that you are using a custom dsdt... or failed to use custom dsd or something.

did you recompiled the kernel?

did you updated your grub?

I also want to report that I tried the acpi_os_name="Windows 2001 SP2" with no apparent effect. (I read the dsdt.dsl to get the "Windows 2001 SP2").

Finally, I contacted Sager customer service just for the sake of it, requesting a BIOS upgrade :). They told me to disable the robson option in the bios... I don't see how that is related but you may want to try that. (I think this is the automatic response to the word "Linux")

I have it on because that enables the AHCI support for hardrives but I will disable it and see what happens on a gentoo bootup CD. I don't know if that will brake my current linux installation (that's why I want to try the CD first)

You can try that too.

Don't give up. Since this is not a threat, just a discussion, perhaps we would get more help on a different forum.

I'll see were I go with the initrd but your tests don't seem very encouraging.

good luck
_________________
SAGER 5793
Back to top
View user's profile Send private message
kodiakmax
n00b
n00b


Joined: 28 Jan 2009
Posts: 27

PostPosted: Thu Feb 12, 2009 12:33 am    Post subject: Reply with quote

I have had the robson disabled for quite some time now. So, that's not it for me. The BIOS image in my post above is the most current straight from sager tech support. Clevo's most current BIOS image is actually 1.00.11 So, sager has done something to it. However, I am unable to find out what.

I too find it very strange that I can't get the custom dsdt loaded with either the kernel or initramfs method.

here is a quick output after kernel reconfig and reboot. This time I tried both .hex method and initramfs method together.

Code:
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 #


My grub does not really require updating as my /boot is not on a seperate partition. However, I did edit the grub.conf to use the modded initramfs. The modded initramfs does include the DSDT.aml in it's file list as well verified through the following command
Code:
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 #
Back to top
View user's profile Send private message
riczan
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2005
Posts: 134
Location: Sicily. Nothing personal...

PostPosted: Thu Feb 12, 2009 3:39 pm    Post subject: Reply with quote

I see the light at the end of the tunnel...

I rebooted with the gentoo CD and dmesg reports no errors!!! The /proc/acpi/ac_adapter directory is not empty anymore!!!

This is good news... but I'm not sure how to interpret this yet. Is my current kernel buggy? or is it a option in the .config that I'm missing?

I'll try both aproaches and I'll report back. It will take me some time to go through all the config file... can some one suggest what could be the possible relevant sections that should be identical? (other than the obvious ACPI section).

But this is good, if I don't get it we can always use the genkernel and have full ACPI functionality... of course, if I wanted a genkernel I would be using ubuntu instead.

cheers

Unfortunately I don't see the kernel version in the dmesg of the gentoo boot CD. But I see some obvious differences already,
gentoo CD:
Code:

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

my current 2.6.28-tuxonice-r1
Code:

DMI present


That's it :(

This looks more like a flag I'm missing.

I also checked the dsdt.dsl file used by the gentoo CD and the "bad" code is there External (^CPU0._PPC) and yet, the gentooCD kernel has no problem with that... this makes me very suspicious of the whole compiling of the dsdt.dsl to check for errors.

enough for now.
_________________
SAGER 5793
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... , 14, 15, 16  Next
Page 15 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum