Contribute
Register

Disassemble aml files error

Status
Not open for further replies.
Joined
Mar 2, 2011
Messages
19
Motherboard
GIGABYTE H170TN
CPU
6700T
Graphics
HD530
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
I follow the steps:
1. extract the ACPI files in Ubuntu-----done
2. add extenal name .aml-----done
3. run "iasl -da -dl *.aml" in terminal-----error

Code:
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20170728(RM)
Copyright (c) 2000 - 2017 Intel Corporation

Input file APIC.aml, Length 0xBC (188) bytes
ACPI: APIC 0x0000000000000000 0000BC (v03 GBT    GBTUACPI 01072009 AMI  00010013)
External object resolution file         UEFI.aml
Input file UEFI.aml, Length 0x42 (66) bytes
    UEFI.aml: Table [UEFI] is not an AML table - ignoring
External object resolution file        SSDT9.aml
Input file SSDT9.aml, Length 0x61E (1566) bytes
ACPI: SSDT 0x0000000000000000 00061E (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT8.aml
Input file SSDT8.aml, Length 0x37F (895) bytes
ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT7.aml
Input file SSDT7.aml, Length 0xE58 (3672) bytes
ACPI: SSDT 0x0000000000000000 000E58 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT6.aml
Input file SSDT6.aml, Length 0x53FD (21501) bytes
ACPI: SSDT 0x0000000000000000 0053FD (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT5.aml
Input file SSDT5.aml, Length 0x613 (1555) bytes
ACPI: SSDT 0x0000000000000000 000613 (v02 INTEL  xh_rvp10 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT4.aml
Input file SSDT4.aml, Length 0xBE3 (3043) bytes
ACPI: SSDT 0x0000000000000000 000BE3 (v02 INTEL  Ther_Rvp 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT3.aml
Input file SSDT3.aml, Length 0x2BAE (11182) bytes
ACPI: SSDT 0x0000000000000000 002BAE (v02 INTEL  PtidDevc 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT2.aml
Input file SSDT2.aml, Length 0x248 (584) bytes
ACPI: SSDT 0x0000000000000000 000248 (v02 INTEL  sensrhub 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT11.aml
Input file SSDT11.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT10.aml
Input file SSDT10.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT1.aml
Input file SSDT1.aml, Length 0x36D (877) bytes
ACPI: SSDT 0x0000000000000000 00036D (v01 SataRe SataTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file         MCFG.aml
Input file MCFG.aml, Length 0x3C (60) bytes
    MCFG.aml: Table [MCFG] is not an AML table - ignoring
External object resolution file         LPIT.aml
Input file LPIT.aml, Length 0x94 (148) bytes
    LPIT.aml: Table [LPIT] is not an AML table - ignoring
External object resolution file         HPET.aml
Input file HPET.aml, Length 0x38 (56) bytes
    HPET.aml: Table [HPET] is not an AML table - ignoring
External object resolution file         FPDT.aml
Input file FPDT.aml, Length 0x44 (68) bytes
    FPDT.aml: Table [FPDT] is not an AML table - ignoring
External object resolution file         FIDT.aml
Input file FIDT.aml, Length 0x9C (156) bytes
    FIDT.aml: Table [FIDT] is not an AML table - ignoring
External object resolution file         FACS.aml
Input file FACS.aml, Length 0x40 (64) bytes
ACPI Warning: Table header for [FACS] has invalid ASCII character(s) (20170728/acfileio-612)
    FACS.aml: Table [FACS] is not an AML table - ignoring
External object resolution file         FACP.aml
Input file FACP.aml, Length 0x10C (268) bytes
    FACP.aml: Table [FACP] is not an AML table - ignoring
External object resolution file         DSDT.aml
Input file DSDT.aml, Length 0x2083B (133179) bytes
ACPI: DSDT 0x0000000000000000 02083B (v02 GBT    GBTUACPI 01072009 INTL 20120913)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
External object resolution file         DMAR.aml
Input file DMAR.aml, Length 0xA8 (168) bytes
    DMAR.aml: Table [DMAR] is not an AML table - ignoring
External object resolution file         DBGP.aml
Input file DBGP.aml, Length 0x34 (52) bytes
    DBGP.aml: Table [DBGP] is not an AML table - ignoring
External object resolution file         DBG2.aml
Input file DBG2.aml, Length 0x54 (84) bytes
    DBG2.aml: Table [DBG2] is not an AML table - ignoring
External object resolution file          ASF.aml
Input file ASF.aml, Length 0xA5 (165) bytes
    ASF.aml: Table [ASF!] is not an AML table - ignoring
Acpi Data Table [APIC] decoded
Formatted output:  APIC.dsl - 8738 bytes
iasl(1254,0x7fffaeb333c0) malloc: *** error for object 0x7fa9d6c49ab0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

so i post the orinal files and ask for help.
Thanks a lot!
 

Attachments

  • h170_dsdt_ori.zip
    58.1 KB · Views: 85
I follow the steps:
1. extract the ACPI files in Ubuntu-----done
2. add extenal name .aml-----done
3. run "iasl -da -dl *.aml" in terminal-----error

Code:
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20170728(RM)
Copyright (c) 2000 - 2017 Intel Corporation

Input file APIC.aml, Length 0xBC (188) bytes
ACPI: APIC 0x0000000000000000 0000BC (v03 GBT    GBTUACPI 01072009 AMI  00010013)
External object resolution file         UEFI.aml
Input file UEFI.aml, Length 0x42 (66) bytes
    UEFI.aml: Table [UEFI] is not an AML table - ignoring
External object resolution file        SSDT9.aml
Input file SSDT9.aml, Length 0x61E (1566) bytes
ACPI: SSDT 0x0000000000000000 00061E (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT8.aml
Input file SSDT8.aml, Length 0x37F (895) bytes
ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT7.aml
Input file SSDT7.aml, Length 0xE58 (3672) bytes
ACPI: SSDT 0x0000000000000000 000E58 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT6.aml
Input file SSDT6.aml, Length 0x53FD (21501) bytes
ACPI: SSDT 0x0000000000000000 0053FD (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT5.aml
Input file SSDT5.aml, Length 0x613 (1555) bytes
ACPI: SSDT 0x0000000000000000 000613 (v02 INTEL  xh_rvp10 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT4.aml
Input file SSDT4.aml, Length 0xBE3 (3043) bytes
ACPI: SSDT 0x0000000000000000 000BE3 (v02 INTEL  Ther_Rvp 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT3.aml
Input file SSDT3.aml, Length 0x2BAE (11182) bytes
ACPI: SSDT 0x0000000000000000 002BAE (v02 INTEL  PtidDevc 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT2.aml
Input file SSDT2.aml, Length 0x248 (584) bytes
ACPI: SSDT 0x0000000000000000 000248 (v02 INTEL  sensrhub 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT11.aml
Input file SSDT11.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT10.aml
Input file SSDT10.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT1.aml
Input file SSDT1.aml, Length 0x36D (877) bytes
ACPI: SSDT 0x0000000000000000 00036D (v01 SataRe SataTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file         MCFG.aml
Input file MCFG.aml, Length 0x3C (60) bytes
    MCFG.aml: Table [MCFG] is not an AML table - ignoring
External object resolution file         LPIT.aml
Input file LPIT.aml, Length 0x94 (148) bytes
    LPIT.aml: Table [LPIT] is not an AML table - ignoring
External object resolution file         HPET.aml
Input file HPET.aml, Length 0x38 (56) bytes
    HPET.aml: Table [HPET] is not an AML table - ignoring
External object resolution file         FPDT.aml
Input file FPDT.aml, Length 0x44 (68) bytes
    FPDT.aml: Table [FPDT] is not an AML table - ignoring
External object resolution file         FIDT.aml
Input file FIDT.aml, Length 0x9C (156) bytes
    FIDT.aml: Table [FIDT] is not an AML table - ignoring
External object resolution file         FACS.aml
Input file FACS.aml, Length 0x40 (64) bytes
ACPI Warning: Table header for [FACS] has invalid ASCII character(s) (20170728/acfileio-612)
    FACS.aml: Table [FACS] is not an AML table - ignoring
External object resolution file         FACP.aml
Input file FACP.aml, Length 0x10C (268) bytes
    FACP.aml: Table [FACP] is not an AML table - ignoring
External object resolution file         DSDT.aml
Input file DSDT.aml, Length 0x2083B (133179) bytes
ACPI: DSDT 0x0000000000000000 02083B (v02 GBT    GBTUACPI 01072009 INTL 20120913)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
External object resolution file         DMAR.aml
Input file DMAR.aml, Length 0xA8 (168) bytes
    DMAR.aml: Table [DMAR] is not an AML table - ignoring
External object resolution file         DBGP.aml
Input file DBGP.aml, Length 0x34 (52) bytes
    DBGP.aml: Table [DBGP] is not an AML table - ignoring
External object resolution file         DBG2.aml
Input file DBG2.aml, Length 0x54 (84) bytes
    DBG2.aml: Table [DBG2] is not an AML table - ignoring
External object resolution file          ASF.aml
Input file ASF.aml, Length 0xA5 (165) bytes
    ASF.aml: Table [ASF!] is not an AML table - ignoring
Acpi Data Table [APIC] decoded
Formatted output:  APIC.dsl - 8738 bytes
iasl(1254,0x7fffaeb333c0) malloc: *** error for object 0x7fa9d6c49ab0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

so i post the orinal files and ask for help.
Thanks a lot!

You should try to extract your ACPI File directly from clover by pressing F4, thats the easiest way and probably the best.
And you are probably trying to disassemble more files than you need, read the guide carefully.

https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 

Attachments

  • f4.zip
    51.9 KB · Views: 100
I follow the steps:
1. extract the ACPI files in Ubuntu-----done
2. add extenal name .aml-----done
3. run "iasl -da -dl *.aml" in terminal-----error

Code:
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20170728(RM)
Copyright (c) 2000 - 2017 Intel Corporation

Input file APIC.aml, Length 0xBC (188) bytes
ACPI: APIC 0x0000000000000000 0000BC (v03 GBT    GBTUACPI 01072009 AMI  00010013)
External object resolution file         UEFI.aml
Input file UEFI.aml, Length 0x42 (66) bytes
    UEFI.aml: Table [UEFI] is not an AML table - ignoring
External object resolution file        SSDT9.aml
Input file SSDT9.aml, Length 0x61E (1566) bytes
ACPI: SSDT 0x0000000000000000 00061E (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT8.aml
Input file SSDT8.aml, Length 0x37F (895) bytes
ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT7.aml
Input file SSDT7.aml, Length 0xE58 (3672) bytes
ACPI: SSDT 0x0000000000000000 000E58 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT6.aml
Input file SSDT6.aml, Length 0x53FD (21501) bytes
ACPI: SSDT 0x0000000000000000 0053FD (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT5.aml
Input file SSDT5.aml, Length 0x613 (1555) bytes
ACPI: SSDT 0x0000000000000000 000613 (v02 INTEL  xh_rvp10 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT4.aml
Input file SSDT4.aml, Length 0xBE3 (3043) bytes
ACPI: SSDT 0x0000000000000000 000BE3 (v02 INTEL  Ther_Rvp 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT3.aml
Input file SSDT3.aml, Length 0x2BAE (11182) bytes
ACPI: SSDT 0x0000000000000000 002BAE (v02 INTEL  PtidDevc 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT2.aml
Input file SSDT2.aml, Length 0x248 (584) bytes
ACPI: SSDT 0x0000000000000000 000248 (v02 INTEL  sensrhub 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT11.aml
Input file SSDT11.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT10.aml
Input file SSDT10.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file        SSDT1.aml
Input file SSDT1.aml, Length 0x36D (877) bytes
ACPI: SSDT 0x0000000000000000 00036D (v01 SataRe SataTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file         MCFG.aml
Input file MCFG.aml, Length 0x3C (60) bytes
    MCFG.aml: Table [MCFG] is not an AML table - ignoring
External object resolution file         LPIT.aml
Input file LPIT.aml, Length 0x94 (148) bytes
    LPIT.aml: Table [LPIT] is not an AML table - ignoring
External object resolution file         HPET.aml
Input file HPET.aml, Length 0x38 (56) bytes
    HPET.aml: Table [HPET] is not an AML table - ignoring
External object resolution file         FPDT.aml
Input file FPDT.aml, Length 0x44 (68) bytes
    FPDT.aml: Table [FPDT] is not an AML table - ignoring
External object resolution file         FIDT.aml
Input file FIDT.aml, Length 0x9C (156) bytes
    FIDT.aml: Table [FIDT] is not an AML table - ignoring
External object resolution file         FACS.aml
Input file FACS.aml, Length 0x40 (64) bytes
ACPI Warning: Table header for [FACS] has invalid ASCII character(s) (20170728/acfileio-612)
    FACS.aml: Table [FACS] is not an AML table - ignoring
External object resolution file         FACP.aml
Input file FACP.aml, Length 0x10C (268) bytes
    FACP.aml: Table [FACP] is not an AML table - ignoring
External object resolution file         DSDT.aml
Input file DSDT.aml, Length 0x2083B (133179) bytes
ACPI: DSDT 0x0000000000000000 02083B (v02 GBT    GBTUACPI 01072009 INTL 20120913)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
External object resolution file         DMAR.aml
Input file DMAR.aml, Length 0xA8 (168) bytes
    DMAR.aml: Table [DMAR] is not an AML table - ignoring
External object resolution file         DBGP.aml
Input file DBGP.aml, Length 0x34 (52) bytes
    DBGP.aml: Table [DBGP] is not an AML table - ignoring
External object resolution file         DBG2.aml
Input file DBG2.aml, Length 0x54 (84) bytes
    DBG2.aml: Table [DBG2] is not an AML table - ignoring
External object resolution file          ASF.aml
Input file ASF.aml, Length 0xA5 (165) bytes
    ASF.aml: Table [ASF!] is not an AML table - ignoring
Acpi Data Table [APIC] decoded
Formatted output:  APIC.dsl - 8738 bytes
iasl(1254,0x7fffaeb333c0) malloc: *** error for object 0x7fa9d6c49ab0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

so i post the orinal files and ask for help.
Thanks a lot!

What laptop is this for? Please fill out your profile as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

And you need to read the guide carefully.
It calls for extracting with F4 in Clover.
And it does not call for disassembly of files that don't start with DSDT or SSDT.
 
Status
Not open for further replies.
Back
Top