Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 22:42:10 +0000
From:      Peter Harrison <peter.piggybox@virgin.net>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        acpi@freebsd.org, Peter Harrison <peter.piggybox@virgin.net>
Subject:   Re: Problem installing patched acpi...
Message-ID:  <20100120224210.GA92917@ideapad.piggybox>
In-Reply-To: <4B57136C.3040803@icyb.net.ua>
References:  <20100119202320.GA1311@ideapad.piggybox> <4B57136C.3040803@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Wednesday, 20 January 2010 at 16:30:04 +0200, Andriy Gapon said:
> on 19/01/2010 22:23 Peter Harrison said the following:
> > Hi list,
> > 
> > I'm running FreeBSD on a Lenovo S10e - successfully in the main on 7.2-RELEASE.
> > The biggest issue was with the acpi, where it spams /var/log/messages
> > continually (ie. several times a second):
> > 
> > Jan 19 20:14:32 ideapad kernel: ACPI Error (psparse-0633): Method
> > parse/execution failed [\_TZ_.TZ00._TMP] (Node 0xc46c39a0), AE_NOT_EXIST Jan 19
> > 20:14:42 ideapad kernel: ACPI Error: No handler for Region [ERAM] (0xc46c5780)
> > [EmbeddedControl] 20090521 evregion-430 Jan 19 20:14:42 ideapad kernel: ACPI
> > Error: Region EmbeddedControl(3) has no handler 20090521 exfldio-382 Jan 19
> > 20:14:42 ideapad kernel: ACPI Error (psparse-0633): Method parse/execution
> > failed [\_TZ_.TZ00._TMP] (Node 0xc46c39a0), AE_NOT_EXIST
> > 
> > David Naylor on this list gave me the attached patch for acpi_ec.c which worked
> > around this on 7.2-R, and which he told me applied OK to the then 8-CURRENT
> > too.
> > 
> > I've now moved to 8.0-RELEASE and the patch still applies cleanly (cd
> > /usr/src/sys/dev/acpica && patch < ~/acpi_ec.c.diff).
> > 
> > I can then rebuild acpi.ko (make clean; make depend; make; make install)
> > successfully.
> > 
> > But it seems not to be included on boot - ie. I don't get the new sysctls and I
> > still get the acpi errors in /var/log/messages.
> > 
> > What's changed in 8? Can anyone offer me some advice on how to resolve this?
> > 
> > Please copy me in as I'm not subscribed, and thanks for your help.
> 
> Please check if you have 'device acpi' in your kernel config.
> Is you platform i386? Do you use GENERIC?  If yes and yes, then acpi was included
> into kernel between 7 and 8.  So you would need to rebuild+reinstall the kernel.

Thanks Andriy. I've rebuilt my kernel, and it's working now. Is there anyway I can keep GENERIC but install acpi as a module? Rebuilding the kernel isn't really what an atom based netbook was built for!

Thanks for your help.


Peter Harrison


> 
> -- 
> Andriy Gapon



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