From nobody Fri Aug 04 06:59:32 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 4RHGmg3QCnz4ghnZ for ; Fri, 4 Aug 2023 06:59:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-22.consmr.mail.gq1.yahoo.com (sonic317-22.consmr.mail.gq1.yahoo.com [98.137.66.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 4RHGmd74ncz3ZS9 for ; Fri, 4 Aug 2023 06:59:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=t8Att6Be; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.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=1691132383; bh=xsBVUR7anpefwz1xxhrt9Fh1APodPazBtkqWIjZ1NpE=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=t8Att6BeJRPxz3KXM9g89WbWma7Pa8pYnr860gAzD/iDRqSscbEQ05PfmN4LEtSOpDzpKKkyvy03yCpPyLWjXbQF6guJoFeQL8xJL2Z/sRkS7SoNGCO7zQG9fJaB8D3/uCsdPuocXs2JK8ZKe3D3tzxwF/AeHDlKjLYeYeIqkIVabIGCGrzVOfzQyZF7v5Hv+7rH2tJaCKi+2eZRerR/yFFHrwUZIL59XiWLZ0uR3qC2u/PPpCJWPAcQwWcXSsoWKXlfK9vraS9GN62mx3+6g2gnNEKgnCfBHLqYwmbHXE65UL142B4aWSkoYrgdrHPX71beHgUGeAi4Lzz43EC9xQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691132383; bh=7EmNWyRXmEIxHTRYSjCqrMH7pjGSAocAWYJqdN/Zb9J=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=KZBrMzIw8oocJ57m1Io1nS118WqunGjs+vjB0jl5FXVnK2fZx9SEa/6PpLPE4H13tUozeSQke3mBWW0eDAe1W+aVXn796l/xxfgBNe8tRAL4aN8vRTjBeGR/ZFbulC43scFLOPN7SayYLO7jLC96W665TYt5XMJC1ILPmF1v7KEQbTx3WLnbytvobWWQKKOxaua2nHpfP3951/LV8gfoxIbgf1GE8rZN7rla9h9tc9NWfoo806ZvXFzmVbT/kucofuKyMwC2Vj+ZoJTNhHLtFtYX+ESkx+QtCo0qQgFFWjfj77h93ztgj89B9xn0ca5i41dUqRps+JFEWvXg71mXAQ== X-YMail-OSG: e.GW17wVM1kkEKTCT1z28vi0VwKPhkfntN.arSiKz_nmVaPYT5ce.L5_ayE1nNN UITG27RYhNTfDb3CQ02hwSHyB3Pkze6TJQuCDsQTS843ClRD7cIbzD4ZHlKZh.1jeOIWYE_PztJ6 ULJv1aNAWDmqSWWNpopGQiyixkXGHX0bZOTTTqolz6HzhK7vi7.hYdwq_h02MRV4.SLUg8oLZxsz dHXwNJWfUkAwJSolV8tNmNBRt8Vtc.d7AvoL3fGAzRWNj9uROiJMEhVxSnrjLeYMiDb14B7Cgbp1 OyfY4Wr7p_7rvovou1AA2Z.TJAS0TV50CZCwUfA0lRv6Q2ufy9HO8ResbJiYExPGm7I6zMUOVF4E Ma.lo_RyHpLG9VryljMaRukD9EXce6bCmhhlbo7ic2FVk2vxQe0bzW0X0GGuulY8LmQm8htDM5Ov 7F5ztDd0ME_xkjtGm32mnecpY8XqpLJY3X7ImIdNgO1605ANybb_hbA0mjpo8nzviTYIj7cNuHpg peqTHfpmZ79I9jQjs6MhxclQYWA8BS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zrrUE4XnK2yph6yLbnC3R1TBV.Rz 2VXCJ3onElIUOPJSU.iew5hGgJl6UNs1zziYHu97n7c5cg3HtVqzj37lHqDZrOXe28k8tlAv_mEY QbiZ6EkfcGUSGZyAoBARgSyFKTO2xx1uvIpJ.T460b3FFaNKOVuq9cVTY_hlD3LIM0r6ZTdWLVVB SGlO8zMcTD.Xec7jelHeeFwJQeeksqfWsA5QzAukSf6um2QIU_v_bR7Ffc450ufltjdInkEW7qRS 6T8LXtN9Xyv16D6Pk5DC8JncHAyK2k5wJFXplVRTlu3Tr1p3PiO2JTlAo_hPneZvqfoWll303MtM 2qhRttcNQPPIw0CyE5HAaZivf5J3D1C.wp4GbG8oc_oMeLOl5AgsnneeeD3_LGJvNwWEIqfXDFoS uje6v79VGLeIb6iNIOWcQ6OWHkxtxFyk2Xk._efTqL_AeQfd.cMrAeowo0.Gl3OTvjyzm_I7Ijyp QhcSRIy1xcxpN4VMm6_3V8RvOdaAydpDrKrL3P.YLiDD6rzG05cltAzRWsv_dcmsDa5VfmaEnzWp qXzcwD8P6Sc0A8M6nix7GXHJYdZDLSLYgNwN9FxFDcfi8m3iKFI24c3ReeEcsqQJWz_GTz3cH.Nd x2VaE52eRhoh3sRkFIWorXKUKNMUoWBUNj_QP95TLg1yDLEr9kC28R1YGu3XL8Qd3yos.8LXqCew vw_hCtw-- X-Sonic-MF: X-Sonic-ID: e04bd980-d154-4de8-8a41-1f7fadaf92f6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Fri, 4 Aug 2023 06:59:43 +0000 Received: by hermes--production-gq1-7d844d8954-ll2wj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 896913c23f84edecdfd192e85b4b3ff4; Fri, 04 Aug 2023 06:59:42 +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.700.6\)) Subject: A native armv7 panic during kyua runs: sys/netinet6/exthdr:exthdr -> Fatal kernel mode data abort: 'Alignment Fault' on read Message-Id: Date: Thu, 3 Aug 2023 23:59:32 -0700 To: FreeBSD ARM List , Current FreeBSD X-Mailer: Apple Mail (2.3731.700.6) References: X-Spamd-Result: default: False [-1.30 / 15.00]; NEURAL_HAM_SHORT(-0.80)[-0.801]; 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)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.148:from]; BLOCKLISTDE_FAIL(0.00)[98.137.66.148:server fail]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.148:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4RHGmd74ncz3ZS9 While discovered via an attempted overall kyua run, the following is sufficient to get the crash in my native armv7 context: # /usr/bin/kyua test -k /usr/tests/Kyuafile sys/netinet6/exthdr:exthdr sys/netinet6/exthdr:exthdr -> Fatal kernel mode data abort: 'Alignment = Fault' on read trapframe: 0xdfb97aa0 FSR=3D00000001, FAR=3Ddb43ab76, spsr=3D60000013 r0 =3Ddfedd000, r1 =3Ddfb97b34, r2 =3D00000000, r3 =3D00000000 r4 =3D00000000, r5 =3D00000000, r6 =3Ddb43ab76, r7 =3Ddb43ab66 r8 =3Dc096383c, r9 =3D00000000, r10=3Ddb132400, r11=3Ddfb97b60 r12=3D00000000, ssp=3Ddfb97b30, slr=3Dc0b4e2c0, pc =3Dc04e6b70 panic: Fatal abort cpuid =3D 0 time =3D 1691131498 KDB: stack backtrace: db_trace_self() at db_trace_self pc =3D 0xc065f414 lr =3D 0xc007db80 = (db_trace_self_wrapper+0x30) sp =3D 0xdfb97858 fp =3D 0xdfb97970 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc =3D 0xc007db80 lr =3D 0xc031a834 (vpanic+0x140) sp =3D 0xdfb97978 fp =3D 0xdfb97998 r4 =3D 0x00000100 r5 =3D 0x00000000 r6 =3D 0xc07c369a r7 =3D 0xc0b32e58 vpanic() at vpanic+0x140 pc =3D 0xc031a834 lr =3D 0xc031a6f4 (vpanic) sp =3D 0xdfb979a0 fp =3D 0xdfb979a4 r4 =3D 0xdfb97aa0 r5 =3D 0x00000013 r6 =3D 0xdb43ab76 r7 =3D 0x00000001 r8 =3D 0x00000001 r9 =3D 0xdfedd000 r10 =3D 0xdb43ab76 vpanic() at vpanic pc =3D 0xc031a6f4 lr =3D 0xc06849dc (abort_align) sp =3D 0xdfb979ac fp =3D 0xdfb979d8 r4 =3D 0x00000001 r5 =3D 0x00000001 r6 =3D 0xdfedd000 r7 =3D 0xdb43ab76 r8 =3D 0xdfb979a4 r9 =3D 0xc031a6f4 r10 =3D 0xdfb979ac abort_align() at abort_align pc =3D 0xc06849dc lr =3D 0xc0684a50 (abort_align+0x74) sp =3D 0xdfb979e0 fp =3D 0xdfb979f8 r4 =3D 0x00000013 r10 =3D 0xdb43ab76 abort_align() at abort_align+0x74 pc =3D 0xc0684a50 lr =3D 0xc06846a8 (abort_handler+0x45c) sp =3D 0xdfb97a00 fp =3D 0xdfb97a98 r4 =3D 0x00000000 r10 =3D 0xdb43ab76 abort_handler() at abort_handler+0x45c pc =3D 0xc06846a8 lr =3D 0xc0661cc8 (exception_exit) sp =3D 0xdfb97aa0 fp =3D 0xdfb97b60 r4 =3D 0x00000000 r5 =3D 0x00000000 r6 =3D 0xdb43ab76 r7 =3D 0xdb43ab66 r8 =3D 0xc096383c r9 =3D 0x00000000 r10 =3D 0xdb132400 exception_exit() at exception_exit pc =3D 0xc0661cc8 lr =3D 0xc0b4e2c0 (__pcpu) sp =3D 0xdfb97b30 fp =3D 0xdfb97b60 r0 =3D 0xdfedd000 r1 =3D 0xdfb97b34 r2 =3D 0x00000000 r3 =3D 0x00000000 r4 =3D 0x00000000 r5 =3D 0x00000000 r6 =3D 0xdb43ab76 r7 =3D 0xdb43ab66 r8 =3D 0xc096383c r9 =3D 0x00000000 r10 =3D 0xdb132400 r12 =3D 0x00000000 in6ifa_ifwithaddr() at in6ifa_ifwithaddr+0x30 pc =3D 0xc04e6b70 lr =3D 0xc04f9030 (ip6_input+0xd38) sp =3D 0xdfb97b68 fp =3D 0xdfb97c28 r4 =3D 0xdb43ab76 r5 =3D 0xdb43ab5e r6 =3D 0x00000000 r7 =3D 0xdb43ab66 ip6_input() at ip6_input+0xd38 pc =3D 0xc04f9030 lr =3D 0xc046d66c (netisr_dispatch_src+0xf8) sp =3D 0xdfb97c30 fp =3D 0xdfb97c58 r4 =3D 0xdb43ab00 r5 =3D 0x00000006 r6 =3D 0x00000007 r7 =3D 0xc0b49d50 r8 =3D 0xdafea0c0 r9 =3D 0xdb43ab00 r10 =3D 0x00000086 netisr_dispatch_src() at netisr_dispatch_src+0xf8 pc =3D 0xc046d66c lr =3D 0xc04641b0 (ether_demux+0x18c) sp =3D 0xdfb97c60 fp =3D 0xdfb97c78 r4 =3D 0x00000006 r5 =3D 0x00001201 r6 =3D 0xdb132400 r7 =3D 0x000000ff r8 =3D 0xdafea0c0 r9 =3D 0xdb43ab00 r10 =3D 0x00000086 ether_demux() at ether_demux+0x18c pc =3D 0xc04641b0 lr =3D 0xc0465880 (ether_nh_input+0x490) sp =3D 0xdfb97c80 fp =3D 0xdfb97ce0 r4 =3D 0xdb132400 r5 =3D 0xdb43ab00 r6 =3D 0xdb43ab50 r10 =3D 0x00000086 ether_nh_input() at ether_nh_input+0x490 pc =3D 0xc0465880 lr =3D 0xc046d66c (netisr_dispatch_src+0xf8) sp =3D 0xdfb97ce8 fp =3D 0xdfb97d10 r4 =3D 0xdb43ab00 r5 =3D 0x00000005 r6 =3D 0x0000000c r7 =3D 0xc0b49d30 r8 =3D 0xdafea0c0 r9 =3D 0xdb43ab00 r10 =3D 0xc098d18f netisr_dispatch_src() at netisr_dispatch_src+0xf8 pc =3D 0xc046d66c lr =3D 0xc04645c4 (ether_input+0x50) sp =3D 0xdfb97d18 fp =3D 0xdfb97d48 r4 =3D 0xdb43ab00 r5 =3D 0x00000000 r6 =3D 0x00008803 r7 =3D 0x00000000 r8 =3D 0xdafea0c0 r9 =3D 0xdb43ab00 r10 =3D 0xc098d18f ether_input() at ether_input+0x50 pc =3D 0xc04645c4 lr =3D 0xdffb3f08 ($a.10+0x108) sp =3D 0xdfb97d50 fp =3D 0xdfb97d78 r4 =3D 0xdb132400 r5 =3D 0xdaff8b00 r6 =3D 0xdaff8b10 r7 =3D 0x00000000 r8 =3D 0x00000000 r10 =3D 0xc098d18f $a.10() at $a.10+0x108 pc =3D 0xdffb3f08 lr =3D 0xc038cb2c = (taskqueue_run_locked+0x1c4) sp =3D 0xdfb97d80 fp =3D 0xdfb97dd8 r4 =3D 0xe0145100 r5 =3D 0xdaff8b2c r6 =3D 0xe0145150 r7 =3D 0x00000001 r8 =3D 0x00000000 r9 =3D 0xdfb97d90 r10 =3D 0x00000001 taskqueue_run_locked() at taskqueue_run_locked+0x1c4 pc =3D 0xc038cb2c lr =3D 0xc038e4e4 = (taskqueue_thread_loop+0x1b0) sp =3D 0xdfb97de0 fp =3D 0xdfb97e10 r4 =3D 0xe0145100 r5 =3D 0xe0145140 r6 =3D 0xc07af4c4 r7 =3D 0x00000000 r8 =3D 0xc098d18f r9 =3D 0x00000100 r10 =3D 0xc0b228a0 taskqueue_thread_loop() at taskqueue_thread_loop+0x1b0 pc =3D 0xc038e4e4 lr =3D 0xc02cdf0c (fork_exit+0xc0) sp =3D 0xdfb97e18 fp =3D 0xdfb97e38 r4 =3D 0xdfedd000 r5 =3D 0xc0b224e0 r6 =3D 0xc038e334 r7 =3D 0xdffc4f54 r8 =3D 0xdfb97e40 r9 =3D 0xc098d191 fork_exit() at fork_exit+0xc0 pc =3D 0xc02cdf0c lr =3D 0xc0661c5c (swi_exit) sp =3D 0xdfb97e40 fp =3D 0x00000000 r4 =3D 0xc038e334 r5 =3D 0xdffc4f54 r6 =3D 0xc0b45d84 r7 =3D 0xd73bcba0 r8 =3D 0x00000001 r10 =3D 0xc0b228a0 swi_exit() at swi_exit pc =3D 0xc0661c5c lr =3D 0xc0661c5c (swi_exit) sp =3D 0xdfb97e40 fp =3D 0x00000000 KDB: enter: panic [ thread pid 0 tid 100230 ] For reference: # uname -apKU FreeBSD OPiP2E-RPi2v1p1 14.0-CURRENT FreeBSD 14.0-CURRENT armv7 1400093 = #6 main-n264334-215bab7924f6-dirty: Tue Jul 25 23:11:39 PDT 2023 = root@CA72-16Gp-ZFS:/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.a= rmv7/sys/GENERIC-NODBG-CA7 arm armv7 1400093 1400093 The OrangePi+ 2Ed was the type of system booted and tested. =3D=3D=3D Mark Millard marklmi at yahoo.com