From nobody Tue Apr 18 22:44:58 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 4Q1JsQ1wPxz45nCK for ; Tue, 18 Apr 2023 22:45:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 4Q1JsP1cCWz4PJW for ; Tue, 18 Apr 2023 22:45:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="L/iZZka4"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681857911; bh=zb1CLX72W4BX7jXcqBrl90RouD4bA19KhOtfFiy8a7w=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=L/iZZka4KSXLHlAQd0Y+ONQuv9aVTcKE74pZFNumjJdK3EbKgo9kYcuE2jAL/oLLgn5VMsw1dZ705HNLTzxhD7ahsWhrKVpwjY6dh0MtSNFpO4XRs8CVMmW/E+Glnq/mOxIEhWUnOlr8//ycOY/73uuPQrrSeCahUTnWC88ORqw1wD2K3iUr3UPkgE41fOhPdtOfnFG1dzBdFPBD2lRMHYi39aRSChD6fGrmeRsXw5jVIWPS9rWBBTWx7uEIWGR6vqPAp6wt+k9X8WWRqa5avdz01ViyNFg+bW2EFf9QmX080gZQ7uW9WvO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_tAuo7wFOmd6WN2lylX1pyDEuNjAIlbQfrdnx7WjnU_.2eVbi3DFk8o0eg0 uEHg4IVmPLyiz8ib54j6fW5y942D4w23FxEIl0DGwUO.VQsVJWqCM84S8toG8HnPOrQ7NvlY5Qn0 9gar6nfrhv14HRDbFOlyxVz2Ft7f2givw.QGAb_kUCBcSfIkf4hzd1Pzzo_p.veUbfPuxBssy8e8 3F81yAO6OQqMAvM5SwgID.QcElDTKnuNWhTfmqBNGpvvsp9GmtpVk0bMiN04LLK1Sva52sZEQKIz PUVnYaKq0YQbjd9ZCvHGVul0EF3AlF15wkLars7..ppgyCBMa_9wNm8PbX_uCZ2Fr.gBylnmKliy Oxb8ZaCUid7KOQpNjxns5VeS705jdPunG1U9qLYNvC7oxnc8NPt.RTzHQmT1o_r.K2pQ0QduAy34 YfTP9g_zYjkoGcoEoeSYD.PTiCnYWCyeLUSM4cJ99.viAQIixTOffFmI1ODAaPCH8i_KaJntxI2d PomZyAi9ysZep7GzFe7L9rAvw6714FOlIoFDR4oSNn_sZml388o2114hDIGIQzAmSkhTwwxavYxJ Bs.sHW5N9qV5X4k0ILOrbhRh0eIF2evZKpbPZOUm3wH.VI0m0UpdWE2XbXIGxI51I3TDCONSao9f 7wvDqqxozyEQtTiix1p1Z_R6jVhNpkhpfbxt_kABcJwrPmYwmDdSnJS5F0REs1uIdE6YbSL9XUFS v9p0_iDoGyQ-- X-Sonic-MF: X-Sonic-ID: 0410807c-5217-49a2-9aa7-6cbb42df9b8a Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 18 Apr 2023 22:45:11 +0000 Received: by hermes--production-bf1-5f9df5c5c4-84ds6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 50890fee8f614b27b29dded918684dd3; Tue, 18 Apr 2023 22:45:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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: The import of openzfs vs. armv7: boot crashs Message-Id: <6CB8D120-1600-40E6-8A1E-87E709DCEC8F@yahoo.com> Date: Tue, 18 Apr 2023 15:44:58 -0700 Cc: "mjg@freebsd.org" , "pjd@freebsd.org" , Kyle Evans To: Current FreeBSD , freebsd-arm X-Mailer: Apple Mail (2.3731.400.51.1.1) References: <6CB8D120-1600-40E6-8A1E-87E709DCEC8F.ref@yahoo.com> X-Spamd-Result: default: False [-3.45 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.949]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-Rspamd-Queue-Id: 4Q1JsP1cCWz4PJW X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N h= ttps://github.com/openzfs/zfs/commit/d0cbd9feaf5b82130f2e679256c71e0c7413a= ae9 does not seem to cover armv7, just aarch64. (FreeBSD disabled floating point for both armv7 and aarch64 but that is a different change than above.) I used: = FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230406-f21faa67ab6b-262010.img.= xz booted an RPi2B v1.1 and tried (note the KSTACK_PAGES notice and the "undefined floating point instruction" notice): # zpool import ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow = panic! Please consider adding 'options KSTACK_PAGES=3D4' to your kernel config panic: undefined floating point instruction in supervisor mode cpuid =3D 2 time =3D 1680784610 KDB: stack backtrace: db_trace_self() at db_trace_self pc =3D 0xc05eb154 lr =3D 0xc007a688 = (db_trace_self_wrapper+0x30) sp =3D 0xdd25c480 fp =3D 0xdd25c598 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc =3D 0xc007a688 lr =3D 0xc02eb1b4 (vpanic+0x140) sp =3D 0xdd25c5a0 fp =3D 0xdd25c5c0 r4 =3D 0x00000100 r5 =3D 0x00000000 r6 =3D 0xc0736bfc r7 =3D 0xc0b1aea8 vpanic() at vpanic+0x140 pc =3D 0xc02eb1b4 lr =3D 0xc02eaf94 (doadump) sp =3D 0xdd25c5c8 fp =3D 0xdd25c5cc r4 =3D 0xc0b92210 r5 =3D 0x00000000 r6 =3D 0xc0610ca0 r7 =3D 0xf4210a0d r8 =3D 0xddf32e4c r9 =3D 0x00000013 r10 =3D 0xdd25c6c0 doadump() at doadump pc =3D 0xc02eaf94 lr =3D 0xc0610eb0 (vfp_new_thread) sp =3D 0xdd25c5d4 fp =3D 0xdd25c638 r4 =3D 0xdd25c6c0 r5 =3D 0xdd25c5cc r6 =3D 0xc02eaf94 r10 =3D 0xdd25c5d4 vfp_new_thread() at vfp_new_thread pc =3D 0xc0610eb0 lr =3D 0xc060ff84 = (undefinedinstruction+0x178) sp =3D 0xdd25c640 fp =3D 0xdd25c6b8 undefinedinstruction() at undefinedinstruction+0x178 pc =3D 0xc060ff84 lr =3D 0xc05edaa8 (exception_exit) sp =3D 0xdd25c6c0 fp =3D 0xdd25c750 r4 =3D 0x20000013 r5 =3D 0xde45e000 r6 =3D 0xdd25c890 r7 =3D 0xdd25c8b0 r8 =3D 0x00000000 r9 =3D 0x00000000 r10 =3D 0xdd25c8c0 exception_exit() at exception_exit pc =3D 0xc05edaa8 lr =3D 0xddf31f20 (K256) sp =3D 0xdd25c750 fp =3D 0xdd25c750 r0 =3D 0xdd25c890 r1 =3D 0xde45e000 r2 =3D 0xde45e400 r3 =3D 0xddf309fc r4 =3D 0x00000400 r5 =3D 0xde45e000 r6 =3D 0xdd25c890 r7 =3D 0xdd25c8b0 r8 =3D 0x00000000 r9 =3D 0x00000000 r10 =3D 0xdd25c8c0 r12 =3D 0xdd25c7a0 zfs_sha256_block_neon() at zfs_sha256_block_neon+0x1c pc =3D 0xddf32e4c lr =3D 0xc0946e8c (pcpup) sp =3D 0xdd25c758 fp =3D 0xc0b0aeec r4 =3D 0xc0919610 r5 =3D 0xc0919630 r6 =3D 0xc0919618 r7 =3D 0x642ebce2 r8 =3D 0xc0b1b0ec r9 =3D 0xc0915e88 r10 =3D 0xc0b1b0dc Fatal kernel mode data abort: 'Translation Fault (L1)' on read trapframe: 0xdd25c330 FSR=3D00000005, FAR=3D95e29398, spsr=3D200000d3 r0 =3Ddd25c424, r1 =3D81000000, r2 =3D95e29395, r3 =3D55555555 r4 =3Dc08ae93c, r5 =3D00004aa0, r6 =3D00004aa0, r7 =3Dc08d3e3c r8 =3D00000001, r9 =3Dc079567a, r10=3D0000000b, r11=3Ddd25c3e0 r12=3D00000000, ssp=3Ddd25c3c4, slr=3D00000001, pc =3Dc0610308 panic: Fatal abort . . . (repeats over and over) . . . =3D=3D=3D Mark Millard marklmi at yahoo.com