Jump to content

DSDT disass+compile: newest iASLme / IASL :, Juli 11th 2012


  • Please log in to reply
269 replies to this topic

#121
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
1. try newest one (you use older Dec 2008 version)
2. normally warnings doesnt matter, only errors need attention+work

#122
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
Thank you mitch_de. Definitely what I'm looking for. :D

#123
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
mitch_de, I need your help. This is Dell Studio 1557's dsdt & I already tried to compile it with iasl rev3.0a, rev4 & rev4.0a but failed. I can't figure out what is wrong with the dsdt file. I have fixed a lot of dsdt but this one I can't fix it myself.

Attached Files



#124
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany

mitch_de, I need your help. This is Dell Studio 1557's dsdt & I already tried to compile it with iasl rev3.0a, rev4 & rev4.0a but failed. I can't figure out what is wrong with the dsdt file. I have fixed a lot of dsdt but this one I can't fix it myself.


I would post an "DSDT Problem with Dell Studio 1557" Thread in the Genius Bar or Post Install SL Forum.
Perhaps very DELL specific things which are already know be other DELL users. I am sure you will get there much faster answers.

#125
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

I would post an "DSDT Problem with Dell Studio 1557" Thread in the Genius Bar or Post Install SL Forum.
Perhaps very DELL specific things which are already know be other DELL users. I am sure you will get there much faster answers.

I fixed it already. There is illegal IF statement (not in any control method or function) which I failed to find it earlier. I thought I lost my "touch" already. ;)

#126
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,202 posts
  • Gender:Male
  • Location:Moscow

I fixed it already. There is illegal IF statement (not in any control method or function) which I failed to find it earlier. I thought I lost my "touch" already. ;)

Yes, it is.
HacBook:Dell Studio 1557 DSDT slice$ iasl -ta dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20100331 [Apr  1 2010]
Copyright (c) 2000 - 2010 Intel Corporation
Supports ACPI Specification Revision 4.0

dsdt.dsl 10588:			 Name (_WDG, Buffer (0xA0)
Warning  1099 -					  ^ Unknown reserved name (_WDG)

dsdt.dsl 10675:			 Method (_WED, 1, NotSerialized)
Warning  1099 -  Unknown reserved name ^  (_WED)

dsdt.dsl 10675:			 Method (_WED, 1, NotSerialized)
Warning  1099 -  Unknown reserved name ^  (_WED)

dsdt.dsl 10675:			 Method (_WED, 1, NotSerialized)
Warning  1099 -  Unknown reserved name ^  (_WED)

dsdt.dsl 11137:				 Name (_T_2, Zero)
Remark   5111 -						  ^ Use of compiler reserved name (_T_2)

ASL Input:  dsdt.dsl - 12800 lines, 394045 bytes, 4190 keywords
AML Output: DSDT.aml - 42070 bytes, 1098 named objects, 3092 executable opcodes

Compilation complete. 0 Errors, 4 Warnings, 1 Remarks, 59 Optimizations


#127
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
NEXT challange please :wallbash:

#128
Freaky Chokra

Freaky Chokra

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 353 posts
  • Gender:Male

NEXT challange please :wallbash:

Hi mitch_de.
With all many thanks, and appreciation... CHEERIOS!
[As I was online, I was notified about ur post :( ]

A job well done! You guys are simply marvellous!
And, I liked your quote:

NEXT challange please :blowup:

Ha Ha Ha!
Hope so this continues, even when Apple will be Screwing with 10.7!
Regards,
Freaky Chokra :angel:

#129
tanczu

tanczu

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Hello All, Mitch_de

I am facing following problem running iASL Me:

[codebox]
dyld: unknown required load command 0x80000022
[/codebox]

Has anybody solved it? I am running vanilla kernel on core2duo E8400. Maybe error is connected with osx version, currently I am on 10.5.8.

regards,
tan

#130
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
YEP, that can be the problem (compiled for 10.6+)
Have you tried the 32 Bit version too and get same dyld error (i think yes, because your Intel C2D shoudnt have any problems with the 64 Bit IASL version).
I will take a look and recompile soon (a dew days) .
Any comments of users with IASL 2010 and OS X 10.5.x which can use it (no dyld error) are welcome !

#131
Espionage724

Espionage724

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 639 posts
  • Gender:Male
  • Location:Charleroi, PA 15022
The latest iasl gives me compile errors, while the one back in March works fine (i forget what versions, but this is what it does with Windows binaries, and aparantly mac copies).

I need to use an older copy on Snow Leopard, but I always get bad executable CPU code?

#132
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany

The latest iasl gives me compile errors, while the one back in March works fine (i forget what versions, but this is what it does with Windows binaries, and aparantly mac copies).

What kind of errors ? Some "new" errors belongs to real bugs in dsdt source older versions not "see".
If you get this error type :
/Users/ami/Desktop/dsdt.dsl 833: 0xFFF00000, // Length
Error 4117 - Length is larger than Min/Max window
you can fix that buggy dsdt source with solution on page 4.

.

#133
mikeetastic

mikeetastic

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
i have this error on the ew 32bit 4-28-2010 iAslme

DSDT.dsl 818: 0xFFF00000, // Length
Error 4117 - Length is larger than Min/Max window ^


DSDT.dsl 5077: Name (_AL0, Package (One)
Error 4080 - Invalid object type for reserved name ^ (found VAR_PACKAGE, requires Package)


i dont have this problem on the older Nov 2009 iAslme.. is there any way to fix my dsdt? can't seem to find the answer on page4 as suggested by mitch or i will just keep using the old version?

TIA.

#134
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany

i have this error on the ew 32bit 4-28-2010 iAslme

i dont have this problem on the older Nov 2009 iAslme.. is there any way to fix my dsdt? can't seem to find the answer on page4 as suggested by mitch or i will just keep using the old version?

TIA.


You may / must edit the dsdt.dsl to fix the first error (length).
You didnt need newest IASL, you can do that fix and recompile also with older IASL version .
If you dont fix that you will get always that error with all IASL versions in the future, because IASL will find that wrong dsdt part also in the future, if you dont fix ist.

SOLUTION: (is also on page 4)
I looked at that code in my dsdl
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00100000, // Range Minimum
0xFEBFFFFF, // Range Maximum
0x00000000, // Translation Offset
0xFFF00000, // Length
,, _Y00, AddressRangeMemory, TypeStatic)

compared to other similar DwordMem code in area around... i can see indeed an wrong lenght here !!!

Here no min/max/length error !

DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000C0000, // Range Minimum
0x000DFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00020000, // Length
,, , AddressRangeMemory, TypeStatic)

For my looking(+ thinking ) the diff of Range Max / Range Min added 1 (must) give the Length which new iasl checks .

0x000DFFFF, // Range Maximum
- 0x000C0000, // Range Minimum
------------------
0x1FFFF
+ 1 = 0x00020000, // Length

In case of my error :
0xFEBFFFFF, // Range Maximum
- 0x00100000, // Range Minimum
---------------------
0xFEAFFFFF
+1 = 0xFEB00000 insted of (error message) 0xFFF00000, // Length


HINT: Use OS X calculator to do the diff and + 1 for fixing lenght , switched into programmers mode ! YOu can even copy + paste values (hex) from dsdt to calc and results back to avoid typo´s !


For the second error perhaps you post the dsdt lines around (-5 / +5 lines) the error, so that soemone can look closer adn give hints.
But until you get hints, i would simple fix the first error (lenght) and recompile it with the older version, which didnt complain that second(perhaps also buggy dsdt like the first error).

#135
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
UPDATE SOON ALERT :P
I am ready to build new 28 Mai 2010 Version :wallbash:

"changes iASL Compiler/Disassembler:
iASL: Added compiler support for the _WDG and_WED Microsoft predefined
methods. These objects are defined by "Windows Instrumentation", and are not
part of the ACPI spec. ACPICA BZ 860
."

EDIT: building, testing and uploading complete

#136
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

UPDATE SOON ALERT :)
I am ready to build new 28 Mai 2010 Version ;)

