Date: Thu, 9 Dec 2021 18:56:04 +1100 From: Peter Jeremy <peterj@freebsd.org> To: Emmanuel Vadot <manu@bidouilliste.com> Cc: marklmi@yahoo.com, Mark Millard via freebsd-current <freebsd-current@freebsd.org>, Free BSD <freebsd-arm@freebsd.org>, "wma@freebsd.org" <wma@freebsd.org> Subject: Re: Rock64 configuration fails to boot for main 22c4ab6cb015 but worked for main 06bd74e1e39c (Nov 21): e.MMC mishandled? Message-ID: <YbG2lL%2BLnxfKscCZ@server.rulingia.com> In-Reply-To: <20211209081930.7970b6995a8f7c5f7466227d@bidouilliste.com> References: <243CBFC7-DFB5-4F8B-A8A3-CFF78455148D.ref@yahoo.com> <243CBFC7-DFB5-4F8B-A8A3-CFF78455148D@yahoo.com> <20211209081930.7970b6995a8f7c5f7466227d@bidouilliste.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--J6+/LmI2UsdAzFcT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-Dec-09 08:19:30 +0100, Emmanuel Vadot <manu@bidouilliste.com> wrote: > > Hi Mark, > >On Wed, 8 Dec 2021 20:36:20 -0800 >Mark Millard via freebsd-current <freebsd-current@freebsd.org> wrote: > >> [ Note: wma@FreeBSD.org is only a guess, based on: >> https://lists.freebsd.org/archives/dev-commits-src-main/2021-December/00= 1931.html ] >>=20 >> Attempting to update to: >>=20 >> main-n251456-22c4ab6cb015-dirty: Tue Dec 7 19:38:53 PST 2021 >>=20 >> resulted in boot failure (showing some boot -v output): [hang just before root is mounted] > Could you try reverting=20 >8661e085fb953855dbc7059f21a64a05ae61b22c "mmc: Fix HS200/HS400 >capability check" and let me know ? I had exactly the same boot failure but was still working backwards through the root mount code trying to isolate the issue. Reverting 8661e085fb953855dbc7059f21a64a05ae61b22c solves the problem for me. I'd noticed the mmc1 difference and mmcsd1 error: mmc1: bus: 8bit, 200MHz (HS200 timing) mmc1: memory: 30310400 blocks, erase sector 1024 blocks <mmc1: setting transfer rate to 52.000MHz (high speed timing) <mmc1: setting bus width to 8 bits high speed timing >mmc1: setting transfer rate to 150.000MHz (HS200 timing) bud I didn't think it was the cause. I had tracked down that the hang was somewhere between https://cgit.freebsd.org/src/tree/sys/kern/vfs_mountroot.c#n779 and https://cgit.freebsd.org/src/tree/sys/kern/vfs_mountroot.c#n1008 which led me to suspect that the problem might be in the geom layer (eg g_waitidle()) but was still considering where to add my next tranche of printf's when I saw Mark's mail. --=20 Peter Jeremy --J6+/LmI2UsdAzFcT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmGxtotfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzRyaw/+O2tvQyhKuY1h8uEf9bI1ovNWl8g6tLm4cIMotRcsvcsfmi4HgCAxZqTJ 0FYhYvU/kIe+8zWnjHEaHhPnbUYKiy52NB+VAGI2hyGSrA/TGNaxQytrrw/2jIQ8 /IfyCeYjBZHEPlncl59PzjZe3EPyy4ALd8ucQbChCTbpB1CSXIXMKtshWKsdvSen a+vNsUP/W74LTQ7tA3mbP6KnpVJS1aTUSULC2CrpvBugCL+UBziY4bUqFEi1gSAX yZ2DfeUI2aYHJ2ax/HqHIeFjAMEP5RC29v6oKqfpA013TnKFQgSxwZxPet/cpmpu Xq+qwMnfOsq4J8wVmP79uIfgEWOCZWiORZcYhac/0zHwbJoZo39BWMqqNr8YB9ma 4b84QV+wPMyCsTFIjWG5St5d0TYD31/eaHxNv614FNSbZKY+Cycg+xTkIPZI0caB XIfDjDKggeApufKQ2kpzNMH0RmqXWnXaoVfIt7fByR33E4J2za0MDDWBqXS5OGHl CXXtvKGG5cHCDnITC8ljb4Ao8x/Rut3utktQVqtARNu9AwGRpej8VoUi+AbaL6FR xtYGfrAY5VPZ9fCfprc9U/9WeFQ7tA5EHqmj5EBFWzjECHzE8EPHGGutwexIsNPo fT1TQi426eFX+TNjylh8w3/oKuWw6NSrjw2UGfEXBdOX5qlBCfc= =8yfU -----END PGP SIGNATURE----- --J6+/LmI2UsdAzFcT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YbG2lL%2BLnxfKscCZ>