From owner-freebsd-current Sun Feb 23 11:54:26 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AA4937B438; Sun, 23 Feb 2003 11:54:24 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5579B43FA3; Sun, 23 Feb 2003 11:54:23 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0262.cvx21-bradley.dialup.earthlink.net ([209.179.193.7] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18n2Cc-0005Xt-00; Sun, 23 Feb 2003 11:54:23 -0800 Message-ID: <3E592699.1FBE4A6C@mindspring.com> Date: Sun, 23 Feb 2003 11:52:57 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Ruslan Ermilov Cc: Sergey Matveychuk , freebsd-current@FreeBSD.ORG Subject: Re: ACPI References: <000501c2db11$8a869d00$0982763e@semhome> <3E588954.D21FF456@mindspring.com> <000d01c2db3a$b4be6d40$0a2da8c0@sem> <20030223193229.GC42904@sunbay.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a43118bec1cfee21b51a405ac541035416a7ce0e8f8d31aa3f350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov wrote: > On Sun, Feb 23, 2003 at 03:54:30PM +0300, Sergey Matveychuk wrote: > > > That's saying the acpi.ko module was not built and installed. > > > > > > When you install your new kernel, use the Makefile target, instead > > > of using "cp", or it won't install the modules it builds. > > > > > > If you did this, then check your make.conf to see if you are > > > specifically telling it to not build modules, or only telling it > > > to build specific modules, etc.. > > > > I build modules with buildworld and install it with installworld. No "cp". > > All modules installed well. I'll check acpi.ko. > > > MODULES_WITH_WORLD causes modules to be installed during installworld. > But when you later do installkernel, it renames /boot/kernel to > /boot/kernel.old, so all your modules end up there. Don't use > MODULES_WITH_WORLD, or use ``make reinstallkernel'' which is safe > for MODULES_WITH_WORLD environment. This only works for a new kernel where the modules you have are binary compatible with both it and the old kernel. In reality, you probably *want* the old modules under kernel.old, and *entirely new* modules under kernel, to go with the new kernel. Otherwise you end up with kernel.old with old kernel and new modules, or kernel.old with old kernel and old modules, but you never get new kernel with new modules. In other words: don't use MODULES_WITH_WORLD, it's a bad idea. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message