From nobody Fri Jul 8 20:10:30 2022 X-Original-To: freebsd-arm@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 AA9E13E2CFF for ; Fri, 8 Jul 2022 20:10:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lfkt54jzMz3Ybd for ; Fri, 8 Jul 2022 20:10:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657311035; bh=e5WtYSSMXHVaCZaAEMqyZ2t38muodj57r57kSix/mho=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=efRD6fCaoiQGleNaWHs+auqqY3YnT1+aosAGs6Cm8xXiXjMETtnGd3GPuv8+mK+YkwURla/8P9cDBoYJn+vfHjM3U1xcnv4C07NDoAlwzYkCStCUM+SVUvzoBf0N2RBi1I1jHQy4us3pmTkxaftcTKdhAeq2DOAa41s1P//7L5Ir/pNS3CU9kwibByN9BbePDfLkiuuc5m3sadb0ce4ttO7OIxjFrfhDiqcvod3ETtRx5yfUryMsDkm0cB0h60ONbrL7NTT+hU0iDnQtWLPPy05AzO1UU+Ks1cYPncMN1z3hPkoUP0ZihjnhEfMEEnRROkXkPWOtmhCCG+dJ1LNCBw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657311035; bh=Zz90HbpYY+QGUZclcv0DKm2Td90I8zeWMXDPoh2Hyfe=; h=X-Sonic-MF:Subject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CXcwUguz4P450RuUx 5P03k7moCbrItGBE09_vIIC2O.2bTj1MUOexzaJvm8WgBtKNCCSYLmSoWgYSttjN2LTfxitV5beY 2JzbgckX5FrR6gO.Pw_2V7rmB8ORnuS.gvPkYvrImQf7ONst35gxzVrZvbCBTd1EV4e74cV0KO2d 6Iql9DUdDhCsWfMCOOKV49I1bRn2sSgULbWRPIgPfA1n0jBwXX9QsKkFKPhAEY.bRMLgZPlRBTQ8 wNB76P1aIXfv26KnP1b_Tpxh.XPSqAqwtML6h2mdz2e7FPAgm7Cmd2EzMF6PW1eStxsi0WvxuB8D up7s94oczzd175oGMd_vXkbHjZ2rjDX1mCJXMjgEeD7yzgtAmdbbEMHJe_wuA6q4Pq7r346gev7f hEORGRfa2STQdI7kTIPUBamKMuyb5gK07sRJn_UbGnQKHx_dU9ZxWGdUZey0x4ycqrMomlEG.zl_ WKb5eo5P8iGsxNI9388pltq4fbWM5wDmSG1_q0SZYIO44peeyB60vR2PdPhART21npyyljN8XgMo 0G0w- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Fri, 8 Jul 2022 20:10:35 +0000 Received: by hermes--production-gq1-56bb98dbc7-z59df (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f0932effc9e51e414cccb445a2cc0ce8; Fri, 08 Jul 2022 20:10:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Installing 13.1 ARM on SSD From: Mark Millard In-Reply-To: Date: Fri, 8 Jul 2022 13:10:30 -0700 Cc: "Wall, Stephen" , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1C93D01D-D316-496F-B1E0-B374C7E3CE88@yahoo.com> References: To: John Kennedy X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Lfkt54jzMz3Ybd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=efRD6fCa; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.206:from] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-8, at 12:15, John Kennedy wrote: > On Fri, Jul 08, 2022 at 06:26:59PM +0000, Wall, Stephen wrote: >> I tried something like this - I used rsync to replicate the SD card's = (mounted) msdos partition onto the SSD's (also mounted) efi partition. = That got past the firmware message, but then it stopped in the boot = loader asking for a partition to boot from. 'zfs:zroot/ROOT/default' = resulted in an unknown partition. >>=20 >> At the moment, I'm running with the SSD imaged from the FreeBSD RPI = .img file, and that is working, but it's UFS, not ZFS. I'll give your = steps a try, and if I get nowhere, I might wind up creating a UFS = partition for root and boot, and make the rest of the disk zfs with my = desired filesystems. >=20 > So, bsdinstall should have set that up (zroot/ROOT/default). =46rom = the > UFS disk, I think (off the top of my head) you can just do a "zfs = import > zroot" and then you should be able to see it (and everything else) = with > a: "zfs list -tall -r zroot" If you picked something other than = zroot > for the pool name, you might need to do some more tweaking. >=20 > In my case, my USB disk is only ~256G. "The Design and Implementation of the FreeBSD Operating System" says about ZFS (page 548): "Like all non-overwritingfile systems, ZFS operates best when at least a quarter of its disk pool is free. Write throughout becomes poor when the pool gets too full. By contrast, UFS can run well to 95 percent full and acceptably to 99 percent full." So, for a 256 GiByte USB disk used basically just as space for one ZFS area (so nearly all the 256 GiBytes is available), That would mean being careful to avoid having much less than 64 GiBytes free on the media: hopefully using less than 192 192 GiBytes of space at all times. > I don't know if uboot has any > BIOS limitations like old x86 did. I've never had to be too wary, but > then I've never had BIOS-breaking SSDs laying around to attach to RPI. >=20 > I think uboot has some commands that might let you do some zfs > exploration, but hate to point you at web resources because there = seems > to be a huge variations in what we end up with on FreeBSD/RPI. My RPI > is a few hours into a firefox rebuild so I can't give you some real > guidance from what I'm using at the moment. =3D=3D=3D Mark Millard marklmi at yahoo.com