From nobody Sat Jun 25 22:47:26 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 8D6C2864B81 for ; Sat, 25 Jun 2022 22:47:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (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 4LVpzG3qZ8z4b0j for ; Sat, 25 Jun 2022 22:47:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656197251; bh=ORQE5f7uQOS+Z1T9lUbA4qL5Efs7elB3aq987nrMmEE=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=TLasrRa+phJxVwViXF0Wd0nSRJeIiYQIKofgcW/V+uokb/Ivpx2yoez+lKxJJlcXBQemKhxGOA8ZKd17jOIZtkY9b+/UMq4KHQyaskbaPzo2HzTcb2ifGLZ15f7033uxp3DMkdckiNwp36J71LBIQBIIUZLSZKGxCdUvfl5lBMA198OFHeZBEOhszBIeLnK7aHT02FgQAsGHN/zKwUaGgU5fot8sXsn3UXr2R+UoYrznBbcAoAuINC7vLF5ZjSx8og88nFPSxJBPiWKrTd9UXPOvEvuZcxCPbvV6iPLFGmLMIomjm+4nyEd9aI+HOG5WhjYw/IXEsHCde047kUpf+w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656197251; bh=Lr1BY+f2SFylvyRaYoaqJ2zKVSbAMuxYmuIRKM+rJ4N=; h=X-Sonic-MF:From:Subject:Date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pBhwQMPqHieLFDcWijqnAJS.KV5lrNyw2dYcIygVgMUc F5KAkUbnnAVV0UJqNRdQPM9zYJInomrRuuq1y.Nh8y.09nz5CZ3oDHN1.51Ok0HssclRW2SKp_nj ooZ5VBuUU9ZTJxlJvqf5b53Ag.MMRJj2eJJ6VtInIvB3UcD9y4vNbNLsiJIcdpFywMOT1mJ0RyA0 ERF.zx10P3yY_gxySalKa3yYoxCByUjAugjkqxKRHN3uwUZmvGVrjSn3wQVo0xq04W2jZYlJGsBM F0Ofr9z7c4FQj.rqx8Zwjgf_Web_4jVPPMZ2blrmcA3RTVLAnicx0FTInpY2hNqdI_Op0XVoSSzu Xhz1v7JYUX.DA9QsJSl1ekEZ_IYTcIw2kxFAVtk0Po51KZLSas_e8kwo74XmTvkeKm2icuvCqArB DGFmCyWkA_sEJgb_1pRJqzOrR9ZivWgBzfq24zLvcI9DCXtJ58clCSj61qZqPWgpBKfe0iJrjj7v IeeIyce9ZK8VPIGRMijur7P9zd.2.g9NIiZsP5WcGAKoJPpDomqQQaKmUjfrvTR_BmQeZuf1sWr1 SNq52HO_m5uNJUJPlQeyvRFMDjZRPgNxlKlBo1sxn8UrqdSeK5oqg8OcHgxb0ujAlkHyYDnUxFN4 iaotBsrXZUnxD3_hAmQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sat, 25 Jun 2022 22:47:31 +0000 Received: by hermes--production-bf1-7f5f59bd5b-l2zks (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 971c72b051ac43ff188840143fb4a2d7; Sat, 25 Jun 2022 22:47:29 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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: git: 50dc4c7df415 - main - When a superblock integrity check fails, report the cause of the failure. Message-Id: <65CEBAEA-189F-467D-972F-4ADF45DAAEE7@yahoo.com> Date: Sat, 25 Jun 2022 15:47:26 -0700 Cc: Free BSD , dev-commits-src-main@freebsd.org To: "mckusick@freebsd.org" , bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) References: <65CEBAEA-189F-467D-972F-4ADF45DAAEE7.ref@yahoo.com> X-Rspamd-Queue-Id: 4LVpzG3qZ8z4b0j X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=TLasrRa+; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.94 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.47)[-0.471]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.84:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Kirk McKusick wrote on Date: Fri, 24 Jun 2022 00:40:20 UTC : > The branch main has been updated by mckusick: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D50dc4c7df4156863148e6a9609c03e85= 2e2aeb35 >=20 > commit 50dc4c7df4156863148e6a9609c03e852e2aeb35 > Author: Kirk McKusick > AuthorDate: 2022-06-24 00:39:05 +0000 > Commit: Kirk McKusick > CommitDate: 2022-06-24 00:39:53 +0000 >=20 > When a superblock integrity check fails, report the cause of the = failure. > =20 > No functional change intended. > =20 > MFC after: 1 month (with 076002f24d35) > Differential Revision: https://reviews.freebsd.org/D35219 . . . One of the people active on the freebsd-arm list (Bob Prohaska) has been reporting problems with UFS rejections and now that there are error messages for the superblock check failures, more can be seen after his update that includes those changes. (Note: Recently at least one of Bob P.'s list Emails seem not have shown up on freewbsd-arm but I'm getting copies from being explicitly listed. In this case the message made it to the list so I can refer to it.) https://lists.freebsd.org/archives/freebsd-arm/2022-June/001453.html reports now getting messages like: UFS2 superblock failed: fs->fs_csaddr (806456) !=3D cgdmin(fs, 0) (5056) UFS2 superblock failed: fs->fs_csaddr (806456) !=3D cgdmin(fs, 0) (5056) . . . (lots of them) . . . The more overall sequence, being: . . . Root mount waiting for: CAM da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number 12345678D558 da0: 40.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors) da0: quirks=3D0x2 UFS2 superblock failed: fs->fs_csaddr (806456) !=3D cgdmin(fs, 0) (5056) . . . UFS2 superblock failed: fs->fs_csaddr (806456) !=3D cgdmin(fs, 0) (5056) Mounting from ufs:/dev/da0s2a failed with error 22; retrying for 3 more = seconds UFS2 superblock failed: fs->fs_csaddr (806456) !=3D cgdmin(fs, 0) (5056) . . . UFS2 superblock failed: fs->fs_csaddr (806456) !=3D cgdmin(fs, 0) (5056) Mounting from ufs:/dev/da0s2a failed with error 22: Invalid fstype. Loader variables: vfs.root.mountfrom=3Dufs:/dev/da0s2a vfs.root.mountfrom.options=3Drw Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input Booting an older main-n255816-e26ef41f799 kernel (May 25 build date) stops in single user. I'll not repeat the details here but 4 of those messages occur before getting to the single user prompt. Exiting single user mode gets to multi-user. (I'll ignore the network connectivity issue that is mentioned, which, as I remember, predates this UFS rejection issues but is ongoing.) See the message referenced: https://lists.freebsd.org/archives/freebsd-arm/2022-June/001453.html for more. Bob would like to get back into a good state for his UFS partition. Such related notes might help others as well. =3D=3D=3D Mark Millard marklmi at yahoo.com