From nobody Mon Mar 25 07:51:46 2024 X-Original-To: freebsd-current@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 4V34rk6wJ0z5FZym; Mon, 25 Mar 2024 07:51:50 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from thyme.eden.le-Fay.ORG (THYME.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:107::10]) by mx1.freebsd.org (Postfix) with ESMTP id 4V34rj3jhsz4Yf8; Mon, 25 Mar 2024 07:51:49 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=thyme header.b=l+aaxptn; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::10 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (IRIS.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::6]) by thyme.eden.le-Fay.ORG (Postfix) with ESMTP id 6922E72; Mon, 25 Mar 2024 07:51:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1711353105; bh=JaeayH90YSJ7HlSiF+afrKMNoK6DHoUj2SJvgAu8gTY=; h=Date:From:To:Subject:References:In-Reply-To; b=l+aaxptnxKWwIHj+XWYcYRdlUFnj3ROlBYkkqRnC1pvT4CSNuvmG0TdT6jZS7Wwfn hjl9zef1iXOhffQkTCG4C/AtW9qd/Ls4ViMxH76eIA7uRzmjcSXaqG9nwWMaQo5HVJ eB3cjHp+B+tyaIS756hzzEYqPVFAZJKTol/6pAnA= Received: from ilythia.eden.le-fay.org (ILYTHIA.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 863AE2C0418; Mon, 25 Mar 2024 07:51:46 +0000 (GMT) Date: Mon, 25 Mar 2024 07:51:46 +0000 From: Lexi Winter To: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: after trivial update, 15.0 ARM64 system no longer boots Message-ID: Mail-Followup-To: freebsd-arm@freebsd.org, freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jiWxeC+e7eKwX/aI" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=thyme]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::10]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2001:8b0:aab5:107::10:from]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org,freebsd-current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4V34rj3jhsz4Yf8 --jiWxeC+e7eKwX/aI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Lexi Winter: > i am not really an expert on either ARM64 in general or on the RPi > hardware in particular. could anyone suggest how i could debug this > problem, e.g. to get more information about why the system won't finish > booting? i dug into this a bit more, and to answer my own question: - the boot failure that prompted the question appears to be a bug related to mmc, i reported it as PR 277884 [0]. - part of the problem, that i realise i forgot to mention in my initial post, was that my USB keyboard wouldn't work, so i couldn't interrupt the loader to use boot -v / -s / etc. or to access kdb. this turned out to be an issue with the keyboard itself - a different keyboard worked fine. the keyboard *does* work fine in FreeBSD once it's booted, which is odd; it's some $5 Amazon special, so i assume it just implements USB badly. - even with the working keyboard, ctrl+alt+esc doesn't seem to work to break into kdb when the problem occurs. i'm not sure if i'm doing something wrong here or that key sequence doesn't work over USB, so i wanted to try it via a serial console instead, which led to... - i played around with USB OTG a bit to see if i could get a serial console that way. FreeBSD does support serial over the OTG port (via the USB-C 'power' connector) and it works as a terminal in /etc/ttys, but neither U-Boot nor FreeBSD seem to be able to use it as a system console, which is a bit disappointing. it would be nice if there was a way to get this working, because a serial console over USB would be very handy for working with these devices. - in the mean time, i ordered a DB-9 serial HAT that connects to the UART to debug this and future issues. once that arrives i can hopefully get some more info on the original problem. regards, lexi. [0] "RPi4: mmc broken with GENERIC-NODEBUG": https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277884 --jiWxeC+e7eKwX/aI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYBLQ8ACgkQDHqbqZ41 x5kZbQv/cKotFS2k/fmGQbsAExgyRjNEgQzTtJaBCI+9vCD+sUHWsAN3e/x97ocy cY2xo3GRbQmczUgmGe3mezpzUx+nP8l3OVCaUbNqJG9oUmYugJw3zqbnKjxB3kB3 Rh3XTkZCiRq4z7rDDR8VHlT4X9Wj8BBkzbwaLDhLQL2e2imCTdCBZlAU+dO3Sqq5 C5efssUIJGoi9Olb6x+UYvOkEK7Nc+s/+OR8o6ck72lMwEp4EgpJJ448UbFszUyw N8RXfluZHwgicnb4UUXokZ3CZh6g1i/ne5HCvH6TJS/cU1wzYxY4OC7iqvJHuUR2 jo75UHyCFNxKqfApQ+NWd1fIRjlIZK6Vhjt/1+8YuORVayypATysEJ+3fMG/qYUg WDkK6q3UzE3TlDEYAlACSDoyzvRboF082/333UA9rEdDEc/3zbRMoEgcE7LZvP9l y9slzB/Hztno7DjwFIJrIQcLjQQM97xOP4TGle6Fdosc/V7v5d++aIuXNcHnyNfR hFk/x6Yf =Avvt -----END PGP SIGNATURE----- --jiWxeC+e7eKwX/aI--