Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2009 19:09:19 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        John Baldwin <jhb@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   [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)
Message-ID:  <367b2c980909191009x1df7456bx10f97f25fc990a35@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
2009/8/24 John Baldwin <jhb@freebsd.org>
>
> On Monday 24 August 2009 4:54:13 pm Olivier Smedts wrote:
> > 2009/8/24 John Baldwin <jhb@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 :
> > >>
> > >> =A0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed0=
3fff on
> acpi0
> > >> =A0 acpi_hpet0: HPET never increments, disabling
> > >> =A0 device_attach: acpi_hpet0 attach returned 6
> > >> =A0 [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 E=
INVAL
> and drill down from there. =A0It looks like it is dying trying to
> evaluate "TSIF", "VSIF", or "FSIF". =A0Maybe add some printfs to see whic=
h one
> and print out the 'elem->Type' in the "NOREF" error message. =A0You 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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- ../../../dev/acpi_support/acpi_aiboost.c    (r=E9vision 197329)
+++ ../../../dev/acpi_support/acpi_aiboost.c    (copie de travail)
@@ -127,6 +127,7 @@

        for(i =3D 1 ; i < o->Package.Count; i++){
                elem =3D &o->Package.Elements[i];
+               printf("%s : %i\n", name, elem->Type);
                if(elem->Type !=3D 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 =3D ACPI_TYPE_PACKAG=
E.

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 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0ASCII ribbon campaign ( )
e-mail: olivier@gid0.org =A0 =A0 =A0 =A0- against HTML email & vCards =A0X
www: http://www.gid0.org =A0 =A0- against proprietary attachments / \

=A0"Il y a seulement 10 sortes de gens dans le monde :
=A0ceux qui comprennent le binaire,
=A0et ceux qui ne le comprennent pas."



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