Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2007 15:54:24 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        freebsd-current@freebsd.org, Erik Cederstrand <erik@cederstrand.dk>
Subject:   Re: acpi.ko not being built?
Message-ID:  <20071012115424.GB95338@team.vega.ru>
In-Reply-To: <20071012010208.GB9272@lor.one-eyed-alien.net>
References:  <470E8583.5060209@cederstrand.dk> <470EAF96.5050106@samsco.org> <20071012010208.GB9272@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org
FreeBSD committer



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