* acpidump vs tiger2
@ 2007-01-26 4:20 ` Len Brown
0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2007-01-26 4:20 UTC (permalink / raw)
To: robert.moore, Alexey Starikovskiy; +Cc: linux-acpi, linux-ia64
[-- Attachment #1: Type: text/plain, Size: 3177 bytes --]
Alexey,
Using pmtools-20061130 I get some warnings on a Tiger-2:
[root@tiger lenb]# bin/acpidump >acpidump.out
acpidump(4538): unaligned access to 0x6000000000008274, ip=0x4000000000002ab1
acpidump(4538): unaligned access to 0x600000000000827c, ip=0x4000000000002ab1
Bob,
acpixtract also results in warnings when running,
an error in the .dsl file, and inability to re-compile.
acpidump.out.gz attached.
thanks,
-Len
[lenb@tiger ~]$ acpixtract -a acpidump.out
Acpi table [DSDT] - 10539 bytes written to DSDT.dat
Acpi table [FACS] - 64 bytes written to FACS.dat
Acpi table [FACP] - 244 bytes written to FACP.dat
Acpi table [APIC] - 174 bytes written to APIC.dat
Acpi table [XSDT] - 52 bytes written to XSDT.dat
Acpi table [RSDP] - 36 bytes written to RSDP.dat
[lenb@tiger ~]$ iasl -d DSDT.dat
Intel ACPI Component Architecture
AML Disassembler version 20061109 [Jan 25 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
Loading Acpi table from file DSDT.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
.............................................................................................................................................
Parsing completed
Found 6 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
.............................................................................................................................................
Parsing completed
iasl(4893): unaligned access to 0x60000000000189a5, ip=0x400000000008ba30
iasl(4893): unaligned access to 0x6000000000018a3f, ip=0x400000000008bc60
iasl(4893): unaligned access to 0x6000000000018a41, ip=0x400000000008bca0
iasl(4893): unaligned access to 0x6000000000018a47, ip=0x400000000008bc60
Disassembly completed, written to "DSDT.dsl"
[lenb@tiger ~]$ head -20 DSDT.dsl
ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20061109]
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20061109
*
* Disassembly of DSDT.dat, Thu Jan 25 23:11:52 2007
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x0000292B (10539)
* Revision 0x01
* OEM ID "Intel"
* OEM Table ID "SR870BH2"
* OEM Revision 0x00000000 (0)
* Creator ID "MSFT"
* Creator Revision 0x0100000D (16777229)
*/
DefinitionBlock ("DSDT.aml", "DSDT", 1, "Intel", "SR870BH2", 0x00000000)
{
And can't be re-assembled:
[lenb@tiger ~]$ iasl DSDT.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [Jan 25 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
DSDT.dsl 1: ACPI
Error 4094 - ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK
ASL Input: DSDT.dsl - 2645 lines, 99344 bytes, 0 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
[-- Attachment #2: acpidump.out.gz --]
[-- Type: application/x-gzip, Size: 13766 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* acpidump vs tiger2
@ 2007-01-26 4:20 ` Len Brown
0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2007-01-26 4:20 UTC (permalink / raw)
To: robert.moore, Alexey Starikovskiy; +Cc: linux-acpi, linux-ia64
[-- Attachment #1: Type: text/plain, Size: 3177 bytes --]
Alexey,
Using pmtools-20061130 I get some warnings on a Tiger-2:
[root@tiger lenb]# bin/acpidump >acpidump.out
acpidump(4538): unaligned access to 0x6000000000008274, ip=0x4000000000002ab1
acpidump(4538): unaligned access to 0x600000000000827c, ip=0x4000000000002ab1
Bob,
acpixtract also results in warnings when running,
an error in the .dsl file, and inability to re-compile.
acpidump.out.gz attached.
thanks,
-Len
[lenb@tiger ~]$ acpixtract -a acpidump.out
Acpi table [DSDT] - 10539 bytes written to DSDT.dat
Acpi table [FACS] - 64 bytes written to FACS.dat
Acpi table [FACP] - 244 bytes written to FACP.dat
Acpi table [APIC] - 174 bytes written to APIC.dat
Acpi table [XSDT] - 52 bytes written to XSDT.dat
Acpi table [RSDP] - 36 bytes written to RSDP.dat
[lenb@tiger ~]$ iasl -d DSDT.dat
Intel ACPI Component Architecture
AML Disassembler version 20061109 [Jan 25 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
Loading Acpi table from file DSDT.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
.............................................................................................................................................
Parsing completed
Found 6 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
.............................................................................................................................................
Parsing completed
iasl(4893): unaligned access to 0x60000000000189a5, ip=0x400000000008ba30
iasl(4893): unaligned access to 0x6000000000018a3f, ip=0x400000000008bc60
iasl(4893): unaligned access to 0x6000000000018a41, ip=0x400000000008bca0
iasl(4893): unaligned access to 0x6000000000018a47, ip=0x400000000008bc60
Disassembly completed, written to "DSDT.dsl"
[lenb@tiger ~]$ head -20 DSDT.dsl
ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20061109]
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20061109
*
* Disassembly of DSDT.dat, Thu Jan 25 23:11:52 2007
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x0000292B (10539)
* Revision 0x01
* OEM ID "Intel"
* OEM Table ID "SR870BH2"
* OEM Revision 0x00000000 (0)
* Creator ID "MSFT"
* Creator Revision 0x0100000D (16777229)
*/
DefinitionBlock ("DSDT.aml", "DSDT", 1, "Intel", "SR870BH2", 0x00000000)
{
And can't be re-assembled:
[lenb@tiger ~]$ iasl DSDT.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [Jan 25 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
DSDT.dsl 1: ACPI
Error 4094 - ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK
ASL Input: DSDT.dsl - 2645 lines, 99344 bytes, 0 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
[-- Attachment #2: acpidump.out.gz --]
[-- Type: application/x-gzip, Size: 13766 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: acpidump vs tiger2
2007-01-26 4:20 ` Len Brown
@ 2007-01-27 13:11 ` Mattia Dongili
-1 siblings, 0 replies; 4+ messages in thread
From: Mattia Dongili @ 2007-01-27 13:11 UTC (permalink / raw)
To: Len Brown; +Cc: robert.moore, Alexey Starikovskiy, linux-acpi, linux-ia64
On Thu, Jan 25, 2007 at 11:20:02PM -0500, Len Brown wrote:
> Alexey,
> Using pmtools-20061130 I get some warnings on a Tiger-2:
>
> [root@tiger lenb]# bin/acpidump >acpidump.out
> acpidump(4538): unaligned access to 0x6000000000008274, ip=0x4000000000002ab1
> acpidump(4538): unaligned access to 0x600000000000827c, ip=0x4000000000002ab1
>
> Bob,
> acpixtract also results in warnings when running,
> an error in the .dsl file, and inability to re-compile.
[...]
> [lenb@tiger ~]$ head -20 DSDT.dsl
> ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20061109]
No unaligned access here but I did see this error on another DSDT.
Basically disassembling a DSDT (to fix some errors), rebuilding it,
disassembling again added an External reference at the begininning of
the DSDT DefinitionBlock. If the first rebuild in the above sequence is
performed without optimizations (-oa) everithing is fine. Or eventually
remiving the external ref make re-re-building succeed.
This is the beginning of the diff of the original disassembled and the
optimized disassembled:
* Original Table Header:
* Signature "DSDT"
- * Length 0x0000F9A0 (63904)
+ * Length 0x0000ECCD (60621)
* Revision 0x01
* OEM ID "HP "
* OEM Table ID "nx7400"
* OEM Revision 0x00010000 (65536)
- * Creator ID "MSFT"
- * Creator Revision 0x0100000E (16777230)
+ * Creator ID "INTL"
+ * Creator Revision 0x20061109 (537268489)
*/
-DefinitionBlock ("../DSDT.aml", "DSDT", 1, "HP ", "nx7400", 0x00010000)
+DefinitionBlock ("DSDT.aml", "DSDT", 1, "HP ", "nx7400", 0x00010000)
{
- Name (C000, 0x00)
- Processor (\_PR.CPU0, 0x01, 0x00001010, 0x06)
+ External (^^^C003.C005.C19C)
+
+ Name (C000, Zero)
+ Processor (_PR.CPU0, 0x01, 0x080C5478, 0x06)
{
Full DSDT:
http://people.debian.org/~malattia/iasl/DSDT.dat
Some more info about the issue on Debian's BTS:
http://bugs.debian.org/407708
So here's maybe a more clear sequence:
# wget -q http://people.debian.org/~malattia/iasl/DSDT.dat
# wget -q http://people.debian.org/~malattia/iasl/dsdtF0A.patch
# iasl -d DSDT.dat
Intel ACPI Component Architecture
AML Disassembler version 20061109 [Jan 14 2007]
...
Disassembly completed, written to "DSDT.dsl"
# patch -p0 < dsdtF0A.patch
# iasl DSDT.dsl
...
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 2153 Optimizations
# iasl -d DSDT.aml
...
Disassembly completed, written to "DSDT.dsl"
# iasl DSDT.dsl | head -n 20
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [Jan 14 2007]
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 [20061109]
Maximum error count (200) exceeded
DSDT.dsl 20: External (^^^C003.C005.C19C)
Error 4014 - From ACPI CA Subsystem ^ (AE_NOT_FOUND Failure from lookup %s
)
DSDT.dsl 22: Name (C000, Zero)
Error 4062 - ^ Object does not exist (C000)
DSDT.dsl 23: Processor (_PR.CPU0, 0x01, 0x080C5478, 0x06)
Error 4063 - ^ Object not found or not accessible from scope (_PR.CPU0)
DSDT.dsl 25: Name (C001, Zero)
--
mattia
:wq!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: acpidump vs tiger2
@ 2007-01-27 13:11 ` Mattia Dongili
0 siblings, 0 replies; 4+ messages in thread
From: Mattia Dongili @ 2007-01-27 13:11 UTC (permalink / raw)
To: Len Brown; +Cc: robert.moore, Alexey Starikovskiy, linux-acpi, linux-ia64
On Thu, Jan 25, 2007 at 11:20:02PM -0500, Len Brown wrote:
> Alexey,
> Using pmtools-20061130 I get some warnings on a Tiger-2:
>
> [root@tiger lenb]# bin/acpidump >acpidump.out
> acpidump(4538): unaligned access to 0x6000000000008274, ip=0x4000000000002ab1
> acpidump(4538): unaligned access to 0x600000000000827c, ip=0x4000000000002ab1
>
> Bob,
> acpixtract also results in warnings when running,
> an error in the .dsl file, and inability to re-compile.
[...]
> [lenb@tiger ~]$ head -20 DSDT.dsl
> ACPI Error (nsaccess-0531): ACPI path has too many parent prefixes (^) - reached beyond root node [20061109]
No unaligned access here but I did see this error on another DSDT.
Basically disassembling a DSDT (to fix some errors), rebuilding it,
disassembling again added an External reference at the begininning of
the DSDT DefinitionBlock. If the first rebuild in the above sequence is
performed without optimizations (-oa) everithing is fine. Or eventually
remiving the external ref make re-re-building succeed.
This is the beginning of the diff of the original disassembled and the
optimized disassembled:
* Original Table Header:
* Signature "DSDT"
- * Length 0x0000F9A0 (63904)
+ * Length 0x0000ECCD (60621)
* Revision 0x01
* OEM ID "HP "
* OEM Table ID "nx7400"
* OEM Revision 0x00010000 (65536)
- * Creator ID "MSFT"
- * Creator Revision 0x0100000E (16777230)
+ * Creator ID "INTL"
+ * Creator Revision 0x20061109 (537268489)
*/
-DefinitionBlock ("../DSDT.aml", "DSDT", 1, "HP ", "nx7400", 0x00010000)
+DefinitionBlock ("DSDT.aml", "DSDT", 1, "HP ", "nx7400", 0x00010000)
{
- Name (C000, 0x00)
- Processor (\_PR.CPU0, 0x01, 0x00001010, 0x06)
+ External (^^^C003.C005.C19C)
+
+ Name (C000, Zero)
+ Processor (_PR.CPU0, 0x01, 0x080C5478, 0x06)
{
Full DSDT:
http://people.debian.org/~malattia/iasl/DSDT.dat
Some more info about the issue on Debian's BTS:
http://bugs.debian.org/407708
So here's maybe a more clear sequence:
# wget -q http://people.debian.org/~malattia/iasl/DSDT.dat
# wget -q http://people.debian.org/~malattia/iasl/dsdtF0A.patch
# iasl -d DSDT.dat
Intel ACPI Component Architecture
AML Disassembler version 20061109 [Jan 14 2007]
...
Disassembly completed, written to "DSDT.dsl"
# patch -p0 < dsdtF0A.patch
# iasl DSDT.dsl
...
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 2153 Optimizations
# iasl -d DSDT.aml
...
Disassembly completed, written to "DSDT.dsl"
# iasl DSDT.dsl | head -n 20
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [Jan 14 2007]
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 [20061109]
Maximum error count (200) exceeded
DSDT.dsl 20: External (^^^C003.C005.C19C)
Error 4014 - From ACPI CA Subsystem ^ (AE_NOT_FOUND Failure from lookup %s
)
DSDT.dsl 22: Name (C000, Zero)
Error 4062 - ^ Object does not exist (C000)
DSDT.dsl 23: Processor (_PR.CPU0, 0x01, 0x080C5478, 0x06)
Error 4063 - ^ Object not found or not accessible from scope (_PR.CPU0)
DSDT.dsl 25: Name (C001, Zero)
--
mattia
:wq!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-27 13:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-26 4:20 acpidump vs tiger2 Len Brown
2007-01-26 4:20 ` Len Brown
2007-01-27 13:11 ` Mattia Dongili
2007-01-27 13:11 ` Mattia Dongili
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.