Jump to content

compiling errors and warnings please help.


  • Please log in to reply
5 replies to this topic

#1
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 277 posts
  • Gender:Male
I get my DSDT with the latest ACPI IASL tools from here and added DTGP method and some fixes needed but cannot compile it to aml file. My MB is GA-Z77M-D3H-MVP with the latest BIOS available. The errors and warnings shows below. Really need some help to get it done. Any useful help will be appreciated.
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130517-32 [May 17 2013]
Copyright (c) 2000 - 2013 Intel Corporation
C:/Users/Cha0n/Desktop/dsdt_A.dsl 2318:					 CreateDWordField (B
UF0, \_SB.PCI0._Y0F._LEN, MSLN)
Warning 3128 -														 Resource
Tag larger than Field ^ (Size mismatch, Tag: 64 bits, Field: 32 bits)
C:/Users/Chan/Desktop/dsdt_A.dsl 3501:						 Acquire (MUT0,
0x0FFF)
Warning 3130 -	 Result is not used, possible operator timeout will be mis
sed ^
C:/Users/Chan/Desktop/dsdt_A.dsl 7787:	 Method (UXDV, 1, NotSerialized)
Remark 2120 -									 ^ Control Method should b
e made Serialized (due to creation of named objects within)
C:/Users/Chan/Desktop/dsdt_A.dsl 7849:	 Method (RRIO, 4, NotSerialized)
Remark 2120 -									 ^ Control Method should b
e made Serialized (due to creation of named objects within)
C:/Users/Chan/Desktop/dsdt_A.dsl 8145:				 Store (Package (0x08)
Remark 2063 -	 Initializer list shorter than declared package length ^
C:/Users/Chan/Desktop/dsdt_A.dsl 8201:			 Method (_DOD, 0, NotSeriali
zed)
Remark 2120 -	 Control Method should be made Serialized ^ (due to creati
on of named objects within)
C:/Users/Chan/Desktop/dsdt_A.dsl 11076:		 Method (_HID, 0, NotSerialized)
Warning 3115 -	 Not all control paths return a value ^ (_HID)
C:/Users/Chan/Desktop/dsdt_A.dsl 11076:		 Method (_HID, 0, NotSerialized)
Warning 3107 -	 Reserved method must return a value ^ (Integer/String re
quired for _HID)
C:/Users/Chan/Desktop/dsdt_A.dsl 11134:		 Method (_DSM, 4, NotSerialized)
Remark 2120 - Control Method should be made Serialized ^ (due to creation o
f named objects within)
C:/Users/Chan/Desktop/dsdt_A.dsl 11376:		 Method (_DSM, 4, NotSerialized)
Remark 2120 - Control Method should be made Serialized ^ (due to creation o
f named objects within)
C:/Users/Chan/Desktop/dsdt_A.dsl 11663:		 Name (_HID, "ABCDEFGH")
Error 6035 -				 _HID suffix must be all hex digits ^ (GH)
ASL Input:	 C:/Users/Chan/Desktop/dsdt_A.dsl - 11782 lines, 354718 bytes, 439
4 keywords
Compilation complete. 1 Errors, 4 Warnings, 6 Remarks, 112 Optimizations
And I also want to know how to get the AR8186 ethernet built in to get TM to function. This is a small task though.

#2
carbo178

carbo178

    Insanely Salam da l'aj

  • Local Moderators
  • 10,231 posts
  • Gender:Male
  • Location:Dalle paludi della Pianura Padana
Hi,
boot without DSDT.aml in /Extra, open terminal and copy-paste this code:
perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>)

{ chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP,

"|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'


zip and upload new dsdt.aml (saved on the desktop)
Sorry for my english

#3
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain
only have one error, the warnings is not important , only errors.


C:/Users/Chan/Desktop/dsdt_A.dsl 11663: Name (_HID, "ABCDEFGH").........................change here GH TO FF
Error 6035 - _HID suffix must be all hex digits ^ (GH) .

#4
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 277 posts
  • Gender:Male

only have one error, the warnings is not important , only errors.


C:/Users/Chan/Desktop/dsdt_A.dsl 11663: Name (_HID, "ABCDEFGH").........................change here GH TO FF
Error 6035 - _HID suffix must be all hex digits ^ (GH) .

Thanks man. You fixed the compilling problem. As GH are not included in the 64 base system. I should have noticed. Thanks anyway.

#5
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 69 posts

Remark 2120 - Control Method should be made Serialized ^ (due to creation o
f named objects within
)

If you see method NotSeralized and compilers say remark 2120, just del Not... and leave Serialized.

 

Warning 3115 - Not all control paths return a value ^ (_HID)

Try to add before last "}" Return (Zero) - if dont work see next....

 

Warning 3107 -     Reserved method must return a value ^ (Integer/String re
quired
for _HID)

try add this before last "}"

Return (Buffer (One) 

{
0x00
})

 

Remark 2063 -     Initializer list shorter than declared package length ^

You see Package (0x2) or 0x4 or 0x6 try 0xn+2

 

3318 Warning Result is not used, possible operator timeout will be missed 

Replace
 

Code:
Acquire (MUT0, 0x0FFF)

With

Code:
Acquire (MUT0, 0xFFFF)
 
Warning 3128 - Resource Tag larger than Field ^ (Size mismatch, Tag: 64 bits, Field: 32 bits)
CreateDWordField need change to CreateQWordField


#6
kvonlinee

kvonlinee

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 618 posts

only have one error, the warnings is not important , only errors.


C:/Users/Chan/Desktop/dsdt_A.dsl 11663: Name (_HID, "ABCDEFGH").........................change here GH TO FF
Error 6035 - _HID suffix must be all hex digits ^ (GH) .

it save my "headade"







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy