From owner-freebsd-stable Wed Jul 12 15:36:41 2000 Delivered-To: freebsd-stable@freebsd.org Received: from troi.csw.net (troi.csw.net [209.136.192.23]) by hub.freebsd.org (Postfix) with ESMTP id BA21337C26F for ; Wed, 12 Jul 2000 15:36:35 -0700 (PDT) (envelope-from lambert@cswnet.com) Received: from ssaos2 (ssaos2.csw.net [209.136.201.13]) by troi.csw.net (8.9.3/8.9.3) with SMTP id RAA72044 for ; Wed, 12 Jul 2000 17:36:30 -0500 (CDT) (envelope-from lambert@cswnet.com) Message-Id: <200007122236.RAA72044@troi.csw.net> From: lambert@cswnet.com Date: Wed, 12 Jul 2000 17:35:46 -0400 To: freebsd-stable@freebsd.org Subject: buildkernel installkernel X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v2.10a c10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (if you get two copies of this message, I sent it to freebsd.com by accident the first time. I don't know if they are connected) Do I have to build the modules everytime I want to install a kernel? I have been building several kernels on my build machine in preparation for my upgrade-a-thon tonight. Now I wonder if I've been wasting my time. I decided it would be a good idea to have a new GENERIC around. So I built GENERIC (without rebuilding the modules) and tried to install it. The command used for building GENERIC was : make buildkernel -DNO_MODULES KERNEL=GENERIC which completed successfully. Running : make installkernel KERNEL=GENERIC fails with the following messages. if [ -d /modules -a -n "`ls /modules`" ]; then mkdir -p /modules.old; cp -p /modules/* /modules.old; fi; cd /usr/src/sys/modules && env MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/ modules make install ===> aha install -C -c -o root -g wheel -m 555 aha.ko /modules install: aha.ko: No such file or directory *** Error code 71 Stop in /usr/src/sys/modules/aha. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have built and installed 6 kernels one at a time on this tree before I decided to be smart and not re-compile the modules every time I compile a kernel. Is this unsupported? The install options of -c is supposed to copy and not move the files it is installing. Shouldn't the modules still be around? Thanks again -- Scott Lambert lambert@cswnet.com Systems and Security Administrator CSW Net, Inc. ================================================================ Written: Wednesday, July 12, 2000 - 04:38 PM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message