Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2012 11:23:25 +0100
From:      Jakob Pedersen <jakobp78@gmail.com>
To:        freebsd-acpi@FreeBSD.org
Subject:   ACPI error caused by broken asl, how to fix?
Message-ID:  <CAEKTEhQOceKGd9vxFVZS743Fmj2gKGGFWYOeeZ83bDJxmpwCvg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello there,

I am running PCBSD 9.0 on a Packard Bell R1926 and having the following
problems:

- Suspend resume does put the machine asleep, but it doesn't resume.
- I am having strange issues with my wifi card, which disconnects if more
than 2 metres away from the router. Several linux distros seem to suggest a
general problem with wifi is caused by acpi problems (under linux either
WiFi works OR USB). My wifi card is RALINK rc61/R2561s using the ral0
driver. Full specs of the laptop can be found here:
http://dl.dropbox.com/u/7820484/PackardBell-R1926-bios-info.txt

For trouble shooting I extracted the ASL of the bios and recompiled it
using iasl. This gave the following error:

--------
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20110527-32
Copyright (c) 2000 - 2011 Intel Corporation

packardbell-r1926.asl   3565:                     Return (0x00)
Error    4080 -        Invalid object type for reserved name ^  (found
INTEGER, requires Buffer)

ASL Input:  packardbell-r1936.asl - 3577 lines, 109288 bytes, 1236 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 572 Optimizations
--------
The ASL can be found here:
http://dl.dropbox.com/u/7820484/packardbell-r1926.asl

I had a look at the ASL code and it appears to cause problems in ALKD as
mentioned in the dmesg:

-----------------
I am only pasting the ACPI specific errors; the full dmesg can be found
here: http://dl.dropbox.com/u/7820484/dmesg_packardBell-R1926.txt

real memory  = 536870912 (512 MB)
avail memory = 435400704 (415 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <INSYDE APIC_000>
ioapic0: Changing APIC ID to 2
ioapic0 <Version 0.3> irqs 0-23 on motherboard
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <INSYDE FACP_000> on motherboard
acpi0: Power Button (fixed)
can't fetch resources for \\_SB_.PCI0.ALKD - AE_AML_INVALID_RESOURCE_TYPE
ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl]
(20110527/evregion-421)
ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20110527/exfldio-310)
ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node
0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560)
ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0),
AE_NOT_EXIST (20110527/uteval-113)
ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl]
(20110527/evregion-421)
ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20110527/exfldio-310)
ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node
0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560)
ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0),
AE_NOT_EXIST (20110527/uteval-113)
ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl]
(20110527/evregion-421)
ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20110527/exfldio-310)
ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node
0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560)
ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0),
AE_NOT_EXIST (20110527/uteval-113)
ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl]
(20110527/evregion-421)
ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20110527/exfldio-310)
ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node
0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560)
ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0),
AE_NOT_EXIST (20110527/uteval-113)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1> port 0x62,0x66 on acpi0
pci_link11: Warning: possible resource 1 will be lost during _SRS
acpi_lid0: <Control Method Lid Switch> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff iomem 0xfff80000-0xffffffff
on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA PM800/PN800/PM880/PN880 host to PCI bridge> on hostb0
agp0: aperture size is 32M
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
-----------

I am quite new to all of this and I hope for assistance in fixing the error
in the asl, mentioned by iasl, as it seems to be that causing the problem.
This though goes way beyond my abilities. I hope I have provided sufficient
information.



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