From nobody Thu Aug 10 05:30:43 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 4RLwWR2Lhzz4q704 for ; Thu, 10 Aug 2023 05:30:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (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 4RLwWP6Z65z3d62 for ; Thu, 10 Aug 2023 05:30:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="B+VU/y86"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.32 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=1691645455; bh=GKPRjxKt5ErGmSbnhkel9wz6YNr2W5JYqzL8WtlOx3Y=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=B+VU/y86dbEgYR0ffbDZsRpl3S3J/sIyyF2KVtSSPy6021enahq+Y5uiGVXdegEoIXAqi5pFVqmUfNXiM9lTG6BAOitmtYPMYamzl3IPWmfrOkduMIURkltdU7M/s4gcxtKrVgUA2925Vg0cxbzFq5mp0JUGLGUBWtnxG6zihK8j/EHfW7QwKYLlx0yNxOjPhQFd/6TSITRhdYIiYKgEM4PI51/TbdFEFHLij7xXqSfANU6iGNtUIdfbvQKDAHVk9Zg67gsZnvkSVac8d1k3qj2VQPUfPlovCKTUF/uNhur9jT2xnPF5bLnabdAJtGJbKZg0v127/W1knFm4g/X6Zg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691645455; bh=2oBD3vOH981CQTrDqL+agVGBXfQOeWpzPi41RX0QojK=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=H8I7g0xenQF4NFCaR7ivmqtahBPqNQAUAbFKMHncdWFqkm7tlONyWQBme60uIgrngVpAeXvXZFa1hqil06qbxEmMhujgwyb7T2Tco58QRNX1C7G6sSH28UuEpsCxM/TWWukrZzRforOWw524RXypfFA+P8/c7aTeA9pEvjq+51Ztw8h2h5gV3dyXM4J5FYQhYIG7qtO82zDdKIv2AfGYXe4jpdZBXBuvRaA3SOtw+/+F7V90GgWdij1p9Qxc2JaAntfL8i+NKObmr+13gKRLmQJMTeoSzRbCKW0fpL3dh2GYfqQvSxd7yaYyixZiWlY+Bti7vRpfVO3IIskzoch9jw== X-YMail-OSG: SrkqeMcVM1lmEE3S97sfpxMgNsM0rbBWr6M8Co1etYPXcJRprdi2JH9NOr524jG Bklo_3nqdL2oLxmYRdw5LKXyVW2zzTDCtwrcQ3GNqu0lv7OHMHCIXmO13lflj32bQkR3tku8feBL WxSxIT3KFeZvmHdWzo8f7qhamxyLD00meMkPfChVGejE0y5QW51KWUzAYgw_sMGA39kWhr77Up_E GV9bCshWHGQBRmWMj2_4k6GzJY6Q7GK_Pt61QoLKFLCNDvULzMmKnh7QHREY0JTYRjz67mG1O5hQ DtOWupR8aPds8PMAm3stgj7najA5BXQFJerbGAe_3rmCYclYzVnwzoVG6pvFdh_XCxLwxN_a2Kv6 iJYIILD2yQP7z.7Vx20V7NrMmZ.Y5s4xALNJlgJTv1Y_zr7gXcrk5FOSzCKKq853c_AEYMn.OQCR MboCC_GNh2ON2Tk4NB_hjqdEjjDEZxbc1j0libXNj50owNX4q1xrMv1wL4peweNJeKNkKRmxz6IH iQxrdfbloZUOHzncwIENHnjZpVTJ2DFzL59wpkUkSmyv6zs4xiFV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boVRu Sr_QBIRx8oFhZ6wC4KdLlkmWKxQkg5R6hFscnR3826fa1.1tC7rXRgfFp.BlAHCF5i8J4uT2Q2fL DkxkS4dTCxR1bzieTU3khZhLi4lQaKgKkFWRFeK8EncuYouvF6BV4oJtpBz6jCrPqOZa9S4eNfMA VLBULsg2DfoeideLEXTocgCW0bltujIb5fbh4UsA3j_7Pw1mzB.hWyeBjhMIWkHIIxGBkVV8OD4p Kn7NWWPYCqpuWTFM7qmTKrSpmbNB9x9kHKf4IujLXqqdaEvV5PZA2F4nRz0sLtGuV9mO.UpUA5YF d6_b3eXmx8xW1.ozwRRjqD6CWhCqQwQA763hLMeyaFtkKLiEs23Y1CmMbLcedVsNKxuGNSjJzShd X_NRUgQXyh80wnXnB1kf0AvVt9rMFplXlJw999wJxcmKlLWPQJa81FxDx3FfqiUiWHtvuWZn.Aa6 IGQY4GZ5IhSUuSExFbsM9y1xxD.Vv5e8P3N5jsWrEWwjhldl70kM2aJ1jxYz.jtLM39d8sLkzfze 50tIxz6JRI542o_UkbWXhRirR.NCv6Qy8BTaBV3U3n9NrJGfYYU1fO2FdRtqRwKT1NjT92Epb80c pzbR7autM6MCMvy3iy4hjD7qXF08tvGOLSjQdwHiwbz.iL2w_Upla9UvhWUrJ3U1P21JSwa4mUxl E X-Sonic-MF: X-Sonic-ID: f8a41e83-fefa-4367-a584-0c7fa0e6f53e Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Thu, 10 Aug 2023 05:30:55 +0000 Received: by hermes--production-bf1-865889d799-x5klk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c62575e63d9df2848699472a89f2f259; Thu, 10 Aug 2023 05:30:51 +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: aarch64 (not armv7) kyua run on main [so: 14]: sys/net/if_lagg_test:status_stress got "Fatal data abort" panic Message-Id: <6F4285CB-6E3E-4A88-A830-8E54E68717ED@yahoo.com> Date: Wed, 9 Aug 2023 22:30:43 -0700 To: FreeBSD ARM List , Current FreeBSD X-Mailer: Apple Mail (2.3731.700.6) References: <6F4285CB-6E3E-4A88-A830-8E54E68717ED.ref@yahoo.com> X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; 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.32: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.32: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: 4RLwWP6Z65z3d62 The context is on a Windows Dev Kit 2023, using a bectl based boot/root = disk: # 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 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: main-n264491-8a5c836b51ce: Thu Aug 3 snapshot did not panic on the RPi4B that I tried it with. We will see for the next snapshot at some point. Both the non-debug and the debug kernels panic. I saw no evidence of the debug kernel reporting anything. Note the: 0xdeadc0dedeadc0de (2 examples) and: 0xfefefefefefefeff (1 example) that may have some significance. . . . 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 <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 This was from: # /usr/bin/kyua test -k /usr/tests/Kyuafile But the earlier part of the run is not needed to get the panic. Booting, logging in as root, and doing: # /usr/bin/kyua test -k /usr/tests/Kyuafile = sys/net/if_lagg_test:status_stress is sufficient to get the panic in my context. For reference for the RPi4B not getting the panic: Trying on an RPi4B with a somewhat older snapshot did not panic: # 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 # /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] Results file id is usr_tests.20230804-151402-553517 Results saved to = /root/.kyua/store/results.usr_tests.20230804-151402-553517.db 1/1 passed (0 failed) =3D=3D=3D Mark Millard marklmi at yahoo.com