"changes iASL Compiler/Disassembler:
iASL: Added compiler support for the _WDG and_WED Microsoft predefined
methods. These objects are defined by "Windows Instrumentation", and are not
part of the ACPI spec. ACPICA BZ 860
."

EDIT: building, testing and uploading complete

For the record: This update is not adding anything for OS X users!

#137
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts

YEP, that can be the problem (compiled for 10.6+)
Have you tried the 32 Bit version too and get same dyld error (i think yes, because your Intel C2D shoudnt have any problems with the 64 Bit IASL version).
I will take a look and recompile soon (a dew days) .
Any comments of users with IASL 2010 and OS X 10.5.x which can use it (no dyld error) are welcome !


I get the same "dyld: unknown required load command 0x80000022" with your latest iASLMe_(64,32)Bit_28_05_2010 builds, when running it on 10.5.8 I'll try it on my MacBookPro 10.6.3 system ...

P.S. just to verify, as I'm new to all of this, I'm using the acpi_dsdt.bin (renamed to .aml) I extracted using Everest Ultimate Edition in WinXP. Is this the right way to start things off :(

For the record: This update is not adding anything for OS X users!


Did you mean "OS X 10.5.x" users? :(

#138
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
No, he meaned that the lastest changes only interesting for Windows Users.

Such "dyld: unknown required load command 0x80000022" errors come up if the OS X version didnt "fit".
Should run on 10.6.

#139
drule

drule

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts

No, he meaned that the lastest changes only interesting for Windows Users.

Such "dyld: unknown required load command 0x80000022" errors come up if the OS X version didnt "fit".
Should run on 10.6.


Yes ran perfectly on my MacBookPro, thanks.

#140
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Master Chief: Can you tell me the command line option for the make command to use the SDK 10.5 insted the standard ( i think its 10.6 on an 10.6 system) to get an build which runs 10.5+ ?
I future it would be better to build only one version anymore 32 Bit / 10.5+, so it runs on most systems.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy