Quantcast

ACPI error caused by broken asl, how to fix?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ACPI error caused by broken asl, how to fix?

Jakob Pedersen
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.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ACPI error caused by broken asl, how to fix?

John Baldwin
On Thursday, February 02, 2012 5:23:25 am Jakob Pedersen wrote:

> 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:

It's not trivial to fix this warning, but I also strongly doubt it will
do anything to help your wifi card.  If your wifi card works at all (gets
interrupts, etc.), then worrying about ALKD is just a red herring.  You
might ask on [hidden email] about debugging your wifi issues.

As far as suspend and resume, resume is not very easy to debug when it
doesn't work.  Does your screen come back at all if you resume or does it
just stay black?

--
John Baldwin
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: ACPI error caused by broken asl, how to fix?

Jakob Pedersen
In reply to this post by Jakob Pedersen
Hi John,

Thank you for your reply. The more I look the less confident I am that this will in fact fix my wifi, but if it does it is just an added bonus. I will submit a separate report to mobile@freebsd and focus on suspend/resume issues in this thread or at least a cleaner dmesg.

The laptop suspends, but screen remains black and I need to hold down the power button to cut power. When restarting it just does a normal boot, suggesting unclean shutdown.

-----Original Message-----
From: John Baldwin
Sent:  03/02/2012 2:42:58 pm
To: [hidden email]
Cc: Jakob Pedersen
Subject:  Re: ACPI error caused by broken asl, how to fix?

On Thursday, February 02, 2012 5:23:25 am Jakob Pedersen wrote:

> 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:

It's not trivial to fix this warning, but I also strongly doubt it will
do anything to help your wifi card.  If your wifi card works at all (gets
interrupts, etc.), then worrying about ALKD is just a red herring.  You
might ask on [hidden email] about debugging your wifi issues.

As far as suspend and resume, resume is not very easy to debug when it
doesn't work.  Does your screen come back at all if you resume or does it
just stay black?

--
John Baldwin

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ACPI error caused by broken asl, how to fix?

John Baldwin
On Friday, February 03, 2012 11:18:22 am [hidden email] wrote:
> Hi John,
>
> Thank you for your reply. The more I look the less confident I am that this will in fact fix my wifi, but if it does it is just an added bonus.
I will submit a separate report to mobile@freebsd and focus on suspend/resume issues in this thread or at least a cleaner dmesg.
>
> The laptop suspends, but screen remains black and I need to hold down the power button to cut power. When restarting it just does a normal boot,
suggesting unclean shutdown.

Ugh, that makes it a good bit harder to debug.  You can try removing as
many drivers from your kernel as you can while still having a functional
system (so no networking, etc.).  Then see if that can resume in single
user.  If it does, then you can start adding back in drivers to narrow
down one that causes the hang.  You can also try setting the
'hw.acpi.reset_video' sysctl to see if that helps your screen come back
on during resume.
 

> -----Original Message-----
> From: John Baldwin
> Sent:  03/02/2012 2:42:58 pm
> To: [hidden email]
> Cc: Jakob Pedersen
> Subject:  Re: ACPI error caused by broken asl, how to fix?
>
> On Thursday, February 02, 2012 5:23:25 am Jakob Pedersen wrote:
> > 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:
>
> It's not trivial to fix this warning, but I also strongly doubt it will
> do anything to help your wifi card.  If your wifi card works at all (gets
> interrupts, etc.), then worrying about ALKD is just a red herring.  You
> might ask on [hidden email] about debugging your wifi issues.
>
> As far as suspend and resume, resume is not very easy to debug when it
> doesn't work.  Does your screen come back at all if you resume or does it
> just stay black?
>
> --
> John Baldwin
>
>

--
John Baldwin
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[hidden email]"
Loading...