Re: ACPI Regression in -CURRENT?

From: Stijn Hoop <stijn_at_win.tue.nl>
Date: Tue, 10 Jun 2003 15:58:56 +0200
Hi Thorsten,

On Tue, Jun 10, 2003 at 03:42:18PM +0200, Thorsten Greiner wrote:
> some time ago several people (including me) reported ACPI related problems
> on various Dell laptops resulting in error messages of the form
> 
>         ACPI-0293: *** Warning: Buffer created with zero length in AML
> 
> During the 5.1 release process these problems have been temporarily fixed.
> At least I have a 5.1-BETA kernel built on June 1st which does not exhibit
> these problems.
> 
> Today I tried a 5.1-CURRENT kernel and found that these problems have
> reappeared. This made me wonder wether this is an intended behaviour or a
> regression.

This is due to the Dell laptops having an invalid ACPI table in the BIOS.
The only way to avoid these messages is to tell FreeBSD ACPI to override
the vendor supplied table with a correct one.

Mark Santcroos developed a patch which worked on his C640 and my Inspiron
4150, which you can find attached. Here are the steps to use it:

# cd /usr/ports/devel/acpicatools && make install
# acpidump -o insp4150.dsdt > insp4150.asl
# iasl -d insp4150.dsdt
# patch -p0 < insp4150.patch
# iasl insp4150.dsl
# cp DSDT.aml /boot/acpi_dsdt.aml
# vi /boot/loader.conf

add the lines

acpi_dsdt_load="YES"
acpi_dsdt_name="/boot/acpi_dsdt.aml"

Then reboot.

You might need to improvise, and/or edit the patch headers to specify the file
to patch. I'm recalling this procedure from memory / older emails, but this
should be the gist of it.

HTH,

--Stijn

-- 
An Orb is for life, not just for Christmas.

Received on Tue Jun 10 2003 - 04:59:00 UTC

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