From owner-freebsd-arm@freebsd.org Tue Jan 7 18:55:32 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38C931EFB40 for ; Tue, 7 Jan 2020 18:55:32 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47shQp3CCdz4TZr for ; Tue, 7 Jan 2020 18:55:29 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id 007It83J000638 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Jan 2020 05:55:14 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id 007It2bA004198 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Jan 2020 05:55:02 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id 007It2gf004197; Wed, 8 Jan 2020 05:55:02 +1100 (AEDT) (envelope-from peter) Date: Wed, 8 Jan 2020 05:55:02 +1100 From: Peter Jeremy To: Emmanuel Vadot Cc: qroxana , freebsd-arm Subject: Re: BPI M1 hangs at mounting root filesystem from SATA disk since r345948 Message-ID: <20200107185502.GA4040@server.rulingia.com> References: <20190525122158.cdc7c68fa30a6e02c70b0de4@bidouilliste.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20190525122158.cdc7c68fa30a6e02c70b0de4@bidouilliste.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47shQp3CCdz4TZr X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of peter@rulingia.com designates 2001:19f0:5801:ebe:5400:1ff:fe53:30fd as permitted sender) smtp.mailfrom=peter@rulingia.com X-Spamd-Result: default: False [-7.60 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; IP_SCORE(-3.20)[ip: (-9.67), ipnet: 2001:19f0:5800::/38(-4.84), asn: 20473(-1.43), country: US(-0.05)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[rulingia.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; FREEMAIL_CC(0.00)[mail.ru]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2020 18:55:32 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (To be precise, the BPi powers itself down, it doesn't hang). On 2019-May-25 12:21:58 +0200, Emmanuel Vadot wrote: >On Fri, 24 May 2019 10:32:11 +0000 >qroxana via freebsd-arm wrote: > >>=20 >> Here's the boot message of r345948: >>=20 >> ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) >> ada0: Command Queueing enabled >> ada0: 76319MB (156301488 512 byte sectors) >> GEOM: new disk ada0 >> mmc0: Card at relative address 0x1234 added: >> mmc0: card: SDHC SA08G 2.1 SN 44E37D57 MFG 11/2015 by 2 TM >> mmc0: quirks: 0 >> mmc0: bus: 4bit, 50MHz (high speed timing) >> mmc0: memory: 15196160 blocks, erase sector 8192 blocks >> mmc0: setting transfer rate to 50.000MHz (high speed timing) >> mmcsd0: 8GB at mmc0 50.= 0MHz/4bit/32768-block >> Release APs >> CPU(1) applied BP hardening: not necessary >> arc4random: no preloaded entropy cache >> regulator: shutting down vcc3v0 >> Trying to mount root from ufs:/dev/label/root [rw]... >> regulator: shutting down vcc3v3 >> regulator: shutting down vcc5v0 >> regulator: shutting down ldo3 >>=20 >> r345947 boots fine. > > That doesn't make much sense to me ... It doesn't make any sense to me either but I get exactly the same problem booting FreeBSD-12.1-RELEASE-arm-armv7-BANANAPI.img.xz (r354233) on a BPi-M1. hw.regulator.disable_unused=3D0 makes it work and I'm currently building a new world (which will take some time). --=20 Peter Jeremy --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl4U1AFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzTv9w//YQHZ5w3+1mUtBaem8Spji7OIUn/pQkYBxPwjI3HXw9OXWNPtkNnMch8T A+xDLCKs8dUOgqHMbgUBxNU8iXJk6dgYqPZyvdpfhqljVu2z4kI/gMn/dvMj/uuO tgEsOH6qdnLFe3pEd6VZd3dPEpKF/xd/nqPqwWFjhTxD9X1nVdATqOsmXL3wTkGk Hj1Si9W9TJJJXgSd/JSTZgx6RDWhS7sKZVZJLLPbP3uqYgbeqc5yzNcyC2+rV/93 O3+AO+XRQwoJ0Y5WPegERQMUfcuzZ+iYS8TUjWF87PIWY9a15Zg+OczJX9DmHFJ6 2M0m8t38QG3eKpN1gUcxAM3zl45QJlDZNPTrvrbhid8FjamnX7OeAhyWHQYJ3KuI QUcF0tbK9yjXtQh6nUW0CFBJnX7xm7W/kSIDTWV9E1WfJc//6qngyjjATrhEf3Sk d0hXrZA2ZFAOIPctm1HFhrQalUUGDfgjn40tpQysWBUOh5j6cqMqMo77iJO4GxfW CgGIht/APoob5NMpLccgDIMgLuXoDLdkkLVdS7y1tmOaYD6PGAydNZHKz2HIPTgG /cuOFmUkAdEpWWkp29xO2A8FPb96hRKMh6IQwIQZxR2RGTKIeeja4niDUlZK1MWX 1oXyaRCQbXByRw5OvCa87jhBXU5ZITU4jhzoBqnV6pCLIcYFdgo= =uRzA -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--