From nobody Sun Jul 30 04:54:55 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 4RD8FF6MQYz4pk9N for ; Sun, 30 Jul 2023 04:55:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (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 4RD8FD3MRNz4JKZ for ; Sun, 30 Jul 2023 04:55:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=sqZxPoaY; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.82 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=1690692909; bh=hJ4W5DARohQtXekRZZdF+LY1PVuj5tnLNAPVLA8Thxc=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=sqZxPoaYpg3u7Ma1zfQ2ya17DKX1pR+VAvPbPDHWXTYsFmL3fbYIUirFvdpfBxNKq1M2LiTM/p0WjKEZ1CenEBHfomThKcgprBscMlGcf8NZWgJ6bE7WsPCsR0CUZ5U2rxNEsgjq5KdRWA6282VE2TSc704qCUSedq5jrhrXVsDQYGk+uH/EKP9DGEKawtB9Ndktqh4HYIQQYiBkMYgaENe+o5r8evuaKT2o4RUMXLRPrU91HKTXc+HRqAysz5BIVoZfW1cB0dIm5pnAaKMnixWlg95Hs+0w7LHXXDd1rw9NkyzZ0LAAipYlVXgpJmPk3WC9U+DLrmRbFfkYeaPqRw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690692909; bh=ukER8oLTWnpbQeEmFymtCU3fgi+LA1Qm6Z0D94DBfOX=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=TSTSQsFILCS+ikZAI4GjjbAEdga30KJBJHdyK4Y+cuCWY/QaVZSnu6yPs1/EhXqDXFAigu2Mot069n0yCydpJGzY8xADSeJbeBf/sQwyF4RIqnKzEgcDT7HLYnzrTiYRJ3hHlxljnSxia0aou5NVD+EfU9KYR93V7zutkrBf97Dz6nyQLLo1hvilqxF7XEnYIW9BJn4fJ01uPYsXQZTExa/2SgCfyyjA/MT2arwr2B56XRiENwJqR6MOiNbPiwEAyozCovWkyQezWKAl4S3jzzk6nTlb5yYvkojvQU2JdXQhYllh357I5wq/W8Izs9vStjAHcVFY9bKsBWULOtEVgg== X-YMail-OSG: iEet3YEVM1k9ZkEzgZILgi_GknOGJVPlQG8tHUcr2r5peVUPSGeF.gpG0Z6SZIA 5jjovtpw_1iH.8ynT6YIn.6ZRNX4RffKvpq88nwmlZ9FWs51_xL9TyzAr7wVh0i3YyBkGsIwW6l9 hnzufKEyO99ghIpnp_5CmQuGS6C49Z7E5kxzbMuQNOGZk2nkKcJCFxj04wqTTvVR9CXH112mPazG H1zsDSqIWEyoHFYVB2YeVjTdvu85Edn1mqwL_EKg8zhpMo6axz4DBw5lgFG8sJymN0Yc47uiTlth P9bZbKwT2HLjtC0HfQQ.VJyuVVVqm4Cp1Ge1BquLTvkms3HuvTti..8cdl_A849zdSDFnVvH49OX xqpI7Z_VlzLBxveC260RoaBz56JUPabsp.Wb.neFV.1y2FLtZKcQMZNy6cYdcEm7br0hS9sgcqk3 WlOY4v4pj8SuptSxvAUc2uP54PtoPpf4BAfU7NcskgBBKuvzhNx4OTE7rkpDvXsSNpC.yQFDyF.Q UIMd3OeVk8QTCJG0ttzEbGh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R33K6X18XEGPcT9XpfOJP0yeMHGLLorJqHy.UjisCv3 vCj67OsgEJ9CYXkEaXFJXnMQ69m2J2TTd1vzQAYWC0DHFROUcFycxuRTsWqS_Xkx1JYeas.DCCAu 1.HknRWfhxhrYV_bSJXHUTfP0oZreys4tevr.v7B7GAnIOUM2N8myz1yLK4ozzLWay1NvfDWQFb7 jPPDRVhCW8SAGuMnZnKE6wkgrYx.pySlGUX316XLY2pfVSRRzqxI447zXq.8pv3z4jpxxyZYi7W_ 5QhkZnU9FjCEOG4voSYP1B7fEr7x0J9FLk0kIMcLQCghhnuzRmnMUNU9QuUPBz96SZeoM0S6Fd4l pChEXOmOD6uoUoBOBz8k4x4ry79PogFXmNceuOuR5uY_HveEgUaYfNWAhbi.ZGr4yc0fHwUcB0VK RMZWIjjooCABx22nWinXIbhnVZYixchDzmeeKCF.axJkfUYpCMAMqteUvaIfI90aZ84T46V8abSY LFH_Vr.fNx7viRr6U4CWbk5EVYsbm3ZEGDoTN7PMP5KcShgRDYMmE6nnrUOs2HQmgG_oFMDJx34T T76vMe2NgSokPWlJaT2G8lCtbNNZfzmq6eaVpLz1iodekAPOX6VOMa9lcGCK03gtdJSFCwhpB6xK HvBxVB2k58xgGnXudL5K.QQsoxmDYuRC9j_XegsqQpYtFYmg1xYgORdEiMrwfZELd4GAcW8sClFQ - X-Sonic-MF: X-Sonic-ID: 77326888-25a6-4a32-9e4a-dba15a80eb12 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sun, 30 Jul 2023 04:55:09 +0000 Received: by hermes--production-bf1-7c4db57b6-vlnps (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4659ebd3072a8fb8f7ff6fb5c2e2d285; Sun, 30 Jul 2023 04:55:07 +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: FYI for aarch64/armv7 lib32: armv7 kyua test sys/net/if_bridge_test:gif with preloaded if_bridge.ko still panics in my style of testing Message-Id: <6ED951F4-E08A-4448-A748-C80DE8515AED@yahoo.com> Date: Sat, 29 Jul 2023 21:54:55 -0700 Cc: FreeBSD ARM List , Current FreeBSD To: Mike Karels X-Mailer: Apple Mail (2.3731.700.6) References: <6ED951F4-E08A-4448-A748-C80DE8515AED.ref@yahoo.com> X-Spamd-Result: default: False [-1.45 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_SPAM_MEDIUM(0.21)[0.212]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-0.17)[-0.165]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from]; BLOCKLISTDE_FAIL(0.00)[98.137.64.82:server fail]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.82:from] X-Rspamd-Queue-Id: 4RD8FD3MRNz4JKZ X-Spamd-Bar: - I finally got around to testing lib32 some more, first trying the panic case that I'd gotten in early testing. The below is without any special lib32 patching for testing, just my normal non-debug environment updated to a lib32-present aarch64 FreeBSD vintage. Reminder: /usr/obj/DESTDIRs/main-CA7-chroot/ contains an armv7 installworld distrib-dirs distribution DB_FROM_SRC=3D1 result. (It also has various ports installed.) # ~/prekyua-kldloads.sh . . . # env \ > LD_32_LIBRARY_PATH=3D/usr/obj/DESTDIRs/main-CA7-chroot/lib\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/lib\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/libexec/rtld-elf\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libxo\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/csu/dynamiclib\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/tls\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/stdlib\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libthr/dlopen\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/lib\ > = :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/lib/python3.9/site-packages\ > = :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/lib/python3.9/lib-dynload\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/lib/perl5/5.32/mach/CORE\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/lib/perl5/5.32/mach/auto = \ > PATH=3D/usr/obj/DESTDIRs/main-CA7-chroot/sbin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/bin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/sbin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/bin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/sbin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/bin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/root/bin \ > /usr/obj/DESTDIRs/main-CA7-chroot/usr/bin/kyua test \ > -k /usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/Kyuafile = sys/net/if_bridge_test:gif sys/net/if_bridge_test:gif -> Jul 29 21:29:16 CA72-16Gp-ZFS = dhclient[56641]: epair0a: not found Jul 29 21:29:16 CA72-16Gp-ZFS dhclient[56641]: exiting. Fatal data abort: x0: 0xffffa0275306c560 x1: 0xffffa027f9d053d2 x2: 0x000000000000002a x3: 0xffffa0275306c560 x4: 0xffffa027f9d053fc x5: 0xffffa0275306c58a x6: 0x3ec2ffffffffffff x7: 0x010006085ba958bc x8: 0x000000000000002a x9: 0x000000000000002a x10: 0x0008010006085ba9 x11: 0x58bc3ec201000406 x12: 0x0000016433c65ba9 x13: 0x026433c600000000 x14: 0x00000000000000ff x15: 0x000000000000289f x16: 0xffff0002d056b370 (_DYNAMIC + 0x370) x17: 0xffff000000598110 (m_dup + 0x0) x18: 0xffff0002801e94a0 x19: 0x0000000000000001 x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0xffff000000d95000 (vop_spare3_desc + 0x18) x23: 0xffffa0275306c500 x24: 0xffffa0275306c500 x25: 0x00000000000000a0 x26: 0x0000000000000002 x27: 0x0000000000000000 x28: 0xffffa0275306c500 x29: 0xffff0002801e94c0 sp: 0xffff0002801e94a0 lr: 0xffff000000598308 (m_dup + 0x1f8) elr: 0xffff000000598160 (m_dup + 0x50) spsr: 0x0000000020000045 far: 0x000000000000001c esr: 0x0000000096000004 panic: vm_fault failed: 0xffff000000598160 error 1 cpuid =3D 14 time =3D 1690691356 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+0x2fc handle_el1h_sync() at handle_el1h_sync+0x14 --- exception, esr 0x96000004 m_dup() at m_dup+0x50 bridge_input() at bridge_input+0x17c gif_input() at gif_input+0x2dc in_gif_input() at in_gif_input+0x5c encap_input() at encap_input+0xfc encap4_input() at encap4_input+0x30 ip_input() at ip_input+0x5ac netisr_dispatch_src() at netisr_dispatch_src+0xf8 ether_demux() at ether_demux+0x14c ether_nh_input() at ether_nh_input+0x39c netisr_dispatch_src() at netisr_dispatch_src+0xf8 ether_input() at ether_input+0x50 epair_tx_start_deferred() at epair_tx_start_deferred+0x110 taskqueue_run_locked() at taskqueue_run_locked+0x198 taskqueue_thread_loop() at taskqueue_thread_loop+0x130 fork_exit() at fork_exit+0x88 fork_trampoline() at fork_trampoline+0x14 KDB: enter: panic [ thread pid 0 tid 1028122 ] Stopped at kdb_enter+0x44: str xzr, [x19, #3328] For reference: # uname -apKU FreeBSD CA72-16Gp-ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT aarch64 1400093 = #102 main-n264334-215bab7924f6-dirty: Wed Jul 26 02:02:48 PDT 2023 = root@CA72-16Gp-ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6= 4.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400093 1400093 =3D=3D=3D Mark Millard marklmi at yahoo.com