linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DSDT problems with Asus K8V-X SE
@ 2008-01-05 16:58 AnMaster
  2008-01-06  0:37 ` Carlos Corbacho
  0 siblings, 1 reply; 3+ messages in thread
From: AnMaster @ 2008-01-05 16:58 UTC (permalink / raw)
  To: linux-acpi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

I'm not sure if this is the right mailing list to post DSDT problems to, but someone said acpi-devel
at sf.net and when I found that it directed here.

My problem is a broken DSDT, I have tried to fix it, but I don't know if I did it the right way, nor
how to solve the warning that remains when the errors are gone.

http://rage.kuonet.org/~anmaster/acpi/dsdt.dsl.pre-fix is the one I get when decompiling.
http://rage.kuonet.org/~anmaster/acpi/dsdt.dsl.fix is the my try at fixing it.

The errors I get with the unfixed DSDT are as below. I want to know if my fix is correct and what to
do about the remaining warning (Not all control paths return a value (STM_)).

The motherboard in question is an Asus K8V-X SE. I found a custom DSDT for "Asus K8V-X SE Delux" but
it didn't work (lock up at boot) for me.

Errors:

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Mar 15 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl.pre-fix  2655:                 Method (STM, 0, Serialized)
Warning  1086 -                                   ^ Not all control paths return a value (STM_)

dsdt.dsl.pre-fix  2888:                 Field (WAU1, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2890:                     U184,   8
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2894:                 Field (U1D3, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2896:                     UR49,   3
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2900:                 Field (UBP1, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2902:                     U1PE,   1
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2927:                 Field (WAU2, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2929:                     U284,   8
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2933:                 Field (UBP2, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2935:                     U2PE,   1
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2960:                 Field (WAU3, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2962:                     U384,   8
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2966:                 Field (UBP3, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2968:                     U3PE,   1
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2993:                 Field (WAU4, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  2995:                     U484,   8
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  2999:                 Field (UBP4, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  3001:                     U4PE,   1
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

dsdt.dsl.pre-fix  3026:                 Field (WAU5, WordAcc, NoLock, Preserve)
Error    4026 -                                   ^ Access width is greater than region size

dsdt.dsl.pre-fix  3028:                     U584,   8
Error    4027 -                                ^ Access width of Field Unit extends beyond region limit

ASL Input:  dsdt.dsl.pre-fix - 3926 lines, 127747 bytes, 1417 keywords
Compilation complete. 20 Errors, 1 Warnings, 0 Remarks, 453 Optimizations


Regards,

Arvid Norlander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHf7dIWmK6ng/aMNkRCmk6AJ98QeMhBytllsUMh2siMqRjuDRd1gCcCMM7
nH/ijRZy5ycz1cLocb73thY=
=FlU8
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DSDT problems with Asus K8V-X SE
  2008-01-05 16:58 DSDT problems with Asus K8V-X SE AnMaster
@ 2008-01-06  0:37 ` Carlos Corbacho
  2008-01-06 10:07   ` AnMaster
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Corbacho @ 2008-01-06  0:37 UTC (permalink / raw)
  To: AnMaster; +Cc: linux-acpi

On Saturday 05 January 2008 16:58:50 AnMaster wrote:
> My problem is a broken DSDT, I have tried to fix it, but I don't know if I
> did it the right way, nor how to solve the warning that remains when the
> errors are gone.

What exactly is broken about your DSDT that requires you to 'fix' it? 

Yes, lots of vendor DSDTs won't compile with the Intel compiler - this is 
because the Microsoft compiler is far more 'generous' than Intel's, and will 
allow a lot of spec breaking rubbish in.

However, the ACPI interpreter in Linux can handle most of these just fine; and 
if it can't, then that's a bug that needs to be fixed in Linux (since Linux 
should be able to handle unmodified MS compiled DSDTs out of the box).

-Carlos
-- 
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DSDT problems with Asus K8V-X SE
  2008-01-06  0:37 ` Carlos Corbacho
@ 2008-01-06 10:07   ` AnMaster
  0 siblings, 0 replies; 3+ messages in thread
From: AnMaster @ 2008-01-06 10:07 UTC (permalink / raw)
  Cc: linux-acpi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Carlos Corbacho wrote:
> On Saturday 05 January 2008 16:58:50 AnMaster wrote:
>> My problem is a broken DSDT, I have tried to fix it, but I don't know if I
>> did it the right way, nor how to solve the warning that remains when the
>> errors are gone.
> 
> What exactly is broken about your DSDT that requires you to 'fix' it? 
> 
> Yes, lots of vendor DSDTs won't compile with the Intel compiler - this is 
> because the Microsoft compiler is far more 'generous' than Intel's, and will 
> allow a lot of spec breaking rubbish in.
> 
> However, the ACPI interpreter in Linux can handle most of these just fine; and 
> if it can't, then that's a bug that needs to be fixed in Linux (since Linux 
> should be able to handle unmodified MS compiled DSDTs out of the box).
> 
> -Carlos

I get lots of lock ups (no kernel oopes or other useful info, just everything locks up) that goes
away when I disable ACPI. Someone on IRC said that I should try to fix the DSDT to see if that helps.

Regards,

Arvid Norlander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHgKhIWmK6ng/aMNkRCp7zAKDDEn8Deif0QuW6v8IP42VS/2fLuwCfRG9M
QYCXQ3eJrwj+gw2O7Kaydso=
=xOEK
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-06 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-05 16:58 DSDT problems with Asus K8V-X SE AnMaster
2008-01-06  0:37 ` Carlos Corbacho
2008-01-06 10:07   ` AnMaster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).