Date: Tue, 19 Apr 2022 10:05:49 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-hackers@freebsd.org Subject: Re: Can not build kernel on 1GB VM *Solved* Message-ID: <5d3fd21f-f831-5d8e-be79-1279122adce2@FreeBSD.org> In-Reply-To: <20220418173333.GC72471@post.wayne47.com> References: <20220415174953.GE13678@post.wayne47.com> <20220418173333.GC72471@post.wayne47.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-04-18 20:33, Michael Wayne wrote: > On Fri, Apr 15, 2022 at 01:49:53PM -0400, Michael Wayne wrote: >> I have a VM with 1GB RAM running FreeBSD 12.1-RELEASE-p3 >> >> I'm trying to upgrade the machine to 12.3 and having swap failures. > > I tried a number of things, all of which failed. > > Since the offending line is: > >> ctfmerge -L VERSION -g -o kernel.full ... > > I went digging through makefiles and found: > MK_CTF=no > > Adding this to the command line permitted the build to complete and > the machine is now running on the new kernel. Hopefully this helps > others. I'm still not sure why the kernel refused to use swap but > this is a very easy to duplicate issue. I think that the canonical way of achieving this is to remove or negate makeoptions WITH_CTF=1 in the kernel configuration. -- Andriy Gapon https://standforukraine.com https://razomforukraine.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d3fd21f-f831-5d8e-be79-1279122adce2>