From nobody Sat Oct 15 21:03:10 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 4MqbMD3Mv3z4fjv1 for ; Sat, 15 Oct 2022 21:03:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (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 4MqbMC4jS9z3CqL for ; Sat, 15 Oct 2022 21:03:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665867797; bh=hyq3+MPwjMvrL/IlIrnl8a7vKn/arrOXxGAGUYdrixc=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=YJsthstsyFTiMqJjq5Kdo5GqbV1KgPRvEpoqcoS4dYFvXweRw/LWqsLYpdl4dZMXGSr2oFYCp+FKaPUX1zLUYp9BCOob85QKZDSjgZl+vnZuS2OjuqGChtEP5BNZj+nx16dYqct7CsSuTJwnXT2Anlz582N7kXiKVGvi1uRqnNI2B/F5pjfjKgGTyfjEoeC4AnIUOEBiXPyhe+c4v8yiIn4f9T8F9mLWUYSBcfQHYEVI7P0/hzgD1JrEgBur8HL1Ih1ckM9bvYBAnIkfmyG0D4AeAcDdMC2/lB4/ASAfxqHJqHE95lZPGZuGm+3kWg/n9lanmLyaWbGHLKZATT/laQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665867797; bh=KvxOxCxGDiQRvdXNbA60vPxX8m6xIn62lXCRy5DWaLK=; h=X-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YGKXa20JXfYMa1b22PgU8Nyr4Tp2QMTYiCD uJ6G8Ajw2xaPikxa1zyMY2qcRq6.0wrC6azaQMP5jSRqCI_XHddTz_2y_7jjHKE0BTZylzr1fuNa Wxrl5hxy7fXWDa1tdb0cwN3lzLJkk1A91SXMt9VoxVynapFvWFQf.fTmPPVtX6I1zAd0E4fKe00n 9oJ90XG7Uk5VMAIhNNZ_wL4YEF6SkGIBcJaITFBnxc1IE7uSM4xxtjc7KYycAiDYGXm3wBnUEsHA zAKwtT8EZlAwjsPQ7KE1rY1ONXgqRF5j1_1rztnZbeY3td2M99svSb7KJfb4ZbUuByUpPJfbCFi5 ngJHumXkUR9I_HODGVjibC4NAzcszgLhTTLzs57lA4wM0nUXb_XvSQuC75ieazfwpugMcFyM14MS Jeb.ne68eorPSTKOhFXmLOK8YEVk1YUcgiLBOPA9lFayVKLsOK7AFm1VOXtbmubzwj8ThlcaN3Od 84S32ZUO9KgrzqTVVwiTPABNKITx_hkeXNikLWSrSYSpXCz1Xb6WGE9y7UQfD2jq8LqELDzOcrLx 2CEw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 15 Oct 2022 21:03:17 +0000 Received: by hermes--production-bf1-585bd66ffc-hkqwj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d6d9675b6f7addf3bd4681610f1501fc; Sat, 15 Oct 2022 21:03:12 +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 16.0 \(3696.120.41.1.1\)) Subject: FYI: Example mountroot time boot-success (da0) vs. "shutdown -r now" mountroot time failure (pass0 for some reason) Message-Id: <84A8686C-C7F3-4952-BF59-EAC0260D7403@yahoo.com> Date: Sat, 15 Oct 2022 14:03:10 -0700 Cc: Hans Petter Selasky To: freebsd-arm X-Mailer: Apple Mail (2.3696.120.41.1.1) References: <84A8686C-C7F3-4952-BF59-EAC0260D7403.ref@yahoo.com> X-Rspamd-Queue-Id: 4MqbMC4jS9z3CqL X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=YJsthsts; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.961]; NEURAL_HAM_LONG(-0.82)[-0.817]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N In the below, look for da0 vs. pass0 : da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number S5K5NJ0R108412D da0: 40.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors) da0: quirks=3D0x2 vs. pass0 at umass-sim0 bus 0 scbus0 target 0 lun 0 pass0: < > Fixed Processor SCSI device pass0: Serial Number S5K5NJ0R108412D pass0: 40.000MB/s transfers Mounting from ufs:/dev/gpt/BPIM3root failed with error 22; retrying for = 3 more seconds Mounting from ufs:/dev/gpt/BPIM3root failed with error 22: Invalid = fstype. =46rom ---<>--- to the above show no differences in the captured outputs, checked via a tool (BBEdit on macOS). But I show more context below anyway. Boot success: ---<>--- . . . (no differences) . . . usbus1: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0 on usbus1 uhub0: on usbus1 mmcsd0: 32GB at mmc0 = 50.0MHz/4bit/65535-block bcm2835_cpufreq0: ARM 900MHz, Core 250MHz, SDRAM 450MHz, Turbo ON Release APs Trying to mount root from ufs:/dev/gpt/BPIM3root []... uhub0: 1 port with 1 removable, self powered ugen1.2: at usbus1 uhub1 on uhub0 uhub1: = on usbus1 uhub1: MTT enabled Root mount waiting for: usbus1 CAM uhub1: 5 ports with 4 removable, self powered ugen1.3: at usbus1 smsc0 on uhub1 smsc0: on usbus1 smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 smscphy0: PHY 1 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on smsc0 ue0: Ethernet address: b8:27:eb:5e:35:df Root mount waiting for: CAM Root mount waiting for: CAM ugen1.4: at usbus1 umass0 on uhub1 umass0: on = usbus1 Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM 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 S5K5NJ0R108412D da0: 40.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors) da0: quirks=3D0x2 . . . "shutdown -r now" failure: ---<>--- . . . (no differences) . . . usbus1: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0 on usbus1 uhub0: on usbus1 mmcsd0: 32GB at mmc0 = 50.0MHz/4bit/65535-block bcm2835_cpufreq0: ARM 900MHz, Core 250MHz, SDRAM 450MHz, Turbo ON Release APs Trying to mount root from ufs:/dev/gpt/BPIM3root []... uhub0: 1 port with 1 removable, self powered ugen1.2: at usbus1 uhub1 on uhub0 uhub1: = on usbus1 uhub1: MTT enabled Root mount waiting for: usbus1 CAM uhub1: 5 ports with 4 removable, self powered ugen1.3: at usbus1 smsc0 on uhub1 smsc0: on usbus1 smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 smscphy0: PHY 1 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on smsc0 ue0: Ethernet address: b8:27:eb:5e:35:df Root mount waiting for: CAM Root mount waiting for: CAM ugen1.4: at usbus1 umass0 on uhub1 umass0: on = usbus1 Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM pass0 at umass-sim0 bus 0 scbus0 target 0 lun 0 pass0: < > Fixed Processor SCSI device pass0: Serial Number S5K5NJ0R108412D pass0: 40.000MB/s transfers Mounting from ufs:/dev/gpt/BPIM3root failed with error 22; retrying for = 3 more seconds Mounting from ufs:/dev/gpt/BPIM3root failed with error 22: Invalid = fstype. Loader variables: vfs.root.mountfrom=3Dufs:/dev/gpt/BPIM3root 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 mountroot> ? =20 FYI for the example, output line split for readability: # uname -apKU FreeBSD OPiP2E_RPI2v1p1 14.0-CURRENT FreeBSD 14.0-CURRENT #49 main-n258610-ba7319e9091b-dirty: Fri Oct 14 18:27:46 PDT 2022 = root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.a= rmv7/sys/GENERIC-NODBG-CA7 arm armv7 1400072 1400072 Notes: Technically, I strip an escape sequence that occurs a lot in one chunk of the captured text and strip carriage returns as well, to make the captures more readable before doing the comparison. The captures span back into the RPi* firmware output, not just the FreeBSD output. =3D=3D=3D Mark Millard marklmi at yahoo.com