From nobody Sat Apr 08 00:54:20 2023 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 4PtcFn34NTz44QD9 for ; Sat, 8 Apr 2023 00:54:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (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 4PtcFn0cSHz4PVB for ; Sat, 8 Apr 2023 00:54:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1680915274; bh=F+OmS4W5USyK6nMfce8CTcjKjh4NTz/VHFOpywa14fg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=c66VA7s4wcRVS+ZD5TE8U8nN6Kp9HAgCr/20+wYX7KqEgnE5KUSi0HD+VLQNyV282L4bjNRY4LAXnXID8ot6+xgi4ZS1FA+7qg79UmnSghvCiNe5nRtmJBO+aS1jof+X4ZWiz0wYo3IrhEcfqmKJajt+70OFmTbY892INehYP+vxESN+H5TVsWGfzY0KEz0sGgzPh4sk3gHeuD7Zp0IZfj8ftIlT7eBXb31fvymdaJgwQPQtRGhy8hLfQzzzl+Xnnjr5PHPAXyx+Nec+W5lv6aI2mO+qZAxXPNGx1N9zPs6d6Fbxd7tM9YaSXV5+mb7BrsI2EL1zbD7eNIqmwdzGbg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1680915274; bh=IZZPEKI9Y0KE/Ssvnnc2O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VF8nO fQLXjgblyQ6ysJo.JtZWFA55THc6QEScqj.4rb0xsi_iRJ9PK0Zv31stHoXsL6TFt9FMukXgKuH3 pSed4MqWyAzwFDDili1WizphOz4h.toJv85goWXHWtteDN.qfHGVdpSWxpC7rN7p1xHz.ceTIDvS ktZEvx3ny_DSY4kBWtd.v5LDxfC7ZDcFnMbl3JNhCvv9Y7Yz2fYOOJ9g_fZ.olKNU4fwo_NR_6US vEFY30qr4stJZ1JZyYfJRHWFwY3qAtLvVsizBi0sx1wNdCQUjxZGxZt__A6YCaNe0HVO0loCCkvo QnUPUYdvC8mPR532oDhuQixt2Fv5q7e4gGwevmeyYRxNaMMwGBiYCypOYXacvJkY0TgaR6_HJ3xa GKr0kO94Xc.NVEpkhPjlCxKwtt.IfDBcdljjHSIFp1z5CsMvCmDuP2uMaDLnMiPHHl57BrI9WC9s kEyh9C1.erC15rGDcFvUAGPmpo0Ujec2yqPEl15_gYKbNlrTXZ0Md7eqUn.cGUmdMHgcVi29WWMB eOgiESFymKqi9eVR3CqTX.0TpcK0VDlU5ZYOy3.3wIwGdVdF5D8PNfLUJKUghnJP2yZvMPG.6.V5 qQisnt3lIgw-- X-Sonic-MF: X-Sonic-ID: 404c7eac-ecb2-4c2d-8a70-84a4179e81f7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 8 Apr 2023 00:54:34 +0000 Received: by hermes--production-gq1-546798879c-fmv8c (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 18097cc393a96639ce6a36d24932f6f8; Sat, 08 Apr 2023 00:54:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 \(3731.400.51.1.1\)) Subject: Re: git: 2a58b312b62f - main - zfs: merge openzfs/zfs@431083f75 [separate aarch64 panic for zpool import] From: Mark Millard In-Reply-To: Date: Fri, 7 Apr 2023 17:54:20 -0700 Cc: Mateusz Guzik , dev-commits-src-main@freebsd.org, Current FreeBSD , freebsd-arm , Kyle Evans Content-Transfer-Encoding: quoted-printable Message-Id: <7F98D9AD-CFD7-43EF-B48B-C1AEC14E407A@yahoo.com> References: <3A019D10-E520-4C11-AE9F-4EA5D99B9B07@yahoo.com> To: John F Carr X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4PtcFn0cSHz4PVB X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Apr 7, 2023, at 16:29, Kyle Evans wrote: > On Fri, Apr 7, 2023 at 4:54=E2=80=AFPM Mateusz Guzik = wrote: >>=20 >> On 4/7/23, Mark Millard wrote: >>> On Apr 7, 2023, at 14:26, Mateusz Guzik wrote: >>>=20 >>>> On 4/7/23, Mateusz Guzik wrote: >>>>> can you try with this: >>>>>=20 >>>>> diff --git >>>>> a/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.h >>>>> b/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.h >>>>> index 16276b08c759..e1bca9ef140a 100644 >>>>> --- = a/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.h >>>>> +++ = b/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.h >>>>> @@ -71,7 +71,7 @@ >>>>> #define ID_AA64PFR0_EL1 sys_reg(3, 0, 0, 1, 0) >>>>> #define ID_AA64ISAR0_EL1 sys_reg(3, 0, 0, 6, 0) >>>>>=20 >>>>> -#define kfpu_allowed() 1 >>>>> +#define kfpu_allowed() 0 >>>>> #define kfpu_begin() kernel_neon_begin() >>>>> #define kfpu_end() kernel_neon_end() >>>>> #define kfpu_init() (0) >>>>>=20 >>>>>=20 >>>>=20 >>>> ops, wrong file >>>>=20 >>>> diff --git = a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h >>>> b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h >>>> index 178fbc3b3c6e..c462220289d6 100644 >>>> --- a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h >>>> +++ b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h >>>> @@ -46,7 +46,7 @@ >>>> #include >>>> #include >>>>=20 >>>> -#define kfpu_allowed() 1 >>>> +#define kfpu_allowed() 0 >>>> #define kfpu_initialize(tsk) do {} while (0) >>>> #define kfpu_begin() do {} while (0) >>>> #define kfpu_end() do {} while (0) >>>=20 >>> It will take me a bit to setup a separate build/install >>> context for the source code vintage involved. Then more >>> time to do the build, install, and test. (I'm keeping >>> my normal environments completely before the mess.) >>>=20 >>> FYI: >>>=20 >>> I have used the artifact build just after your pair of zfs >>> related updates to confirm the VFP problem is still in >>> place as of that point: >>>=20 >>> = https://artifact.ci.freebsd.org/snapshot/main/5e2e3615d91f9c0c688987915ff5= c8de23c22bde/arm64/aarch64/kernel.txz >>>=20 >>> (No artifact build was exactly at either of your commits.) >>>=20 >>> =3D=3D=3D >>> Mark Millard >>> marklmi at yahoo.com >>>=20 >>>=20 >>=20 >> I have arm64 + zfs at $job and just verified the above lets it boot >> again, so I committed already. >>=20 >=20 > This was a known issue that we were working on fixing properly over in > https://reviews.freebsd.org/D39448... this really could have waited > just a little bit longer. This problem was already brought up in > response to the commit in question days ago. FYI: I substituted the aarch64 kernel from: = https://artifact.ci.freebsd.org/snapshot/main/d6e24901349dc34a2f8040d67730= eb2d510073ab/arm64/aarch64/kernel.txz into the 2023-Apr-06 aarch64 snapshot based media that I'd been testing with, rebooted, and tried the test. The result was good: # zpool import ZFS filesystem version: 5 ZFS storage pool version: features support (5000) The use of appropriate: = https://artifact.ci.freebsd.org/snapshot/main/d6e24901349dc34a2f8040d67730= eb2d510073ab/*/*/kernel*.txz may be a way to get to a more normal status for then making progress in a more normal manor, not just for aarch64 and armv7 since the earlier zfs-update fixup drafts are also in place at that point. Of course, one needs a way to make the substitutions of the kernel materials into whatever type of the boot media (UFS or ZFS) is in involved. =3D=3D=3D Mark Millard marklmi at yahoo.com