From nobody Wed Jun 01 18:25:56 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 A5E631B68396 for ; Wed, 1 Jun 2022 18:26:08 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LCyJb3wSBz4RgN for ; Wed, 1 Jun 2022 18:26:07 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qv1-xf2a.google.com with SMTP id cv1so2048758qvb.5 for ; Wed, 01 Jun 2022 11:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=01sPpM56Ocoqx1kEax3KSUHGOioDIP6gFyUUq/AkSng=; b=bkIaa/NvCYgb0sg4+ywULhvKxMUffBlSwf3wlT6SP9knRwlRnm7l2vhUE+I8iPMfY7 7yg21LGgqysGD8R0JqbkcX2X7O40H6uzH3n6/MDsw300oXGXhwFkBYr20s+/0B18Ala6 v4erEEj/he9GesiLdhdybUn70Fp9lokQ23gpFJLie+GJ3woXr8zvpLTi/9eDQxMw6MPH MTfWiTNAK+o9UJAYYI15UjEsYbprELtsQhUUPX05S5GSNOJpCGUeAsQbvPlgBIk23soS 6a5p/dGtpD85OiwkAhN2O/HNvyuugIXTdngM6rzhsvTaOdPvG/GhJ4m3L9ZCP449Uqon ZRbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=01sPpM56Ocoqx1kEax3KSUHGOioDIP6gFyUUq/AkSng=; b=lSuwISldxk8DIrOpD1/uOT+7z7ZJldWgMD6zhvsiumOsMctR2rFsZzZQTjsgVLFB5f m2HQp/e5btkU43Cmix8vEqsKKVKKW+jXSHDoER2gJlkp/HNbjKPDOY9XuJMUv8r0CYVv NXzLgJdp4VbBJnD1DIczEmtO0OsRX/q+1NTz/1afsE70416gDu0W6yNSgpgZIAnB+Tns JuvDB7i7B0wApEzx9RGWxFcwu7DZ/HKfFdTlaVk5J7wnlRIsUjLMlUjLnF0GTJRAQCP2 pBmPslvyKcUsVX74b0Zt7BawszIUDV91DR5wfwU7onL1Qm4IBXNwVDjQnl+enLBNWYUu ezCg== X-Gm-Message-State: AOAM5318wq7ds2mlJyrxUrvyuQuvAm09G760zLCp6/FywLIeKSKj+9Mr 1dn0VOfVa7SFDc7vVmk7K38= X-Google-Smtp-Source: ABdhPJy9FSNliBSzR6MPOVRF4Jdc4eqa6zmD4qz0f8Gq+06XnRXi7wg88+wuIeuhjrsxUGwnMVhADQ== X-Received: by 2002:a05:6214:5002:b0:465:d376:1eb7 with SMTP id jo2-20020a056214500200b00465d3761eb7mr2692359qvb.129.1654107960218; Wed, 01 Jun 2022 11:26:00 -0700 (PDT) Received: from nuc (198-84-189-58.cpe.teksavvy.com. [198.84.189.58]) by smtp.gmail.com with ESMTPSA id g20-20020ac85814000000b002f3e153f47csm1741423qtg.0.2022.06.01.11.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:25:59 -0700 (PDT) Date: Wed, 1 Jun 2022 14:25:56 -0400 From: Mark Johnston To: Warner Losh Cc: Mark Millard , bob prohaska , "freebsd-arm@freebsd.org" Subject: Re: Mountroot problems on RPi3/aarch64 Message-ID: References: <20220601154142.GA41835@www.zefox.net> <5FA108CF-0973-4A53-A3B7-FA7BE41EB16D@yahoo.com> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4LCyJb3wSBz4RgN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="bkIaa/Nv"; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::f2a as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2a:from]; MLMMJ_DEST(0.00)[freebsd-arm]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[yahoo.com,www.zefox.net,freebsd.org]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, Jun 01, 2022 at 10:28:50AM -0600, Warner Losh wrote: > On Wed, Jun 1, 2022 at 10:17 AM Mark Millard wrote: > > > On 2022-Jun-1, at 08:41, bob prohaska wrote: > > > > > Since about 05/29 mountroot has been failing on a Pi3 self-hosting > > -current, > > > using a usb mechanical hard disk. > > > > > > Anybody else seen this sort of behavior? > > > > You do not report much context. FreeBSD version? UFS? ZFS? > > And so on. > > > > However, there has been today (for main): > > > > git: bc218d89200f - main - Two bug fixes to UFS/FFS superblock integrity > > checks when reading a superblock > > > > that is for fixing boot problems in UFS contexts. See: > > > > > > https://lists.freebsd.org/archives/dev-commits-src-main/2022-June/006977.html > > > > This is for fixes related to the 2022-May-27 change: > > > > • git: 076002f24d35 - main - Do comprehensive UFS/FFS superblock > > integrity checks when reading a superblock. Kirk McKusick > > > > I'd expect these to fix only the boot loader issues, not the mountroot > issues, but it wouldn't hurt to try... p3 is aarch64 which is UEFI which > had the right MAXPHYS in the boot loader... though since the change is in > the tree, it wouldn't hurt to try it... At least in my case (a filesystem created with makefs), one of the bugs fixed by that commit caused mountroot to fail, but the loader was fine.