From nobody Mon May 9 18:58:40 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 25C421ABA4FA for ; Mon, 9 May 2022 18:58:42 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "post.wayne47.com", Issuer "post.wayne47.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kxr6n2PZ4z3kCb for ; Mon, 9 May 2022 18:58:41 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) by post.wayne47.com (8.15.2/8.15.2) with ESMTPS id 249Iweo9006177 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 9 May 2022 14:58:40 -0400 (EDT) (envelope-from wayne@post.wayne47.com) Received: (from wayne@localhost) by post.wayne47.com (8.15.2/8.15.2/Submit) id 249IweJi006176 for freebsd-hackers@freebsd.org; Mon, 9 May 2022 14:58:40 -0400 (EDT) (envelope-from wayne) Date: Mon, 9 May 2022 14:58:40 -0400 From: Michael Wayne To: freebsd-hackers@freebsd.org Subject: Re: Can not build kernel on 1GB VM *Solved* Message-ID: <20220509185840.GS72471@post.wayne47.com> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20220415174953.GE13678@post.wayne47.com> <20220418173333.GC72471@post.wayne47.com> <20220420111229.36de494f@FreeBSD.org> <20220509164528.GO72471@post.wayne47.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220509164528.GO72471@post.wayne47.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 4Kxr6n2PZ4z3kCb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wayne@post.wayne47.com designates 198.11.56.11 as permitted sender) smtp.mailfrom=wayne@post.wayne47.com X-Spamd-Result: default: False [-2.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.11.56.11:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[wayne47.com]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-hackers]; FORGED_SENDER(0.30)[freebsd07@wayne47.com,wayne@post.wayne47.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2015, ipnet:198.11.56.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[freebsd07@wayne47.com,wayne@post.wayne47.com]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, May 09, 2022 at 12:45:28PM -0400, Michael Wayne wrote: > On Wed, Apr 20, 2022 at 11:12:29AM +0200, T??l Coosemans wrote: > > On Mon, 18 Apr 2022 13:33:33 -0400 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. > > > > If so, can you try the attached patch? It prevents background Tried the patch. Still ran out of swap.