From nobody Thu Jul 06 23:53:18 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 4Qxtdv0SqVz4lZHh for ; Thu, 6 Jul 2023 23:53:39 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-5.mit.edu (outgoing-exchange-5.mit.edu [18.9.28.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qxtdt5vchz4Xxs for ; Thu, 6 Jul 2023 23:53:38 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b="TBr8ky/1"; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.59 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu; arc=pass ("microsoft.com:s=arcselector9901:i=1") Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 366NrTRu024438; Thu, 6 Jul 2023 19:53:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1688687614; bh=wC7fbGWkJw8EdKTLFvgEIaUACTMs40+Zuwc21H9e7DA=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=TBr8ky/1jctxG414POv/scoR2PFI4BElSbmQYN3Azq3ZObld1lJ4D0mdz+xC9cFQL Pwlr3PyXCIAHTY1TNnYlVJZDoRV+6rYpUGpArq2QVj3ccM8ccYoNrdZEo7cdIzJsSv nCH6Q/c2maZj63vRAitNmwMyh3OJ4TtvrEx5vCyOusEjtB79e+bEcdHSQIOuGuCKVq WOYwpR/82tMlKKHNhDajtuBLdOI5o/gOAraI9lBq3CelCY9hHCBY5W82JvNUzFwft5 UwMKoIjg9Zk0s5/XgXDoRWDHTJL6NkaLEvfhrHrdW68CjIif7vDxpprBCU4rTc3MlX V9oiRFbgsMFbQ== Received: from oc11expo28.exchange.mit.edu (18.9.4.99) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 6 Jul 2023 19:53:23 -0400 Received: from oc11exhyb6.exchange.mit.edu (18.9.1.111) by oc11expo28.exchange.mit.edu (18.9.4.99) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 6 Jul 2023 19:53:29 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.108) by oc11exhyb6.exchange.mit.edu (18.9.1.111) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Thu, 6 Jul 2023 19:53:29 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NnIdoHXNYhQjXFwdMwOCliPk5rJFBEzkPpwCu00812jhggziunteadljArQgeTiP1x0+7AF4Ii7/f8yHnLhO0xvhM0N/Ql7uTXKbIGJK8gxsu50d1q+XIdFT23YD4dKDpLeeCphyrQszRuVuxazeZdDFB2OOv0nGPMgFcMp7tbG7R0FsDP6hJSxOOWGovxyXDUZDmfL9JXn/ZOcpY1ZLzAi90rQkjJwPFWWB1curdsqRzqYcupB2kvtZvo8ud4p33uBM5elHFb4Ty7vIiieQQmJvpICH6nj5/CrTbSDUnui0JeXbbtDqeQhuve1LfT0bLq5PqnpcSVHiyfnONojUfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wC7fbGWkJw8EdKTLFvgEIaUACTMs40+Zuwc21H9e7DA=; b=XkGqgAVl7dzRr3QUCGbczpr0lyYT2rm1TyEPOhygOaR4AM+6yEKBNyfQwEI88qyfDxGOIkC5lJ0tpYAzHpsEbt0cfnqbUtgj/dJWvBT5vtgnEV4EqM4k82Ti6t8uOmdYYS3Jjj8A5GCwkgTxeQ/89ZxaYSnY54cOaKqcZg0DkyOsuRQqXykzQuYYOV3B18YVPF4jsBd8+T9x3Cp3RT1WvJLv7a1Q6FEk/BYjXFPFLN2502nn1GWDm22Sy28FdOW+f+GUSGalFH/w1N/2tnn2WLdsuUnDfVl/cptuz+/w4hDvSl1Z6XBNJCUcw58uUEddzWyFTHLIeWvNpH8tck4mwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mit.edu; dmarc=pass action=none header.from=mit.edu; dkim=pass header.d=mit.edu; arc=none Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by PH7PR01MB8198.prod.exchangelabs.com (2603:10b6:510:2b6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Thu, 6 Jul 2023 23:53:19 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::19cc:d2bf:6e20:ea9e]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::19cc:d2bf:6e20:ea9e%5]) with mapi id 15.20.6565.016; Thu, 6 Jul 2023 23:53:19 +0000 From: John F Carr To: Mark Millard CC: Current FreeBSD , freebsd-arm Subject: Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot Thread-Topic: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot Thread-Index: AQHZp8N/uTpg1cS6hEu7vp62QXQEiK+ten6A Date: Thu, 6 Jul 2023 23:53:18 +0000 Message-ID: References: <7A41DED4-876F-4270-A980-549A4832B39A.ref@yahoo.com> <7A41DED4-876F-4270-A980-549A4832B39A@yahoo.com> In-Reply-To: <7A41DED4-876F-4270-A980-549A4832B39A@yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|PH7PR01MB8198:EE_ x-ms-office365-filtering-correlation-id: 75f84eda-8d59-4b56-6e82-08db7e7c2c6d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Y57hOp8EI19I1P5Vds6NClJAYqNFuX/fos9P83ARog+UIvmHoOgmchvL15KQo4xeJcd7CmFKOm9HzC+43E8PdD1BKqgXQdFK6Zt7ZwL2q6kLemWZgsl+6rHT9NQ9sDf6+Q6nqgWDNyq4rggBJKGlQ4P+iwgIVxJVr+nxQfXRJ+7GUXxL0u5k7xAn16SmhHU2e2ydl7sGXUWkSV0xprcUUa8AaSnOqk7xsTjQHIzUQYp92q+bkIaZhgfOeYQE9WVCJb9dZU18LmrSvEnpY4l+fiYCm5NinLvROI655mAcxigzg+460ut5+mHuCQpF5Bz3c+tIo1QDBZNOEgc3hioR3DIieSHAEXIbNoJIsMRv6rJf0B4N0maQfFAXVA4hH9Ef5fTdXgA2LohOTD1sZB4DU6XUTLsE2+LMW0qxEItZr6THywpJlXrZVGRrgD/wXG8rdyVNZCMjTSaEUMGvJXjm+2cLyqowOWJ83SxZ2DOb4Jx0A75xhEDxSoAhNPLVFb61QZt6wsQUBfJYCxRvIaqp25N2bjRraUSGI8Ci33Is0HELnTQIYcvs74Y4eK72Eygk297yJgibWT8ySk+WX7VXJ6GDzJDGDQr04/BntnGak/5vb0pItGsLGEnKqlBj/jcM x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(366004)(346002)(376002)(39860400002)(396003)(451199021)(54906003)(6486002)(478600001)(71200400001)(76116006)(91956017)(53546011)(38070700005)(6506007)(6512007)(186003)(66946007)(66556008)(6916009)(41300700001)(786003)(66446008)(4326008)(316002)(5660300002)(64756008)(8676002)(8936002)(66476007)(122000001)(38100700002)(36756003)(75432002)(33656002)(83380400001)(26005)(2906002)(86362001)(2616005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TsDubmVPkdnjuAJvyPh0dNYqfzHg7N/vfz4amUaLIeyPEPtA2ucx3Of0j+kl?= =?us-ascii?Q?x1dB01T9YOE8Lw8hxRBzrVk7b/mWw4Kn2qX81vHMQmyAffK/ltac+9dGfA1H?= =?us-ascii?Q?B6qjAjWWG9q1H3J2inp0iOsqYsYduRVV9+KOJGI2xqB27I5HZIDs1CGR4mLg?= =?us-ascii?Q?s7vBsmOYUR/C9w0PvvCGj49dsu9XPpvbmPg9La1CDBif9Crw7RFGmHUqCr3p?= =?us-ascii?Q?h6GRiKDwMceYU4srFWG5vsFnC5Ocg6+buU3oaLPYroRUagmZk7wNgGI86zjp?= =?us-ascii?Q?E9YNw+F0FQcAAjRnyrT5pX7sllqrIFGXgdA1a2BMpAiHclRZ+IZhI1gSGfPU?= =?us-ascii?Q?N0O7Tz4htY7zIVqlEYX19JABoUjplWiG+cYwNIql5ebRfeEflAa6W//p3D0u?= =?us-ascii?Q?HhpiciOue5PDRYE8bwEriCBivhgrF/SmqNQzjWCBE8Dq2vcA1o2EieljT0RE?= =?us-ascii?Q?TDdBKrFpnrA7fUTLPwjatrfwaIEwFkh5PeRnwmJyuot4MDePO7YaFqyyAFo2?= =?us-ascii?Q?CmsHXcsb8795EwAtYPYhRqr9SMBmYzWIDPUnuZTg83POL8FjE8s8Mt0dbFOm?= =?us-ascii?Q?PCYqqv5cF0cMCu2ovK1FQ1/EA7/V1qPyIYNBH/qIpfaqd36clwfh3vGPegnO?= =?us-ascii?Q?9vIG1khEdzZOjTSV+veOnqY7RZljHwaNgCI81nMSCPqj3kdCZXM6ZzQXKThC?= =?us-ascii?Q?kbMzmvRPgCJ25g+eu8tuJ11cGZSFF9S+I1Jp4euTE0Y4klkqgq6iTo1srJov?= =?us-ascii?Q?wBjYS9Z2hdFyGMhhBgGds30O+paChWXo1DbOIgQyx6qm8kljnjDoUB+r9X62?= =?us-ascii?Q?VRg93jMIIyaoUxNs4MxrTAfkEIsYhXEVadZmkQpxC58Dutwiad772u+vIDPs?= =?us-ascii?Q?hAxtSAbuyAlj5enK/NX6cqcWjD+4KEoLngr/ogwEhdFjWbPEC9iP8nVqTXeS?= =?us-ascii?Q?VYPVprcnZNT/0+dHdWPDz/MNzOBMrl1R4cubidrGofvf7+UKq5qEV8/uex0x?= =?us-ascii?Q?tuVltVO9lmHUFy8rhjq1Ql2FZAjgf09ZOos1A55x/49BHQiHDilbqshON08O?= =?us-ascii?Q?taovxyVlUDeJL3qyAm5rwvaBD84A8qioat8SSChJXJ4ymAOPh+f0O6KG2eHL?= =?us-ascii?Q?O2tb5AAc3U11T1NaN3luu/esVr9cqKKS5o/NLzRPkuoqPvY/Afw5VnyM0TJp?= =?us-ascii?Q?Ynj+xN1/Fsjf9fvNxwUVEkRaj53Vwgd9VZYJ97o56YewiyPVix0Sbw8IQwRQ?= =?us-ascii?Q?8XM/HQEMvcacuTSGYMAL8uIDypJ7FpJOwH5xKhRQAf9nKWiClGUqqK9ecj2S?= =?us-ascii?Q?iYABkTnxTxPxdvQNfmvV2lHQCjx/iI7mokk2acEsK/l9IVnVJHZtb4RvQS1O?= =?us-ascii?Q?X1IYdc5XT/Rfrrz8+SSszXsy829U3i6se3V+cLMScE8o2y+U7Zw+iuRGSVCs?= =?us-ascii?Q?aQAPRpK1VJNqSJd05llyBaawmZHFzeP0QjwIxhmhIdBJwRf/bv9TPatvNmyQ?= =?us-ascii?Q?KDU/zg2cNingfJbBwWSRBOF4CLCAlRTlWcvvhoiYpNuZGlHYcQeiWErServo?= =?us-ascii?Q?qUsKKtG94PzTFxon6p8=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: 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 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75f84eda-8d59-4b56-6e82-08db7e7c2c6d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2023 23:53:18.9464 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +EkqoEDlNinAHzmaMJoZGHREp57fq+UyOYSBVbAJKb3aAZbiO3Vdp1yvlxzGXncV X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR01MB8198 X-OriginatorOrg: mit.edu X-Spamd-Result: default: False [-6.69 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_LONG(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[mit.edu,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.59:from]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[104.47.55.108:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FREEMAIL_TO(0.00)[yahoo.com]; DKIM_TRACE(0.00)[mit.edu:+]; TO_DN_ALL(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; RCVD_COUNT_SEVEN(0.00)[7] X-Rspamd-Queue-Id: 4Qxtdt5vchz4Xxs X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N > On Jun 25, 2023, at 20:16, Mark Millard wrote: >=20 > Using the likes of: >=20 > FreeBSD-14.0-CURRENT-arm64-aarch64-ROCK64-20230622-b95d2237af40-263748.im= g > and: > FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230622-b95d2237af40-263748.img >=20 > I have shown the following behavior after setting up storage > media based on them. (This was a test that my builds were not > odd for the issue.) >=20 > Boot the aarch64 media and log in. (Note: I logged in > as root.) >=20 > mount the armv7 media (-noatime is just my habit) > and then put it to use: >=20 > # mount -onoatime /dev/da1s2a /mnt >=20 > # chroot /mnt/ >=20 > # kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin > sys/kern/kern_copyin:kern_copyin -> =20 >=20 > On the serial console: >=20 > # ps -xu > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 11 1498.4 0.0 0 256 - RNL 23:24 542:52.92 [idle] > root 1174 100.0 0.0 0 16 - Rs 23:37 0:00.00 /usr/tests/sy= s/kern/kern_copyin -vunprivileged-user=3Dtests -r/tmp/kyua.9YUttj/2/result.= atf kern_copyin > root 0 0.0 0.0 0 1616 - DLs 23:24 0:00.50 [kernel] > root 1 0.0 0.0 11704 1288 - ILs 23:24 0:00.02 /sbin/init > root 2 0.0 0.0 0 256 - WL 23:24 0:00.26 [clock] > root 3 0.0 0.0 0 272 - DL 23:24 0:00.00 [crypto] > root 4 0.0 0.0 0 80 - DL 23:24 0:00.95 [cam] > root 5 0.0 0.0 0 16 - DL 23:24 0:00.00 [busdma] > root 6 0.0 0.0 0 16 - DL 23:24 0:00.03 [rand_harvest= q] > root 7 0.0 0.0 0 48 - DL 23:24 0:00.06 [pagedaemon] > root 8 0.0 0.0 0 16 - DL 23:24 0:00.00 [vmdaemon] > root 9 0.0 0.0 0 160 - DL 23:24 0:00.38 [bufdaemon] > root 10 0.0 0.0 0 16 - DL 23:24 0:00.00 [audit] > root 12 0.0 0.0 0 880 - WL 23:24 0:11.81 [intr] > root 13 0.0 0.0 0 48 - DL 23:24 0:00.04 [geom] > root 14 0.0 0.0 0 16 - DL 23:24 0:00.00 [sequencer 00= ] > root 15 0.0 0.0 0 160 - DL 23:24 0:06.42 [usb] > root 16 0.0 0.0 0 16 - DL 23:24 0:00.10 [acpi_thermal= ] > root 17 0.0 0.0 0 16 - DL 23:24 0:00.00 [acpi_cooling= 0] > root 18 0.0 0.0 0 16 - DL 23:24 0:00.04 [syncer] > root 19 0.0 0.0 0 16 - DL 23:24 0:00.00 [vnlru] > root 671 0.0 0.0 13260 2600 - Is 23:25 0:00.00 dhclient: sys= tem.syslog (dhclient) > root 674 0.0 0.0 13260 2752 - Is 23:25 0:00.00 dhclient: dpn= i0 [priv] (dhclient) > root 761 0.0 0.0 14572 3972 - Ss 23:25 0:00.02 /sbin/devd > root 964 0.0 0.0 12832 2764 - Is 23:25 0:00.02 /usr/sbin/sys= logd -s > root 1033 0.0 0.0 13012 2604 - Ss 23:25 0:00.01 /usr/sbin/cro= n -s > root 1058 0.0 0.0 21052 8308 - Is 23:25 0:00.01 sshd: /usr/sb= in/sshd [listener] 0 of 10-100 startups (sshd) > root 1078 0.0 0.0 21288 9304 - Is 23:26 0:00.09 sshd: root@pt= s/0 (sshd) > root 1175 0.0 0.0 21288 9496 - Is 23:37 0:00.04 sshd: root@pt= s/1 (sshd) > root 1074 0.0 0.0 13380 3008 u0 Is 23:25 0:00.01 login [pam] (= login) > root 1075 0.0 0.0 13460 3292 u0 S 23:25 0:00.02 -sh (sh) > root 1233 0.0 0.0 13588 3016 u0 R+ 00:00 0:00.00 ps -xu > root 1081 0.0 0.0 13460 3328 0 Is 23:26 0:00.02 -sh (sh) > root 1170 0.0 0.0 5788 2884 0 I 23:36 0:00.02 /bin/sh -i > root 1172 0.0 0.0 10408 7192 0 I+ 23:37 0:00.30 kyua test -k = /usr/tests/Kyuafile sys/kern/kern_copyin > root 1178 0.0 0.0 13460 3320 1 Is+ 23:38 0:00.01 -sh (sh) >=20 > 1174 is stuck, even if one waits for 30min+. > kill and kill -9 will not kill 1174. >=20 > "shutdown -r now" hangs before the reboot happens > and reports: "some processes would not die". >=20 > An interesting property is that ps and top disagree > about 1174 CPU usage: ps 100%, top 0%. But top also > indicates 1174 always has CPU0 "STATE". (Across > tests CPUn varies but within a test it has > a fixed n.) >=20 > I have also seen ps "STAT" being RXs. >=20 > The following is from my earlier activity with my own > builds involved, here 1119, not the 1174 from above. > truss reports as the last thing for the stuck process > as "getpid()". >=20 > . . . > 1119: 0.588983953 fstatat(AT_FDCWD,"/usr/tests/sys/kern/kern_copyin",{ mo= de=3D-r-xr-xr-x ,inode=3D111756,size=3D9776,blksize=3D10240 },AT_SYMLINK_NO= FOLLOW) =3D 0 (0x0) > 1119: 0.589065030 mmap(0x0,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANO= N|MAP_ALIGNED(12),-1,0x0) =3D 1074188288 (0x4006d000) > 1119: 0.589227544 openat(AT_FDCWD,"/tmp/kyua.aBQv6E/2/result.atf",O_WRONL= Y|O_CREAT|O_TRUNC,0644) =3D 3 (0x3) > 1119: 0.589276503 getpid() =3D 1119 (0x45f) >=20 >=20 >=20 > For reference, from inside an armv7 chroot session > before doing such a test: >=20 > # uname -apKU > FreeBSD generic 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n263748-b95d223= 7af40: Thu Jun 22 11:10:50 UTC 2023 root@releng1.nyi.freebsd.org:/usr/o= bj/usr/src/arm64.aarch64/sys/GENERIC arm armv7 1400090 1400090 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com >=20 The hang is caused by the sysctl call in tests/sys/kern/kern_copyin.c. The= function below hangs when called in a 32 bit ARM process running in a chro= ot environment on a 64 bit ARM system. I will write up a bug report. static int get_vm_layout(struct kinfo_vm_layout *kvm) { size_t len; int mib[4]; mib[0] =3D CTL_KERN; mib[1] =3D KERN_PROC; mib[2] =3D KERN_PROC_VM_LAYOUT; mib[3] =3D getpid(); len =3D sizeof(*kvm); return (sysctl(mib, nitems(mib), kvm, &len, NULL, 0)); }