From nobody Fri May 13 11:23:03 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 BDE0E1ACFEDC for ; Fri, 13 May 2022 11:23:05 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L05qF0qFYz3mdN for ; Fri, 13 May 2022 11:23:05 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 24DBN3LV041912 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 13 May 2022 13:23:03 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1652440983; bh=tETXni52J5G8N+Ds5nkZe+sfNj+wPQIsqoIY4IEbaik=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=O5Y+DTxw8n5zv38hX2GP4iAoK/23LjSSGJYKqWXAT+OFkYIrVv6sdDMhpdwvC8Cwn jI/Rm6uq1nSqEINbGzpNT9RW6rdYLFQOKYOWspHiMa8M7eJJLVsjViuD3N9M/qWgHA IgzS6BpsL3yi7qU3yqTE1IojUXwr/cI7SzmeXS/I= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 24DBN3aX027636; Fri, 13 May 2022 13:23:03 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 24DBN39o027633; Fri, 13 May 2022 13:23:03 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Fri, 13 May 2022 13:23:03 +0200 (CEST) From: Wojciech Puchar To: Michael Wayne cc: freebsd-hackers@freebsd.org Subject: Re: Can not build kernel on 1GB VM *Solved* In-Reply-To: <20220509185840.GS72471@post.wayne47.com> Message-ID: <871914e1-c9d9-58c-fe4f-3175e6ed9e82@puchar.net> References: <20220415174953.GE13678@post.wayne47.com> <20220418173333.GC72471@post.wayne47.com> <20220420111229.36de494f@FreeBSD.org> <20220509164528.GO72471@post.wayne47.com> <20220509185840.GS72471@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; format=flowed X-Rspamd-Queue-Id: 4L05qF0qFYz3mdN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=O5Y+DTxw; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[puchar.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MLMMJ_DEST(0.00)[freebsd-hackers]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N >>>> 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. > > > > are you sure you are actually running out of swap?