Date: Wed, 12 Jul 2000 17:35:46 -0400 From: lambert@cswnet.com To: freebsd-stable@freebsd.org Subject: buildkernel installkernel Message-ID: <200007122236.RAA72044@troi.csw.net>
next in thread | raw e-mail | index | archive | help
(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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007122236.RAA72044>