Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 15:13:28 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        "freebsd-acpi@FreeBSD.org" <freebsd-acpi@FreeBSD.org>
Subject:   IASL complains about he same error in two different UEFI firmwares
Message-ID:  <20140923151328.71e24dd0.ohartman@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
--Sig_/OyoavfpHYASXTlLNO77=EmY
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable


Trying to fix an GPU issue on a laptop, I followed the steps as described i=
n handbook,
chapter 12.17, debugging ASL/AML code.

I dumped on two different systems the ASL via

acpidump -dt as described and tried to recompile the result via iasl.


The outcome is a bit disturbing. IASL complains about the very same errors =
on two
diffrent systems.I'll show only one here, since the code block is identical.

System 1:  1

FreeBSD 11.0-CURRENT #2 r272016: Tue Sep 23 08:20:00 CEST 2014 amd64

VT: running with driver "vga".
CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (3300.10-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x306a9  Family=3D0x6  Model=3D0x3a  Steppi=
ng=3D9
  Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=3D0x3d9ae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3=
,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,TSCDLT,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=3D0x1<LAHF>
  Structured Extended Features=3D0x281<FSGSBASE,SMEP,ERMS>
  XSAVE Features=3D0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  =3D 17179869184 (16384 MB)
avail memory =3D 16286003200 (15531 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>



root@gate [~] iasl gate.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130823-64
Copyright (c) 2000 - 2013 Intel Corporation

Compiler aborting due to parser-detected syntax error(s)
gate.asl  12314:         Package (0x06)
Error    6126 -  syntax error ^=20

ASL Input:     gate.asl - 12334 lines, 366705 bytes, 4399 keywords

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

Code portion at line 12314:

[...]
        Package (0x06)
        {
            0x80000000,
            0x80000000,
            0x80000000,
            0x80000000,
            0x80000000,
            0x80000000
        }



System 2:

11.0-CURRENT #0 r272019: Tue Sep 23 09:38:59 CEST 2014 amd64


info: [drm] Initialized drm 1.1.0 20060810
CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (2494.28-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x306c3  Family=3D0x6  Model=3D0x3c  Steppi=
ng=3D3
  Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=3D0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3=
,<b11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAV=
E,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=3D0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=3D0x21<LAHF,ABM>
  Structured Extended Features=3D0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2=
,ERMS,INVPCID>
  XSAVE Features=3D0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  =3D 9636413440 (9190 MB)
avail memory =3D 8149209088 (7771 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <LENOVO TP-J9   >


root@hermann: [~] iasl lenovo.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130823-64
Copyright (c) 2000 - 2013 Intel Corporation

Compiler aborting due to parser-detected syntax error(s)
lenovo.asl  18919:         Package (0x06)
Error    6126 -    syntax error ^=20

ASL Input:     lenovo.asl - 18939 lines, 634937 bytes, 7991 keywords

Compilation complete.=20

[...]
        Package (0x06)
        {
            0x80000000,
            0x80000000,
            0x80000000,
            0x80000000,
            0x80000000,
            0x80000000
        }
1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

--Sig_/OyoavfpHYASXTlLNO77=EmY
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUIXH/AAoJEOgBcD7A/5N8J24H/Rhv328Gltb6lY+k6e5qVlr8
430b5WfExvyxTQYxTVMhtQMcVygequidnnXtS6AdYtVPC5XaH/2NBA0cd3Uzla8E
VxvvY8pdErzeFk2UHimMnjZ7AEq+UaLr9Ty8z30eZ644pl4Hm/g9wOhIVLsQ4bKi
YoFmLPuN8gGy9Wc8sXg9iCIwmGp/v0DGVplOR7uzHQXIHvZ2j2Lt8kRaeKr71pVE
3po1lb0AgYRLeynaLFIVhDe9TQcF0e0YL7JkqlQoWBUwXye1W9rKzRnkJkQurcXH
AtK/tvJSqdYanBz9ckv8oaZKgetRYIv2Y21KP5eIKzAgv4Or1VHkUVam29EQjRo=
=aJ9o
-----END PGP SIGNATURE-----

--Sig_/OyoavfpHYASXTlLNO77=EmY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140923151328.71e24dd0.ohartman>