[regression]: acpi_aiboost fails to attach on Asus P5Q3 Deluxe in 8.0 (Was: [regression] : 8.0-BETA3 (and BETA2?) acpi_hpet0 fails on TYAN H2000M)

From: Olivier Smedts <olivier_at_gid0.org>
Date: Sat, 19 Sep 2009 19:09:19 +0200
2009/8/24 John Baldwin <jhb_at_freebsd.org>
>
> On Monday 24 August 2009 4:54:13 pm Olivier Smedts wrote:
> > 2009/8/24 John Baldwin <jhb_at_freebsd.org>:
> > > On Saturday 22 August 2009 1:20:18 pm Arno J. Klaassen wrote:
> > >>
> > >> Hello,
> > >>
> > >> I have a regression with acpi_hpet on a Tyan H2000M MB :
> > >>
> > >>   acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed03fff on
> acpi0
> > >>   acpi_hpet0: HPET never increments, disabling
> > >>   device_attach: acpi_hpet0 attach returned 6
> > >>   [twice]
> > >>
> > >> it exists at least since Aug16 sources (I just looked at
> > >> the 'netif' problems on this board which BTW are indeed fixed
> > >> by recent flowtable init changes)
> > >
> > > Perhaps the recent ACPI-CA update is when this broke?
> >
> > Sorry for hijacking the thread (and not reporting this before) but
> > maybe my issues with acpi_aiboost are related. It won't attach on my
> > ASUS P5Q3 Deluxe (latest BIOS) since the ACPICA update (which also
> > made "est" attach successfully on this ASUS board) :
> >
> > acpi_aiboost0: <ASUStek AIBOOSTER> on acpi0
> > NOREF
> > BAD DATA
> > device_attach: acpi_aiboost0 attach returned 22
>
> I would figure out what function in it's attach routine is failing with EINVAL
> and drill down from there.  It looks like it is dying trying to
> evaluate "TSIF", "VSIF", or "FSIF".  Maybe add some printfs to see which one
> and print out the 'elem->Type' in the "NOREF" error message.  You could also
> just print the 'name' there as well which would help perhaps.
>
> --
> John Baldwin

# svn diff ../../../dev/acpi_support/acpi_aiboost.c
Index: ../../../dev/acpi_support/acpi_aiboost.c
===================================================================
--- ../../../dev/acpi_support/acpi_aiboost.c    (révision 197329)
+++ ../../../dev/acpi_support/acpi_aiboost.c    (copie de travail)
_at__at_ -127,6 +127,7 _at__at_

        for(i = 1 ; i < o->Package.Count; i++){
                elem = &o->Package.Elements[i];
+               printf("%s : %i\n", name, elem->Type);
                if(elem->Type != ACPI_TYPE_ANY){
                        printf("NOREF\n");
                        goto error;

# dmesg | tail
acpi_aiboost0: <ASUStek AIBOOSTER> on acpi0
TSIF : 4
NOREF
BAD DATA
device_attach: acpi_aiboost0 attach returned 22

Well it fails trying to evaluate TSIF, with elem->Type = ACPI_TYPE_PACKAGE.

The ASL is in http://gid0.free.fr/ASUS-P5Q3_Deluxe_WiFi.asl

Can I provide something else ? (I'm not an expert...)

--
Olivier Smedts                                                 _
                                       ASCII ribbon campaign ( )
e-mail: olivier_at_gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

 "Il y a seulement 10 sortes de gens dans le monde :
 ceux qui comprennent le binaire,
 et ceux qui ne le comprennent pas."
Received on Sat Sep 19 2009 - 15:09:22 UTC

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