From nobody Wed Jul 06 01:24:12 2022 X-Original-To: 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 6F3451D143CB for ; Wed, 6 Jul 2022 01:24:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (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 4Ld1zY1ghyz3GFK for ; Wed, 6 Jul 2022 01:24:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657070658; bh=yP3FYcOH1jlQ4yDIuSfbj/vXLiMAF3Z1Rdyo7zJgDRs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ZYnfo1mkzeQcKNjpiZ5Ne/hK0Br4hgPwB6FtJEVZo0UwwKrQwMFBxGorkxh0yMJB6kIpqprvsIIBEHAU6HmyZcbMuCe7ssb8TX8SCR1bF1cUJ69xVUlzV6iTo1d7L8Y9/v6id5zMk8SBolj+NjnH8CjlsdVgUR3SwMOZp0AGeT+z+BWBOoD/TMTLByFoZpImWXUvQ+VqcE+LuuZ+DncwoCfiyvUCHwHiIOUcRDwjoEUj2gDvfStlM871YqSlmoSwBRZq7IhRIM9XpoTs7JqJEWPtTUyY/Wz0TFSr0c6Qwr7MwkdRxwsC00HQ4IsLUZlwISWU5mb5q3fddmB0rztN9w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657070658; bh=cmUsYM0VB6WUVs/MorW7eNiM8jlKiGB5jaMf1gfmpci=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v7CmKz4_rw62EvmlVddirSBLz8Jh9yXbqbWUqZ7FziqD0i kDKTXPVebg_GBYTU7rgQnQOan5XmxBxjoEjEVCRy8fFGUP3QSsGbOqW9tgqGxVgYQUa7rjSALCB3 zHNOKIJRmzCo5c6ZTMSWVNE2sSzKbq6aXWUl.u.83gCATboZPLdhDed4LOU_gmT.0ayxzyGqTpdt _x0FBN4zI.3KtiKSNdjXprDfQzJoo8vbo18vNAdD67MisvrS3TgL8ZiyFnIy1JiDc X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Wed, 6 Jul 2022 01:24:18 +0000 Received: by hermes--production-gq1-56bb98dbc7-fn7k9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID bd34fcce776c3ed5f64025b88287399b; Wed, 06 Jul 2022 01:24:13 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: I replicated "UFS2 superblock failed: fs->fs_csaddr (805328) != cgdmin(fs, 0) (5048)" style failure via main 9aa02d5120a (June 30, via snapshot) From: Mark Millard In-Reply-To: <562119CC-B142-493F-A7DF-F756A43F5358@yahoo.com> Date: Tue, 5 Jul 2022 18:24:12 -0700 Cc: bob prohaska , "freebsd-arm@freebsd.org" , freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: References: <859EFD2F-61CD-4A9D-8798-78FEAC7AAEF8.ref@yahoo.com> <859EFD2F-61CD-4A9D-8798-78FEAC7AAEF8@yahoo.com> <562119CC-B142-493F-A7DF-F756A43F5358@yahoo.com> To: "mckusick@freebsd.org" X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Ld1zY1ghyz3GFK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ZYnfo1mk; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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:+]; SUBJECT_HAS_EXCLAIM(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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(-1.00)[-1.000]; 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.64.146:from]; MLMMJ_DEST(0.00)[arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.146:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-5, at 18:19, Mark Millard wrote: > On 2022-Jul-5, at 15:59, Mark Millard wrote: >=20 >> I did a: >>=20 >> # dd = if=3DFreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220701-9aa02d5120a-256480.im= g of=3D/dev/da0 bs=3D1m conv=3Dsync status=3Dprogress >> 3113222144 bytes (3113 MB, 2969 MiB) transferred 13.064s, 238 MB/s >> 3072+0 records in >> 3072+0 records out >>=20 >> to an around 1 TiByte USB3 NVMe based drive: >>=20 >> usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage = device Samsung PSSD T7 Touch (0x04e8:0x4001) >> ugen1.5: at usbus1 >> umass0 on uhub4 >> umass0: on = usbus1 >> umass0: SCSI over Bulk-Only; quirks =3D 0x0100 >> umass0:6:0: Attached to scbus6 >> da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 >> da0: Fixed Direct Access SPC-4 SCSI device >> da0: Serial Number REDACTED >> da0: 400.000MB/s transfers >> da0: 953869MB (1953525168 512 byte sectors) >> da0: quirks=3D0x2 >>=20 >> On booting via the media the growfs happened but at its end was: >>=20 >> . . . >> 1947561600, 1948842048, 1950122496, 1951402944, 1952683392 >> UFS2 superblock failed: fs->fs_csaddr (805328) !=3D cgdmin(fs, 0) = (5048) >> UFS2 superblock failed: fs->fs_csaddr (805328) !=3D cgdmin(fs, 0) = (5048) >> Mounting local filesystems:. >> . . . >>=20 >> Unfortunately, >>=20 >> Thu, 30 Jun 2022 >> =E2=80=A2 git: 9aa02d5120ab - main - vmm: Fix snapshots for AMD = CPUs John Baldwin >>=20 >> is from after: >>=20 >> Tue, 28 Jun 2022 >> =E2=80=A2 git: 2049cc321815 - main - Correctly update fs_dsize = in growfs(8) Kirk McKusick >>=20 >> so there still is some form of error in the growfs >> activity. >>=20 >> At least there is now a known, specific way to produce the >> problem >>=20 >=20 > I tried different, smaller media: >=20 > usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage = device OWC Envoy Pro mini (0x1e91:0xa2a5) > ugen1.5: at usbus1 > umass0 on uhub4 > umass0: on = usbus1 > umass0: SCSI over Bulk-Only; quirks =3D 0x0100 > umass0:6:0: Attached to scbus6 > da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 > da0: Fixed Direct Access SPC-4 SCSI device > da0: Serial Number REDACTED > da0: 400.000MB/s transfers > da0: 228936MB (468862128 512 byte sectors) > da0: quirks=3D0x2 >=20 > I still got the problem. >=20 But the context was 13.1-RELEASE for this smaller media, instead of main, so the context predates the growfs change recently made in main [so: 14]. Thus, the details matter for if this newer failure was expected or not. I do not know. =3D=3D=3D Mark Millard marklmi at yahoo.com