From owner-freebsd-current@FreeBSD.ORG Fri Oct 12 12:25:31 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8978F16A41A for ; Fri, 12 Oct 2007 12:25:31 +0000 (UTC) (envelope-from prvs=0805a381f1=rermilov@team.vega.ru) Received: from mail.vega.ru (mx1.vega.ru [87.242.77.163]) by mx1.freebsd.org (Postfix) with ESMTP id 2550913C461 for ; Fri, 12 Oct 2007 12:25:30 +0000 (UTC) (envelope-from prvs=0805a381f1=rermilov@team.vega.ru) Received: from [87.242.97.68] (port=50732 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IgJ6Z-0002BI-Jr; Fri, 12 Oct 2007 11:54:59 +0000 Received: from edoofus.dev.vega.ru (localhost [127.0.0.1]) by edoofus.dev.vega.ru (8.14.1/8.14.1) with ESMTP id l9CBsOo2095468; Fri, 12 Oct 2007 15:54:24 +0400 (MSD) (envelope-from rermilov@team.vega.ru) Received: (from ru@localhost) by edoofus.dev.vega.ru (8.14.1/8.14.1/Submit) id l9CBsOS1095467; Fri, 12 Oct 2007 15:54:24 +0400 (MSD) (envelope-from rermilov@team.vega.ru) X-Authentication-Warning: edoofus.dev.vega.ru: ru set sender to rermilov@team.vega.ru using -f Date: Fri, 12 Oct 2007 15:54:24 +0400 From: Ruslan Ermilov To: freebsd-current@freebsd.org, Erik Cederstrand Message-ID: <20071012115424.GB95338@team.vega.ru> References: <470E8583.5060209@cederstrand.dk> <470EAF96.5050106@samsco.org> <20071012010208.GB9272@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071012010208.GB9272@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: acpi.ko not being built? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 12:25:31 -0000 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