Problem installing patched acpi...
peter.piggybox at virgin.net
Wed Jan 20 22:43:11 UTC 2010
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.
> Andriy Gapon
More information about the freebsd-acpi