From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 03:29:34 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A684916A4CE for ; Wed, 24 Mar 2004 03:29:34 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE29B43D1D for ; Wed, 24 Mar 2004 03:29:33 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) i2OBTWo1054545; Wed, 24 Mar 2004 13:29:32 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i2OBTOT8008839; Wed, 24 Mar 2004 13:29:24 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <40617114.2070703@noc.ntua.gr> Date: Wed, 24 Mar 2004 13:29:24 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040313 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: FreeBSD Current , acpi-jp@jp.FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a Subject: Buggy ACPI BIOS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 11:29:34 -0000 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@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