Re: acpi.ko not being built?

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 12 Oct 2007 15:54:24 +0400
On Thu, Oct 11, 2007 at 08:02:08PM -0500, Brooks Davis wrote:
> On Thu, Oct 11, 2007 at 05:19:50PM -0600, Scott Long wrote:
> >  Erik Cederstrand wrote:
> > > Hi!
> > > I'm attempting to upgrade a server to amd64 CURRENT from an older snapshot. 
> > > I have "MODULES_OVERRIDE= acpi" in make.conf but apparently only the 
> > > acpi_*.ko files are being built, not acpi.ko itself. As a result, acpi.ko 
> > > is not being loaded on boot.
> > > This used to work on 6.2, so I'm not sure where to look. This happens on a 
> > > GENERIC kernel config. My src.conf has the following:
> > 
> >  Since ACPI is mandatory on amd64, it's included in GENERIC.  Not sure why it 
> >  wouldn't be building as a module for you, but if you're using an
> >  unmodified GENERIC then you're already getting it included.
> 
> When I looked earlier today it looks like the sys/modules/acpi Makefiles
> would just refuse if you tried.
> 
This is a (makefile-)documented bug:

.if ${MACHINE_ARCH} == "amd64"
_aac=           aac
#_acpi=         acpi            # doesn't work on amd64 yet

# acpi is not enabled because it is broken as a module on ia64


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer
Received on Fri Oct 12 2007 - 10:25:31 UTC

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