From nobody Sat Aug 12 06:28:34 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 4RN9jK1fG8z4TvgM for ; Sat, 12 Aug 2023 06:28:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (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 4RN9jH63CSz3XV0 for ; Sat, 12 Aug 2023 06:28:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=LVpz742y; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.204 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=1691821729; bh=75ZoEJxkm+aIrs+4LIg1/KI+rceG1d3ovHcDMiMvA4E=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=LVpz742yW4MSaY8GEEveyPHxBlLVIT8r6J8CI729zEBuI3sHopj9ecVG86w34M1koQd5vi8BdkYQe5a/upwURAe/Lk9CPEJYT1aK/VLcdpjsZbOkxHNltpZkVasTYgzsJgoUi0M7tm9M6OPkW9Q/dQIdrMZhOQRABLWAwvhneJVLcOUui2E6F4kFhcLBNY+B8kcq6yssX0CKs2PooebGDX6Bedgq4ZKEAwAVPt6L/PfrHWhI36sLVCaXYUfqJ18wSZaZYjHnAtqf6XgMY15M1bOjQ70wIac7+1/iX1iJfeosWs+1SrYuRhm4Ns/pEr/7BFJ2v4naTWTVKaikMvFyAg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691821729; bh=PIHIXo/oZLRkk4az3Bc6qB9YZrUCjgLdupZPEh2hYYh=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=OW2We7YrIc8zJfs6Yt61y04qck5ywH+PaKP48QqEiuXWJ6nH0AgAKpX7fzSK8ZmwxZcREGP1RxIj5MEwS2rC8GmXahHFh5XpuePkEwnPbKfbTpAkLlXj9LGMoUgnPcRN8w+ZrtoJIC6lK3c/ja4OUNVCKeYE7aYLurSYrf3FXpYy5jaIOjcqcwY4d8cGXodhnO3fQ3Tb7+vxhzKFmNgCEtQIRGKit2X+r55BP+Y72LupVoRimKkCoTv6nsvnIaJj35B4gjcJXzFcBeXP44vwfDH82F4/yb0gaW5h5k++zpjNbvht/NH/FuvWRwjbeEqX5SINtUwa34bsWbroMKGEJg== X-YMail-OSG: vB2xmmoVM1nul.mt.wvyE3V2PV8Glj8gkwqVnjxgMTOGxNIz4fU2xuyKxpv1LRC 8gp4N4LR8EcOYnEhXTt54sf_kkAvQlbDr2cf6jLxW9XAsfMy_bZ35skzXgGA_zzVxMgqqqs6yYuG cWEDkdFivk9zPJMCl3Qtd94HpJKTuarWmT9FKkZzc_pRMOqGF4lOlui_rlEveuV7cnKzTBUqrOem jd9axmWMqAeGvO1elBr57ngg27jYSgUaljUUxfBIRZDFbThcI3c8dduhAK2NMlvsU4jsLqL3GSaf goAKkcypeJoBvI67dM0D7IGamt3d7.YFVUIRVfUP1zSaLxBhmNkmvew8VVSn9NYeXGU4BGwuUb0i oj8EQmNkbumgaiKHKVmf8GQQsnr_qrovJvbnWFGLEV9JFjO0PbgKKoj9ZnKQEoZB5f1Nb1TVJiHo _a4Qbyvf4HTU349CL5UVzY.2dE9SyVOrzDmabzS5xg3QtSlnibNg8R2Hzm0HIhSPM41GIW.gFxND HwpxIE8opcflxgMMb3BCrP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x1x8MbV6SgioBVMyGykTIFkygqUFiMbgf1u5ymkuV0X 4kP1x3NgV7Jf.aOUA3PqeWVsrHeNRCncnobBJVaAchNCMASIBOo3Ke6CJ7zLLvEvY5dk24gpfT2A oToCaklXOEPYM9bEuSWCP_ojeZrN3PNAnRURx94ko3Q7wrcUvTl9P74nvKDUHt9NR2Kph53vlMQ1 0xXw.lZDNTLlpICYbnF6XpX2NEGcq4VDRwdXWkLjdmgDGumI7vuB4URXARdkl1oYiO.Ym8IrC6gI m838ExjeC_M6VNi7ivKGITP_kIKAYdViRj9BEdmM0vWjHZZMFoo1w0YmrMPcLkNWASF.o.rFYaxG W1l2U7Far6u0qIgKe.87jDA8j_AS8q8yVnWYoJaf0XAJKxoAf2uWW5.DVd1q3XHoqQvweow_QfCf VjCita49Y1zXzTIfhujOstwRdw_FoTb950Azqz8p3TJLV8VcztwmOWQn_cQ8xarWY3sRlSIlR4x8 zBSBlDzjSVQzm4yg.HkjLBh0N5RQ1.FIuOCOJ_.mZYct5yZ1lPkyHgsDbjydap3oGgRB.epgJFZn 53h6awcF5ygInn_KxU1ZA.Bja6sgwD1YroFT.Z6de3fTNnAIN_4TM2vcqR9dQoHV30lze1R9TEYq 1YROZQ3MTa6GmoDZF_Pb39xznvFlhQYiLM_qM4GqYKGK2ps4jQviY8x7efcMdBVuMdsHLo03ugzo p_Q-- X-Sonic-MF: X-Sonic-ID: c9c5a161-079a-439e-9da6-6da2a43fa9be Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 12 Aug 2023 06:28:49 +0000 Received: by hermes--production-bf1-865889d799-cgv22 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 66cb8044bfb0e03c664848d63b4d1502; Sat, 12 Aug 2023 06:28:46 +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: Re: aarch64 (not armv7) kyua run on main [so: 14]: sys/net/if_lagg_test:status_stress got "Fatal data abort" panic [14.0-ALPHA1 snapshot panic submitted to bugzilla] Date: Fri, 11 Aug 2023 23:28:34 -0700 References: <6F4285CB-6E3E-4A88-A830-8E54E68717ED@yahoo.com> To: FreeBSD ARM List , Current FreeBSD In-Reply-To: <6F4285CB-6E3E-4A88-A830-8E54E68717ED@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Result: default: False [-2.59 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.09)[-0.092]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.204:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.204:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4RN9jH63CSz3XV0 On Aug 9, 2023, at 22:30, Mark Millard wrote: > The context is on a Windows Dev Kit 2023, using a bectl based = boot/root disk: >=20 > # uname -apKU > FreeBSD CA78C-WDK23-ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT aarch64 = 1400094 #9 main-n264643-0befc55cdf4b-dirty: Wed Aug 9 14:23:48 PDT 2023 = = root@CA78C-WDK23-ZFS:/usr/obj/BUILDs/main-CA78C-dbg-clang/usr/main-src/arm= 64.aarch64/sys/GENERIC-DBG-CA78C arm64 aarch64 1400094 1400094 >=20 > I only do bugzailla submittals based on just my > own builds as a means of last resort: I try to > use official builds for such. The: >=20 > main-n264491-8a5c836b51ce: Thu Aug 3 >=20 > snapshot did not panic on the RPi4B that I > tried it with. We will see for the next > snapshot at some point. >=20 > Both the non-debug and the debug kernels panic. > I saw no evidence of the debug kernel reporting > anything. >=20 > Note the: >=20 > 0xdeadc0dedeadc0de (2 examples) > and: > 0xfefefefefefefeff (1 example) >=20 > that may have some significance. >=20 > . . . > sys/net/if_gif:basic -> passed [0.195s] > sys/net/if_lagg_test:create -> passed [0.125s] > sys/net/if_lagg_test:create_destroy_stress -> skipped: Skipping this = test because it easily panics the machine [0.022s] > sys/net/if_lagg_test:lacp_linkstate_destroy_stress -> passed = [60.048s] > sys/net/if_lagg_test:set_ether -> passed [0.090s] > sys/net/if_lagg_test:status_stress -> =20 >=20 > <6>lagg0: link state changed to DOWN > Fatal data abort: > x0: 0xffff000186c82858 (_DYNAMIC + 0x271e46b8) > x1: 0x0000000000000001 > x2: 0xdeadc0dedeadc0de > x3: 0xffff0000005b68c0 (ifdead_ioctl + 0x0) > x4: 0xffffa000a8ba305e > x5: 0xffffa00023d932fa > x6: 0x000000006767616c > x7: 0x6e6d760070617401 > x8: 0x000000000000030c > x9: 0x0000000000210005 > x10: 0x0000000000000800 > x11: 0xfefefefefefefeff > x12: 0x0000000000000008 > x13: 0x0000000000000000 > x14: 0x0000000000010000 > x15: 0x0000000000000001 > x16: 0x0000000000010000 > x17: 0x0000000000000007 > x18: 0xffff000186c82520 > <6>ue0: link state changed to DOWN > (_DYNAMIC + 0x271e4380) > x19: 0xffff000186c82858 (_DYNAMIC + 0x271e46b8) > x20: 0xffffa000a8ba3000 > x21: 0xffffa000a8ba3058 > x22: 0x000000000000000c > x23: 0x0000000000000005 > x24: 0x0000000000000000 > x25: 0xffff000000c7a000 (keysw + 0xb8) > x26: 0x0000000000000000 > x27: 0xffff000000cf9000 (sdta_vfs_vop_vop_spare4_return1 + 0x18) > x28: 0x0000000000000008 > x29: 0xffff000186c82540 (_DYNAMIC + 0x271e43a0) > sp: 0xffff000186c82520 > lr: 0xffff0000006a0b50 (dump_iface + 0x2c0) > elr: 0xffff0000006a124c (dump_sa + 0x1c) > spsr: 0x0000000000400045 > far: 0xdeadc0dedeadc0df > esr: 0x0000000096000004 > timeout stopping cpus > panic: vm_fault failed: 0xffff0000006a124c error 1 > cpuid =3D 2 > time =3D 1691642123 > KDB: stack backtrace: > db_trace_self() at db_trace_self > db_trace_self_wrapper() at db_trace_self_wrapper+0x30 > vpanic() at vpanic+0x13c > panic() at panic+0x44 > data_abort() at data_abort+0x358 > handle_el1h_sync() at handle_el1h_sync+0x14 > --- exception, esr 0x96000004 > dump_sa() at dump_sa+0x1c > dump_iface() at dump_iface+0x2bc > dump_cb() at dump_cb+0x18 > if_foreach_sleep() at if_foreach_sleep+0x208 > rtnl_handle_getlink() at rtnl_handle_getlink+0xec > rtnl_handle_message() at rtnl_handle_message+0x19c > nl_taskqueue_handler() at nl_taskqueue_handler+0x5f4 > taskqueue_run_locked() at taskqueue_run_locked+0x1a4 > taskqueue_thread_loop() at taskqueue_thread_loop+0xc8 > fork_exit() at fork_exit+0x74 > fork_trampoline() at fork_trampoline+0x14 >=20 > This was from: >=20 > # /usr/bin/kyua test -k /usr/tests/Kyuafile >=20 > But the earlier part of the run is not > needed to get the panic. Booting, logging > in as root, and doing: >=20 > # /usr/bin/kyua test -k /usr/tests/Kyuafile = sys/net/if_lagg_test:status_stress >=20 > is sufficient to get the panic in my context. >=20 >=20 > For reference for the RPi4B not getting the panic: >=20 > Trying on an RPi4B with a somewhat older snapshot did not panic: >=20 > # uname -apKU > you have mail > FreeBSD generic 14.0-CURRENT FreeBSD 14.0-CURRENT aarch64 1400093 #0 = main-n264491-8a5c836b51ce: Thu Aug 3 12:10:50 UTC 2023 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC = arm64 aarch64 1400093 1400093 >=20 > # /usr/bin/kyua test -k /usr/tests/Kyuafile = sys/net/if_lagg_test:status_stress > sys/net/if_lagg_test:status_stress -> passed [60.371s] >=20 > Results file id is usr_tests.20230804-151402-553517 > Results saved to = /root/.kyua/store/results.usr_tests.20230804-151402-553517.db >=20 > 1/1 passed (0 failed) I replicated the panic via an 14.0-ALPHA1 snapshot dd'd to USB media then used to boot and operate a Windows Dev Kit 2023. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273081 =3D=3D=3D Mark Millard marklmi at yahoo.com