From nobody Wed Sep 6 10:48:04 2023 X-Original-To: hackers@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 4RgfHR1Jp5z4s0WW for ; Wed, 6 Sep 2023 10:48:35 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [IPv6:2403:580d:bc41:0:225:90ff:fe47:39b4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "dons.net.au", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RgfHP6ctsz4KBT for ; Wed, 6 Sep 2023 10:48:33 +0000 (UTC) (envelope-from darius@dons.net.au) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple ([IPv6:2403:580d:bc41:0:4dc5:1570:2f8a:930a]) (authenticated bits=0) by midget.dons.net.au (8.17.2/8.17.1) with ESMTPSA id 386AmERd018963 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Sep 2023 20:18:14 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: Host [IPv6:2403:580d:bc41:0:4dc5:1570:2f8a:930a] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Trouble booting current on ARM From: "Daniel O'Connor" In-Reply-To: <8653BBBD-9EE5-4B53-ADB7-2BE5577BD819@chrisbowman.com> Date: Wed, 6 Sep 2023 20:18:04 +0930 Cc: hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <8653BBBD-9EE5-4B53-ADB7-2BE5577BD819@chrisbowman.com> To: Christopher Bowman X-Mailer: Apple Mail (2.3731.700.6) X-Spam-Status: No, score=0.40 X-Rspamd-Server: midget.dons.net.au X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800::/27, country:AU] X-Rspamd-Queue-Id: 4RgfHP6ctsz4KBT Hi Christopherm,, > On 6 Sep 2023, at 15:23, Christopher Bowman = wrote: >=20 > Apologies if this is a duplicate but I didn=E2=80=99t see this come = out on the list: >=20 > I=E2=80=99ve been using an Arty-Z7 from Diligent for several years = now. This is a AMD/Xilinx ZYNQ based board. It=E2=80=99s mostly = similar to a ZED board which has an in tree kernel config. It has = worked fine with 13.0. I=E2=80=99m now looking to mowe my work forward = and keep pace with the project. I=E2=80=99d like to eventually upgrade = to 14.0 when it comes out. In preparation I built a new release using = sources from after the 14.0 branch. I=E2=80=99m able to cross build = fine but when I boot the kernel I see the crash below, Has anyone seen = panic: Storing an invalid VFP state. Any information or ideas about = what might be happening before I try to debug? Any information at all = would be helpful. >=20 > Is anyone else running a Zynq based board of any kind with a recent = 14.0 or current kernel? I don't have any experience as yet but I do have a Zynq board I am = playing around with so your experience is interesting :) > panic: Storing an invalid VFP state Regarding the panic - it is only checked when INVARIANTS is on, so if = you previously had been using stable it would not be on by default. ie the problem may have always been present but masked. I would try #if'ing out the KASSERT in sys/arm64/arm64/vfp.c around line = 190 and see what else breaks. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum