From nobody Fri Mar 22 00:34:30 2024 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 4V13Hn6Pxtz5FBDS for ; Fri, 22 Mar 2024 00:34:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (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 4V13Hl4Y3fz4vnk for ; Fri, 22 Mar 2024 00:34:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=mC6T0g0u; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1711067681; bh=iLYWG2ZvoimYjH0Olva8QsVECL6yMZrW4x8SP2BqNck=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=mC6T0g0u2u8KVRYqT0pBQrxomgjVzIprD4jAeg+JDiEOJDUG2pwBz/FwVTphfar4MEZd9/gENiKlJ3ZMZhQjy5+cxOAkN2i7yn9iWnfrrxOcN2PEl6WtOOzb6nvFVOPkAZtxM4J0zYdTCGAfrL3IroLgoSBopw3AfDU5hgC0gBqsddk9aczbnyWdnerUU8m26+09cMTczjh/yFSsxw8BpMs7RjChk98tgxExweLdbwt00XhVI2YiV7VTQXotRBlQis8jQ4EtqfkTzl4CM9F3ra37DzGKarqlEqtKt0ISTU4LUBKanqDXNUv55GVxVvBYh0/kkJTu6E1ZlemO1ByPoQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1711067681; bh=WEM5P7p/1MD/c70lna/+5UUQDkHnj9SeANUJRoTYQcs=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=mC3y/J7x7udQ3hFQ2BJyLiBlsicwyh1Obnfu5IwHd9zTzzxCXp33M1Um4xpT619UV7b+soilcAqibMcPedQTAKgQAW2QYXmOx0cjFaHRzGB5t0h3trM8ULf3jsrnOPC/R8tI6ozV7sbvRqmrYYupWh1x388GBHmGQvGYjeHNVkK7ioNUC70lANa37bl7AHQZBYII6HXpq+wRuLEimx+rrBWLboRmE7aoAtnbsHRjTX7m1X8zdYPheiSOt/i+Q+GA869Wl66/4LUMQgvlvJFaL70HraobrJQ6SHYgT5RRBROZTS5G9z8jOsLe4eYCTtRVmMMcPUXSnCkd0QMbiMb5Qw== X-YMail-OSG: LBPUFCkVM1kO8lzBGY_W5SliZihxXT2aIe3DvXEsqESAa69VVMxLVEo3LiEz_Kw Ydn_GtUveYUicm6nzsmfh7XHn.8UZQzPZe1vVldBkZkWXCXNBgv1cbF5PMnOW97MiN_m3_zF1mgj hIoGnQUlBxSJQR0KOW3dtR2wNk4hhq3UOITYC8jKxBGbdBM1RU1rYwsRBr4bRoMSyIV6KgccPZbk 6O0T8Rn4HpoFUjtD1VTqQSARPbSGXGUwzl.ectgOpqtm.vR3cdKCtoI4L3uCFlStr5xO44kPpKx1 tGTo9gERUNOM5QFZ3.xWifrFEapjfOtMxqCQlQLWVQF.qwV_v_x0b529QOfYkeL25w.zJgXI8efc Jml3ug3tQE_TLa8.MGSdvfJDgCuWWB1VqfjcN5Xot1Koq0oyyeZG0_gkdZpQQSFYTLp4QpMrOQs5 y4VHUYFQSJpEuWchROpV4pey5nh8Q60dLyAiJaeWaNtMpGKL168uE_PgmibxvhFBvrwyBgDwj.1_ YS_udTqyHIbhapK8hemJgeXC5WGk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ZtvH4AU3A5RvfmyJ5IhPY4MQUpY3RrCm 3o3dlhyv.QD1rimF8sIE7h2zhwEXTNIciWl8G56jCChrEhEDgkDn7bxdMhqpfDHc2QEFBbXSxgp8 49e94wO9k06UWB_Wwo0EmtMEVFMgyQ1bgijm1t6GDEI4qL17koFldkcb0WR_Lzpzd7S0IYn116uH LdJBE6jFEt1IcxMjE7GFReLdwi9A5nDdit4GSy6uCaeoRME2KW6.PD5IukKQcuhqd47.GG42nUHk gFna8dgnsT4TFUPkmvU.bwvSc.VAkSj0OXkB9TxukVhCF0fb7xvq3sj8f09dJNttrdRPnsURCoqe VUVsAsN3GIsTLUh99YzbS9kzc74mtaS9YYtQ76UnKYtLBbdN7CVePtT1Zz_srG9inOMRXg5pcU_N dZhbzRdn46J_eUjEUPUybiUdtnDElloobXYgTI8xX_SvLbhxGNu07WnP78QAqhCnK699VAFN8XS. 5cTBUxX6GP2wapQ8uJrBFiBSOCkwwtY45xBv9wCihcG6w0TfzbIjEiRZnVT4P7KVd3NDgOdaB2aO B3NzWwuLzyZ2RyU1CWxBHd5qwWz_mQRj9DItvwhjzvBE8uCHh.6WPg_xdcxdPLwhnBtH_WEvmfvu qREaGwQRueIHzwWZF17Ra_FHYyyyMRk8SQ8Dz.5XWLWp0DCRYPFC7QyXSJS3dbJ05xIK_89l.teu 7 X-Sonic-MF: X-Sonic-ID: a765e4d7-d6c9-4cc9-8e6f-51fdcd32e5ac Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Fri, 22 Mar 2024 00:34:41 +0000 Received: by hermes--production-gq1-5c57879fdf-bmngc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 27290ee8c32ec341c97ed35d6a69c07e; Fri, 22 Mar 2024 00:34:41 +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 \(3774.400.31\)) Subject: main aarch64: poudriere-devel [UFS context] cpdup stuck in pgnslp state Message-Id: Date: Thu, 21 Mar 2024 17:34:30 -0700 Cc: FreeBSD Mailing List To: Current FreeBSD , FreeBSD ARM List X-Mailer: Apple Mail (2.3774.400.31) References: X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; 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]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from] X-Rspamd-Queue-Id: 4V13Hl4Y3fz4vnk Note, more recent process creations towards top, older ones towards = bottom: PID JID USERNAME PRI NICE SIZE RES STATE C TIME = CPU COMMAND . . . 33693 19 root 68 0 6524Ki 3252Ki wait 3 0:00 = 0.00% /usr/bin/make -C /usr/ports/lang/gcc13 build 33692 0 root 68 0 15728Ki 3552Ki wait 0 0:00 = 0.00% sh: poudriere[main-CA7-default][02]: build_pkg (gcc13-13.2.0_4) = (sh) 30174 0 root 68 0 15728Ki 3564Ki select 3 0:00 = 0.00% sh: poudriere[main-CA7-default][02]: build_pkg (gcc13-13.2.0_4) = (sh) 26338 0 root 66 0 17740Ki 5044Ki pgnslp 0 0:01 = 0.00% cpdup -i0 -s0 -f -x ref 01 26308 0 root 68 0 15728Ki 3556Ki wait 0 0:00 = 0.00% sh: poudriere[main-CA7-default][01]: build_pkg (boost-libs-1.84.0) = (sh) 33592 0 root 26 0 15728Ki 3388Ki piperd 2 0:01 = 0.00% sh: poudriere[main-CA7-default]: pkg_cacher_main (sh) 29205 0 root 68 0 15728Ki 3392Ki nanslp 2 1:52 = 0.14% sh: poudriere[main-CA7-default]: html_json_main (sh) 28834 0 root 20 0 15728Ki 3548Ki select 3 0:01 = 0.00% /usr/local/libexec/poudriere/sh -e = /usr/local/share/poudriere/bulk.sh -jmain-CA7 -c -f = /root/origins/CA7-origins.txt 28833 0 root 20 0 13560Ki 1924Ki wait 3 0:00 = 0.00% /bin/sh /root/build-ports-main-CA7.sh -c . . . pgnslp seems to be from: vm_page_acquire_unlocked in sys/vm/vm_page.c . That in turn looks to be using vm_page_grab_sleep : if (!vm_page_grab_sleep(object, m, pindex, "pgnslp", allocflags, false)) return (false); and: /* * vm_page_grab_sleep * * Sleep for busy according to VM_ALLOC_ parameters. Returns true * if the caller should retry and false otherwise. * * If the object is locked on entry the object will be unlocked = with * false returns and still locked but possibly having been dropped * with true returns. */ static bool vm_page_grab_sleep(vm_object_t object, vm_page_t m, vm_pindex_t pindex, const char *wmesg, int allocflags, bool locked) { =20 if ((allocflags & VM_ALLOC_NOWAIT) !=3D 0) return (false); =20 /* * Reference the page before unlocking and sleeping so that * the page daemon is less likely to reclaim it. */ if (locked && (allocflags & VM_ALLOC_NOCREAT) =3D=3D 0) vm_page_reference(m); =20 if (_vm_page_busy_sleep(object, m, pindex, wmesg, allocflags, = locked) && locked) VM_OBJECT_WLOCK(object); if ((allocflags & VM_ALLOC_WAITFAIL) !=3D 0) return (false); return (true); } . . . [10:08:06] [01] [00:00:00] Building devel/boost-libs | boost-libs-1.84.0 . . . # poudriere status -b [main-CA7-default] [2024-03-21_06h23m31s] [parallel_build] Queued: 265 = Built: 213 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 0 Tobuild: = 52 Time: 10:50:40 ID TOTAL ORIGIN PKGNAME = PHASE TIME TMPFS CPU% MEM% [01] 00:42:40 devel/boost-libs | boost-libs-1.84.0 = starting 00:42:40 951.54 MiB =20 . . . Unfortunately: A) The booted kernel is my personal build based on -mcpu=3Dcortex-a76 and LSE_ATOMICS . (It is in use on a RPi5 booted via EDK2.) B) The booted world is a PkgBase world. C) The poudriere jail's world directory tree is my personal armv7 world build based on -mcpu=3Dcortex-a7 . All are based on: main-n268827-75464941dc17 . (Well, PkgBase commit identification/verification for world does not exist. I happened to update PkgBase during a long lull for commits to main. In the context, the boot-world seems unlikely to be involved here.) The boot media is a U2 Optane 960 GB used via a USB3 adaptor. I've done bunches of builds in the (A)-(C) context on the RPi5 and have not seen this before, so: does not look to be readily repeatable. (Unfortunately, the purpose of the build was to find out how long the particular build configuration took to finish building the 265 packages from scratch, for comparison to other builds.) I may wait for the system to become fairly idle and then see about forcing a crash dump. It may be a while before the poudriere bulk runs out of packages it can build, absent building boost-libs . Side note: As far as I can tell, how to identify a context that allows identification of what commit vintage a PkgBase world is based on is unspecified so far. For a PkgBase kernel uname -apKU may well report the kernel-commit identification well. (Hard to verify.) =3D=3D=3D Mark Millard marklmi at yahoo.com