Buggy ACPI BIOS

From: Panagiotis Astithas <past_at_noc.ntua.gr>
Date: Wed, 24 Mar 2004 13:29:24 +0200
Hello people,

I seem to be stuck with this no-name desktop PC that has a buggy ACPI 
BIOS from Award. Although 5.2.1 runs fine on it (after disabling APIC), 
I get the following output from iasl:


hal% iasl past-Award.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030619 [Feb 23 2004]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

past-Award.asl   412:     Method (\_WAK, 1, NotSerialized)
Warning  2026 -                       ^ Reserved method must return a 
value (_WAK)

past-Award.asl   450:             Store (Local0, Local0)
Error    1013 -                               ^ Method local variable is 
not initialized (Local0)

past-Award.asl   458:             Store (Local0, Local0)
Error    1013 -                               ^ Method local variable is 
not initialized (Local0)

past-Award.asl  1393:                         Store (Local0, Local0)
Error    1013 -  Method local variable is not initialized ^  (Local0)

past-Award.asl  1398:                         Store (Local0, Local0)
Error    1013 -  Method local variable is not initialized ^  (Local0)

past-Award.asl  1403:                         Store (Local0, Local0)
Error    1013 -  Method local variable is not initialized ^  (Local0)

past-Award.asl  1854:                 Method (STM, 0, Serialized)
Warning  2019 -                                 ^ Not all control paths 
return a value (STM_)

ASL Input:  past-Award.asl - 4147 lines, 127364 bytes, 1810 keywords
Compilation complete. 5 Errors, 2 Warnings, 0 Remarks, 452 Optimizations


Can anyone suggest how to fix my ASL (see below)? These errors don't 
seem to be mentioned in the handbook section on ACPI. I have the 
following info in case it is useful:

hal% sysctl hw.acpi
hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 5
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 0
hw.acpi.reset_video: 1
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: 0
hw.acpi.cpu.cx_history: 2891836/0
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3107
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3932
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 4002
hw.acpi.thermal.tz0._ACx: 3932 -1 -1 -1 -1 -1 -1 -1 -1 -1


hal% uname -a
FreeBSD hal.noc.ntua.gr 5.2.1-SECURITY FreeBSD 5.2.1-SECURITY #0: Tue 
Mar 16 06:03:54 GMT 2004 
root_at_builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386


http://noc.ntua.gr/~past/freebsd/acpi/dmesg.txt
http://noc.ntua.gr/~past/freebsd/acpi/past-Award.asl


Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece
Received on Wed Mar 24 2004 - 02:29:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC