From owner-freebsd-arm@freebsd.org Fri Mar 6 06:57:30 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 896CC261249 for ; Fri, 6 Mar 2020 06:57:30 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Ydj438Zfz46wr for ; Fri, 6 Mar 2020 06:57:28 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 0266vj60019512 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 5 Mar 2020 22:57:46 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 0266vjLM019511; Thu, 5 Mar 2020 22:57:45 -0800 (PST) (envelope-from fbsd) Date: Thu, 5 Mar 2020 22:57:45 -0800 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: Adding a swap partition to the March 5 snapshot image Message-ID: <20200306065745.GA19280@www.zefox.net> References: <20200306045443.GA19058@www.zefox.net> <58BB6CC3-34C7-413F-9ED4-D84E63FBCD2D@yahoo.com> <5C66F8DD-F97B-4A44-8E84-1E48B920B8FA@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5C66F8DD-F97B-4A44-8E84-1E48B920B8FA@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 48Ydj438Zfz46wr X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.73)[-0.728,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.06)[ip: (0.24), ipnet: 50.1.16.0/20(0.12), asn: 7065(-0.03), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.91)[-0.906,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2020 06:57:30 -0000 On Thu, Mar 05, 2020 at 09:42:01PM -0800, Mark Millard wrote: > > > On 2020-Mar-5, at 21:26, Mark Millard wrote: > > > > > On 2020-Mar-5, at 20:54, bob prohaska wrote: > >> > >> I've been trying for a while to set up an armv7 RPI2 with a single > >> root partition plus a swap partition at the end of mmcsd0. Letting > >> firstboot invoke growfs seems not to help, since growfs leaves no > >> space for swap. > >> > >> Attempts using gpart in single-user give the appearance of > >> working, but on reboot the machine stops at the mountroot prompt. > >> This method worked well in July of 2018. Seemingly, no more. > >> > >> Has something changed? > >> > >> Mounting the armv7 card on a second Freebsd box and making the changes > >> appears to work also, but on the initial boot (firstboot disabled) the > >> machine stops at the mountroot prompt on initial boot. > >> > >> If there's a better way to pursue the same end I'd be grateful for > >> a hint. Perhaps giving a swap size parameter to firstboot? > > > > You have not reported what shows if you enter a "?" command at the > > mountroot prompt. (As I remember that lists what mount root > > classifies as available.) > > > > That might prove to be useful information. > > > > Ahh, "March 5 snapshot image"? The only head 20200305 images are > for amd64: everything else failed to build for head -r358658 . > > Are you using stable/12 images? Those built ( 12.1-STABLE -r358659 ), > including for RPI2. > FreeBSD-12.1-STABLE-arm-armv7-RPI2-20200305-r358659.img Same trouble with the Feb 27 image. > All stable/11 builds failed. > > (You seem to usually use head but did not comment on using > stable/12. So I'm just checking the context here.) > Only on the Pi3. My intent was to set up production 8-) machines on new media, which are early Pi2 v 1.1 boards. I'll repeat the exercise in the morning and try to keep a transcript. Thanks for replying! bob prohaska