From nobody Mon Oct 21 08:00:31 2024 X-Original-To: freebsd-current@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 4XX75v0Dn9z5YdYn for ; Mon, 21 Oct 2024 08:00:35 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XX75t6Bzpz4XZC; Mon, 21 Oct 2024 08:00:34 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729497634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=ExnNYgiX9OWMwyoqpeuYy3+GUwc2Hz6n8Gr1vZHWreA=; b=Kduv12+tx644t/XWKugnDsfYv62HuYq8qYlOgiQZH85hyFES0ilVVXefGKNdgfD0RxAEv8 4T+ahUQ66WG5OqLAK7NfXXbEBMEzWGl80byWQxNA2u1dRAzK7JlWzbJLPGr9QUANiTp2lP 1JVAYcrkGCLKAjsV0CR4nH13kFglwXyiVqPJCHMHlZN+wYcvZF2ES7N1MVRRx4s0re+FDV Oprp0R1ei+qIC2bS9aYc2sHoAybK9nAGwgmJ65TAFzB4eNJO0TzwZ6knywCwbSX8Zosii7 RqYhwu5S5dbb45sTs3e3BpP5vmWDgK+SoqhdRp1qXLhK99BQ7GraMmYGGOCLwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729497634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=ExnNYgiX9OWMwyoqpeuYy3+GUwc2Hz6n8Gr1vZHWreA=; b=Tfo3E8C/srsmtsvlABEIIpuAJG0lugqZvYf4x2aFpHDboJvOfxieVzGI/+kPfJtziNhNAR x0N1rryakDMjQLSYAJrHI6ft3RhEGmHWdbt6jOoMIO4b8x/nBbEWZGfBgZ03JaoMuInGPR Cn3lE9zx3Wn2GK1UJTqug/127H1vWDLgEapsZ5S2rvhgsYgEPVuSBj38aCP7CKztliF0QI WTo6QWsnvzvQCSIqmm3S7thYdAgVh5KeMkgYC+CBiIVeja7sS/pZ/mVtpQGN9Vs6zlSKnX t8Dd5H3u2+cD/gBpUp3gmw+XzI09HP6ojMWswVJCe14pnS9+UuIsI6cFOKq1JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729497634; a=rsa-sha256; cv=none; b=e1tQGg7JfOLqgit8NxEO5GG4NDmVGuWXSUC/gfKpbREQFoFzG45DEI80SCfQFei+veJCJL CcGh46l6RNP/RRgA+0dwo1hV4i0s+3XMdsg488FIUuDELhtwkss4t+XFNzBtBHfrNlQsEr bFgjcLkmRRY6JVfrbbV4XkkYuDmzpFHtpauoAcIp/LQGkkMPwYI7ERfkVLq5YRatSLrACI RXG7ovDx2cT5xyR0tTdqUYblnOZ3uIhy10T73WBw+L2R0KRNLL7HsT8Cub2CwyLVI2CBKK 3T8qdQmE37Xvg4SLrTQB3QvF6rC8j7RVP/6G0VO4x2YvJT0bqveVrSRkMhVOmQ== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XX75t2dzQzcNm; Mon, 21 Oct 2024 08:00:34 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Mon, 21 Oct 2024 01:00:31 -0700 From: Gleb Smirnoff To: freebsd-current@freebsd.org, src-committers@freebsd.org Subject: October 2024 stabilization week Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi FreeBSD/main users & developers: This is an automated email to inform you that the October 2024 stabilization week started with FreeBSD/main at main-n273082-525a177c1657, which was tagged as main-stabweek-2024-Oct. Those who want to participate in the stabilization week are encouraged to update to the above revision/tag and test their systems. The tag main-stabweek-2024-Oct has been published at Gleb Smirnoff's github repo. To connect this repo as an additional remote you need to run: git remote add glebius https://github.com/glebius/FreeBSD Once remote is configured, to checkout the tag run: git fetch glebius --tags git checkout main-stabweek-2024-Oct If you want to use only the official FreeBSD repo, then update to the revision: git pull git checkout 525a177c1657 Developers are encouraged to avoid pushing new features to FreeBSD/main during the stabilization week, but focus on bugfixes instead. The stabilization week runs up to Friday 18:00 UTC, but if there is consensus that any regressions discovered by participants have been fixed, it will end early. Once that happens, the advisory freeze of FreeBSD/main branch is thawed. -- Gleb Smirnoff From nobody Mon Oct 21 11:50:31 2024 X-Original-To: current@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 4XXDCM5NV2z5YtkK for ; Mon, 21 Oct 2024 11:50:39 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XXDCM0qYWz47d1; Mon, 21 Oct 2024 11:50:38 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49LBoV6g019539; Mon, 21 Oct 2024 11:50:31 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49LBoVjc019538; Mon, 21 Oct 2024 04:50:31 -0700 (PDT) (envelope-from david) Date: Mon, 21 Oct 2024 04:50:31 -0700 From: David Wolfskill To: current@freebsd.org Subject: Build/install failures at main-n273082-525a177c1657 Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0lzP3TYJQtCZBGHL" Content-Disposition: inline In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Queue-Id: 4XXDCM0qYWz47d1 X-Spamd-Bar: ---- --0lzP3TYJQtCZBGHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running: FreeBSD freebeast.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #5 main-= n273063-4ad443a106d3: Sat Oct 19 10:38:11 UTC 2024 root@freebeast.catwh= isker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500025 1500= 025 after updating sources to main-n273082-525a177c1657 (note that this includes main-n273071-0077477f215c, and is at the "stabilization week" poin= t) (meta-mode, with -j 112): =2E.. Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/audit/miscellaneous.f= ull (cd /usr/src/rescue/rescue/../../bin/hostname && make MK_PIE=3Dno NO_SHARE= D=3Dyes - DRESCUE CRUNCH_CFLAGS=3D-DRESCUE CRUNCH_CFLAGS+=3D-I/common/S4/obj/usr/src/= amd64.amd 64/lib/libifconfig CRUNCH_CFLAGS+=3D-I/common/S4/obj/usr/src/amd64.amd64/li= b/libis csiutil MK_AUTO_OBJ=3Dyes DIRPRFX=3Drescue/rescue/hostname/ depend && make = MK_PIE=3Dno NO_SHARED=3Dyes -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE CRUNCH_CFLAGS+=3D-I/comm= on/S4/obj/u sr/src/amd64.amd64/lib/libifconfig CRUNCH_CFLAGS+=3D-I/common/S4/obj/usr/sr= c/amd64 =2Eamd64/lib/libiscsiutil MK_AUTO_OBJ=3Dyes DIRPRFX=3Drescue/rescue/hostnam= e/ hostname =2Eo) Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/esdb/APPLE/MACARABIC= =2Eesdb Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/esdb/ISO-2022/ISO-20= 22-JP =2Eesdb Building /common/S4/obj/usr/src/amd64.amd64/share/man/man3/pthread_suspend_= all_np.3.gz *** [sample1_unittest.full] Error code 1 make[8]: stopped making "all" in /usr/src/share/examples/tests/tests/google= test =2EERROR_TARGET=3D'sample1_unittest.full' =2EERROR_META_FILE=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tes= ts/tests/googletest/sample1_unittest.full.meta' =2EMAKE.LEVEL=3D'8' MAKEFILE=3D'' =2EMAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'c++ -target x86_64-unknown-freebsd15.0 --sysroot=3D/common/S4= /obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/b= in -O2 -pipe -fno-common -fPIE -g -gz=3Dzlib -Wno-format-zero-length -fstac= k-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-u= nused-parameter -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -= Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wdate-t= ime -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -W= no-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Qunused-arg= uments -I/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/private -DGTEST= _HAS_POSIX_RE=3D1 -DGTEST_HAS_PTHREAD=3D1 -DGTEST_HAS_STREAM_REDIRECTION=3D= 1 -frtti -fPIE -std=3Dc++14 -Wno-c++11-extensions -Wl,-zrelro -pie -o sa= mple1_unittest.full sample1_unittest.o sample1.o -lprivategtest_main -lpri= vategtest;' =2ECURDIR=3D'/usr/src/share/examples/tests/tests/googletest' =2EMAKE=3D'make' =2EOBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tests/tests/= googletest' =2ETARGETS=3D' all' CPUTYPE=3D'' DESTDIR=3D'/common/S4/obj/usr/src/amd64.amd64/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MACHINE_CPUARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20240711' PATH=3D'/common/S4/obj/usr/src/amd64.amd64/tmp/bin:/common/S4/obj/usr/src/a= md64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin:/com= mon/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/common/S4/obj/usr/src/a= md64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy= /bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:= /usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/common/S4/obj/usr/src/amd64.amd64' =2EMAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.e= nv.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/= bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/local.sys.m= achine.mk /usr/src/share/mk/meta.sys.mk /usr/src/share/mk/local.meta.sys.en= v.mk /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/m= ake.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/s= rc.conf /usr/src/share/examples/tests/tests/googletest/Makefile /usr/src/sh= are/mk/bsd.test.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts= =2Emk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk /usr/src= /share/mk/src.init.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.co= mpiler.mk /usr/src/share/mk/bsd.endian.mk /usr/src/share/mk/bsd.linker.mk /= usr/src/share/mk/googletest.test.mk /usr/src/share/mk/googletest.test.inc.m= k /usr/src/share/mk/plain.test.mk /usr/src/share/mk/tap.test.mk /usr/src/sh= are/mk/atf.test.mk /usr/src/share/mk/suite.test.mk /usr/src/share/mk/bsd.pr= ogs.mk /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.sanitizer.mk /us= r/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/s= hare/mk/src.opts.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.conf= s.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.dirs.mk /usr/src/= share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.m= an.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk /= usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/= mk/bsd.sys.mk /dev/null' =2EPATH=3D'. /usr/src/share/examples/tests/tests/googletest /usr/src/contri= b/googletest/googletest/samples' make[8]: 1 error Building /common/S4/obj/usr/src/amd64.amd64/share/man/man3/pthread_suspend_= np.3.gz =2E... I then made copies of the ERROR_META_FILE and the build typescript (available at https://www.catwhisker.org/~david/FreeBSD/head/n273082/), then run "make clean" and re-tried the build. That time, the build itself succeeded, but install failed with a claim of a mising zoneinfo file for Africa/Abidjan: =2E.. =3D=3D=3D> share/zoneinfo (install) mkdir -p /usr/share/zoneinfo (cd /usr/share/zoneinfo; mkdir -p Africa America/Argentina America/India= na America/Kentucky America/North_Dakota Antarctica Arctic Asia Atlan= tic Australia Etc Europe Indian Pacific US Mexico Chile Canada Brazil) for f in `cat zonefiles`; do install -o root -g wheel -m 444 /common/S4= /obj/usr/src/amd64.amd64/share/zoneinfo/builddir/${f} /usr/share/zoneinfo/$= {f}; done install: /common/S4/obj/usr/src/amd64.amd64/share/zoneinfo/builddir/Africa/= Abidjan: No such file or directory *** Error code 71 Stop. make[5]: stopped making "install" in /usr/src/share/zoneinfo *** Error code 1 =2E... Checking, it seems that /common/S4/obj/usr/src/amd64.amd64/share/zoneinfo/ lacks the "builddir" subdirectory entirely: freebeast(15.0-C)[14] ls -lTa /common/S4/obj/usr/src/amd64.amd64/share/zone= info/ total 76 drwxrwxr-x 3 root wheel 512 Oct 21 04:04:52 2024 . drwxrwxr-x 30 root wheel 1024 Oct 14 04:11:20 2024 .. drwxrwxr-x 2 root wheel 512 Oct 21 04:17:35 2024 tests -rw-r--r-- 1 root wheel 9084 Oct 20 04:42:01 2024 zonefiles -rw-r--r-- 1 root wheel 52358 Oct 20 04:42:01 2024 zonefiles.meta freebeast(15.0-C)[15] [Timestamps in the above "ls" output reflect America/Los_Angeles (UTC-0700).] I have copied the (cumulative) typescript (as "install_typescript.txt" at https://www.catwhisker.org/~david/FreeBSD/head/n273082/. Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --0lzP3TYJQtCZBGHL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxZAB18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5ZXKAQDUevivwYVUsyIndQZNmzSzYKbMMbmoKlsKSegv9A0o/AEA7GU1ZL2S6+Xp oebTGhQJuVnsCsNY6EEwQpcXuFebQwk= =+LWW -----END PGP SIGNATURE----- --0lzP3TYJQtCZBGHL-- From nobody Mon Oct 21 15:01:27 2024 X-Original-To: current@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 4XXJRb0Vqqz5ZNck for ; Mon, 21 Oct 2024 15:01:31 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XXJRY5hSSz4cjj for ; Mon, 21 Oct 2024 15:01:29 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49LF1R8k021012 for ; Mon, 21 Oct 2024 15:01:27 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49LF1RaF021011 for current@freebsd.org; Mon, 21 Oct 2024 08:01:27 -0700 (PDT) (envelope-from david) Date: Mon, 21 Oct 2024 08:01:27 -0700 From: David Wolfskill To: current@freebsd.org Subject: Re: Build/install failures at main-n273082-525a177c1657 Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1EZcwrTPewWlNZAN" Content-Disposition: inline In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Queue-Id: 4XXJRY5hSSz4cjj X-Spamd-Bar: ---- --1EZcwrTPewWlNZAN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 21, 2024 at 04:50:31AM -0700, David Wolfskill wrote: > ... > That time, the build itself succeeded, but install failed with a claim > of a mising zoneinfo file for Africa/Abidjan: > .... So on a laptop, once it got to this point, I restored a copy of /usr/obj/usr/src/amd64.amd64/share/zoneinfo/builddir that I had saved =66rom just before the "make clean"; re-attempting the "make installworld" worked at that point. In case that's useful. Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --1EZcwrTPewWlNZAN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxZsx18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5Zk3APsHgkmAcoorZmquqF8UatfDjLR33nF4FsYJtIfUV5/1ZAD+NGxwExYofbZD OqsC7IakX+AYELINzBfR+lhYzkmjqgM= =VZup -----END PGP SIGNATURE----- --1EZcwrTPewWlNZAN-- From nobody Mon Oct 21 19:02:50 2024 X-Original-To: freebsd-current@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 4XXPp61kxsz5ZfV9 for ; Mon, 21 Oct 2024 19:02:54 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XXPp50jVDz4Qrd for ; Mon, 21 Oct 2024 19:02:53 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm3 header.b=QtDdITDA; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=QZeA7QKa; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 6A8FF11400B5 for ; Mon, 21 Oct 2024 15:02:52 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 21 Oct 2024 15:02:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1729537372; x=1729623772; bh=k35hgmyDnW Ftmfw3+tilhdcXR89ue5wSwN9TKKNfL8M=; b=QtDdITDAcQlWaaZNxvlztSWBn+ I3aoKhH//gTYJaubH0xJYFK+kW60CYNWWKqMOeDe/nkyMje0TXm78/o5eUDWJYdq ImYAWahKT/n8cQobhvzwJZ2oetZLypxeHp4GRND+qPp4rty/QXfzkLuESxRj5ScF rV85d4h3CAz5c1wcKp3sHyxHlINiUTFWoMoTLydOdbgr8KIUrPiADYSNwj52ynQH hG/bPTC3B8H99292IxEQh0ozYEn1C/v4MTrn21AtUa29SBzecAiyZIpY2ifALpxG T3Hqf9S5S24ycu3uwneDxNDhN2E9l+x1hPTf6H/pRBK6T6ceK+CB8ZRFu12g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1729537372; x=1729623772; bh=k35hgmyDnWFtmfw3+tilhdcXR89u e5wSwN9TKKNfL8M=; b=QZeA7QKaKT3wXgo0lmUpHoMDNef8vKzm2ExQIPQ/HCW0 nRE3QfxcYW11aExyJj0fJbAG3Wudq8cipXUwvP/6s1irr1HTpo39fohv9qdw7Yw4 LrE1zD6gpwZwgKURVVX9xoEHwC5lXBtUJbNTz9ADZbx4AZBeacH4Vw5oaxcy1W5O QTiAkL1gPFi08wr5ldY5LlNXPv/HqKpy+j+5EsMfMSxF4JpuiKz2hRgaJYGX7J3O kIYidZ9ZUFOrFEXN1KVKepl7SmfmV2ZFAtmouzRFL3AMpzXKv535LeQ2wStx3b4I qBcgWSro3Ca6iNCvopjHDudtoDHkSR4gFmmsKW+PMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehledgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdq mhdrfhhmqeenucggtffrrghtthgvrhhnpeekleduvdelhfeileefgffghfffkedtheelle fgudfgvdegkeejjedutdehhefgueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehvohhiugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhht sehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Oct 2024 15:02:51 -0400 (EDT) Date: Mon, 21 Oct 2024 20:02:50 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: Build failure in share/examples/tests/tests/googletest/sample1_unittest.full Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm3,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.147:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XXPp50jVDz4Qrd X-Spamd-Bar: --- On Sun, Oct 20, 2024 at 05:14:29AM -0700, David Wolfskill wrote: >This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld". I'm just guessing here - but ISTR that with large -j that sometimes a build failure can occur. I've just had one where I forgot where I was and ran a -j10 buildworld on a rpi4, and this failed halfway through. Now building with a much more reasonable -j4 ;) -- From nobody Mon Oct 21 20:35:39 2024 X-Original-To: freebsd-current@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 4XXRsB2Xbkz5ZktF for ; Mon, 21 Oct 2024 20:35:42 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XXRs90dXXz4dV2 for ; Mon, 21 Oct 2024 20:35:40 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org; dmarc=none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49LKZdes025281 for ; Mon, 21 Oct 2024 20:35:39 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49LKZdvR025280 for freebsd-current@freebsd.org; Mon, 21 Oct 2024 13:35:39 -0700 (PDT) (envelope-from david) Date: Mon, 21 Oct 2024 13:35:39 -0700 From: David Wolfskill To: freebsd-current@freebsd.org Subject: Re: Build failure in share/examples/tests/tests/googletest/sample1_unittest.full Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XL11PpaemOzX8g6m" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-4.90 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.50)[-0.497]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; MID_RHS_MATCH_FROMTLD(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; HAS_REPLYTO(0.00)[current@freebsd.org] X-Rspamd-Queue-Id: 4XXRs90dXXz4dV2 X-Spamd-Bar: ---- --XL11PpaemOzX8g6m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 21, 2024 at 08:02:50PM +0100, void wrote: > On Sun, Oct 20, 2024 at 05:14:29AM -0700, David Wolfskill wrote: >=20 > > This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld". >=20 > I'm just guessing here - but ISTR that with large -j that sometimes a bui= ld > failure can occur. I've just had one where I forgot where I was and ran a= -j10 > buildworld on a rpi4, and this failed halfway through. >=20 > Now building with a much more reasonable -j4 ;) > .... FWIW, I had a recurrence of those errors on a couple of 4x2 machines running with -j 14. And I really wouldn't want to be throttling a 32x2 machine down to -j 14. Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --XL11PpaemOzX8g6m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxa7G18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5V9mAQDwhdt4/xi2uAgRUCjRShN2/ycDBY4g0xCdmiU/M9uYTQEA8BcNl/KKOVD7 nA2LX6ErfxCzPooxpXuhlIHvy+5boA0= =4o7R -----END PGP SIGNATURE----- --XL11PpaemOzX8g6m-- From nobody Tue Oct 22 07:15:48 2024 X-Original-To: freebsd-current@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 4XXk401F2lz59C1G; Tue, 22 Oct 2024 07:16:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXk400hXsz4HL5; Tue, 22 Oct 2024 07:16:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729581360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R+8mbnacklzzA7SnqwnceUCKrWuG0ZghZjiI/Dp1lDo=; b=A0tYlNBCSYI2AQYpJh/N5Y+4OiFSmkuVNRtYYi+UBN998KkCX2PJXmE96pzRlHw/kxsEEm xy4gKgMu1GIGSt0F7I89HJMo+37ljEe2QNCH7mQfauDqEPYsh9BFkgHnSQeHsc/MFNzQIS mAum2/9+mhVLfcSvPBIeBOCT5+XB6jcAwNeXUf3Xw0m3sU0Uq7fwMDhewOgTIGacitXda2 aKkBLXj71WCCCRd7Fjh/TrxC5ntSAy76He+R1Xp761m9vPKxcHV4Ar+5uVk8awtp3n0ml6 urZ6SLFsq+dhxrsRY+mB1JjnYToqkTVuoTJ40rf2l70rUOO8cpvYwPmfBSWuWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729581360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R+8mbnacklzzA7SnqwnceUCKrWuG0ZghZjiI/Dp1lDo=; b=hcLu7NG8x/aoWH7gk9UL8uVCaljKevSUO3eXIp8eN/dNtkjXKm9KIFUhWE6N3Z/jQtwZUV 3o/4IPEmuxtzNU0NanLfaDJ3KBu6a+z2TPNTJqErFni5SgXHMhKedh/6iOmJxnSEmrmMhq NbXzTq/eLshh88fkDgS4HdYlg6Shz7GQrEmNvV+5Ceoufu+NQqmG85ab+FKlqWYFq2pSwt PrfzgxVEyBM+jOmHhlsvCXNrRpEizv1kr3ACiNY+X/zwEQ8WoH5Rbr4pZJ0icMsKTfs0/h nwNeLQnxUF2J3/MdQjjwkpElG3lU1I/1RLvRJES1OoK1rxFHCwzLKX4dXC/YFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729581360; a=rsa-sha256; cv=none; b=lWwHxMtBv68EMmsdLAPPtfkH22y1Jd6FAiCVWzCzBGoRe/miP0eBpFn+Ldkk8TnySvc8Qs KnlBOuMl4UKyS8ZL9fEDMpv863B/PwCC3L3NOvjdyXDX7/8DnPYDguZrC5sR/l0SG2EGnF LxgnJNRjr6rfGD3rcbhxFeoIJnciA+kGlWuSEuvWrnbY6AwHQXgv80Bo4aBV5mN/w0XWYv 2P4Ao9ZUurDqysr+aIp3XQNSbSCYx1kjYIJCVAhEIkPtvwZJg0PAlkVBEKnSyQ+zntw5IH NTs++vUXoUwiiLklSwQBDOn3VUfVCupbNS+E3dnOVFma5016rLuQCZRM2LTV4Q== Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XXk4001RGz1Kpg; Tue, 22 Oct 2024 07:15:59 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-6cbc46f8b3bso6716056d6.0; Tue, 22 Oct 2024 00:15:59 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUeLMph1KwuVPWAE5cQQlqmFbiLIlSDT2hgFgDlB27lEG998QNodqoihaf83GPMfe3aVVoAsk1lOdqbr7bIT2Q=@freebsd.org X-Gm-Message-State: AOJu0Yw1+VkQAfgLi63cU6+HNgC2OtNg5uXMjw3rlepwX/M4uHIIwdyf d3aNgNjEkUACVeFYSPesZ0waB5mapB3LlWfCEvqBh8FCGm0DY/otCdqEjWq0AN83pXYJenjrEf+ 3bKEePRjE1nAf+qlQ/Lo/plBg6l4= X-Google-Smtp-Source: AGHT+IHSmUOsqj4wJyTYqi1pJOn2JcfltC+y5KVijM7N0E9fQyAqNnkHjs9P9l3lgD1cY3bdiv1zz3QMtHVX9Mu8cNE= X-Received: by 2002:a05:622a:5b9a:b0:460:7b24:2da9 with SMTP id d75a77b69052e-460aed2d92bmr90094401cf.6.1729581359312; Tue, 22 Oct 2024 00:15:59 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Tue, 22 Oct 2024 08:15:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Build failure in share/examples/tests/tests/googletest/sample1_unittest.full To: current@freebsd.org, freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008843c306250b8a8d" --0000000000008843c306250b8a8d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The only solution that I found was to delete /usr/obj/... and build from scratch. Cheers David Wolfskill escreveu (segunda, 21/10/2024 =C3=A0= (s) 21:36): > On Mon, Oct 21, 2024 at 08:02:50PM +0100, void wrote: > > On Sun, Oct 20, 2024 at 05:14:29AM -0700, David Wolfskill wrote: > > > > > This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld"= . > > > > I'm just guessing here - but ISTR that with large -j that sometimes a > build > > failure can occur. I've just had one where I forgot where I was and ran > a -j10 > > buildworld on a rpi4, and this failed halfway through. > > > > Now building with a much more reasonable -j4 ;) > > .... > > FWIW, I had a recurrence of those errors on a couple of 4x2 machines > running > with -j 14. And I really wouldn't want to be throttling a 32x2 machine > down to -j 14. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > It has been said that history repeats itself. This is perhaps not quite > correct; it merely rhymes. -- Theodor Reik > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000008843c306250b8a8d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The only solution that I found was to delete /usr/obj= /... and build from scratch.

Cheers

David= Wolfskill <david@catwhisker.org= > escreveu (segunda, 21/10/2024 =C3=A0(s) 21:36):
On Mon, Oct 21, 2024 at 08:02:50PM= +0100, void wrote:
> On Sun, Oct 20, 2024 at 05:14:29AM -0700, David Wolfskill wrote:
>
> > This is in meta-mode, on a 32x2 Epyc running "make -j 112 bu= ildworld".
>
> I'm just guessing here - but ISTR that with large -j that sometime= s a build
> failure can occur. I've just had one where I forgot where I was an= d ran a -j10
> buildworld on a rpi4, and this failed halfway through.
>
> Now building with a much more reasonable -j4 ;)
> ....

FWIW, I had a recurrence of those errors on a couple of 4x2 machines runnin= g
with -j 14.=C2=A0 And I really wouldn't want to be throttling a 32x2 ma= chine
down to -j 14.

Peace,
david
--
David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik

See https://www.catwhisker.org/~david/publickey.gpg for my public key.


--
--0000000000008843c306250b8a8d-- From nobody Tue Oct 22 07:15:48 2024 X-Original-To: current@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 4XXk401F2lz59C1G; Tue, 22 Oct 2024 07:16:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXk400hXsz4HL5; Tue, 22 Oct 2024 07:16:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729581360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R+8mbnacklzzA7SnqwnceUCKrWuG0ZghZjiI/Dp1lDo=; b=A0tYlNBCSYI2AQYpJh/N5Y+4OiFSmkuVNRtYYi+UBN998KkCX2PJXmE96pzRlHw/kxsEEm xy4gKgMu1GIGSt0F7I89HJMo+37ljEe2QNCH7mQfauDqEPYsh9BFkgHnSQeHsc/MFNzQIS mAum2/9+mhVLfcSvPBIeBOCT5+XB6jcAwNeXUf3Xw0m3sU0Uq7fwMDhewOgTIGacitXda2 aKkBLXj71WCCCRd7Fjh/TrxC5ntSAy76He+R1Xp761m9vPKxcHV4Ar+5uVk8awtp3n0ml6 urZ6SLFsq+dhxrsRY+mB1JjnYToqkTVuoTJ40rf2l70rUOO8cpvYwPmfBSWuWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729581360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R+8mbnacklzzA7SnqwnceUCKrWuG0ZghZjiI/Dp1lDo=; b=hcLu7NG8x/aoWH7gk9UL8uVCaljKevSUO3eXIp8eN/dNtkjXKm9KIFUhWE6N3Z/jQtwZUV 3o/4IPEmuxtzNU0NanLfaDJ3KBu6a+z2TPNTJqErFni5SgXHMhKedh/6iOmJxnSEmrmMhq NbXzTq/eLshh88fkDgS4HdYlg6Shz7GQrEmNvV+5Ceoufu+NQqmG85ab+FKlqWYFq2pSwt PrfzgxVEyBM+jOmHhlsvCXNrRpEizv1kr3ACiNY+X/zwEQ8WoH5Rbr4pZJ0icMsKTfs0/h nwNeLQnxUF2J3/MdQjjwkpElG3lU1I/1RLvRJES1OoK1rxFHCwzLKX4dXC/YFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729581360; a=rsa-sha256; cv=none; b=lWwHxMtBv68EMmsdLAPPtfkH22y1Jd6FAiCVWzCzBGoRe/miP0eBpFn+Ldkk8TnySvc8Qs KnlBOuMl4UKyS8ZL9fEDMpv863B/PwCC3L3NOvjdyXDX7/8DnPYDguZrC5sR/l0SG2EGnF LxgnJNRjr6rfGD3rcbhxFeoIJnciA+kGlWuSEuvWrnbY6AwHQXgv80Bo4aBV5mN/w0XWYv 2P4Ao9ZUurDqysr+aIp3XQNSbSCYx1kjYIJCVAhEIkPtvwZJg0PAlkVBEKnSyQ+zntw5IH NTs++vUXoUwiiLklSwQBDOn3VUfVCupbNS+E3dnOVFma5016rLuQCZRM2LTV4Q== Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XXk4001RGz1Kpg; Tue, 22 Oct 2024 07:15:59 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-6cbc46f8b3bso6716056d6.0; Tue, 22 Oct 2024 00:15:59 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUeLMph1KwuVPWAE5cQQlqmFbiLIlSDT2hgFgDlB27lEG998QNodqoihaf83GPMfe3aVVoAsk1lOdqbr7bIT2Q=@freebsd.org X-Gm-Message-State: AOJu0Yw1+VkQAfgLi63cU6+HNgC2OtNg5uXMjw3rlepwX/M4uHIIwdyf d3aNgNjEkUACVeFYSPesZ0waB5mapB3LlWfCEvqBh8FCGm0DY/otCdqEjWq0AN83pXYJenjrEf+ 3bKEePRjE1nAf+qlQ/Lo/plBg6l4= X-Google-Smtp-Source: AGHT+IHSmUOsqj4wJyTYqi1pJOn2JcfltC+y5KVijM7N0E9fQyAqNnkHjs9P9l3lgD1cY3bdiv1zz3QMtHVX9Mu8cNE= X-Received: by 2002:a05:622a:5b9a:b0:460:7b24:2da9 with SMTP id d75a77b69052e-460aed2d92bmr90094401cf.6.1729581359312; Tue, 22 Oct 2024 00:15:59 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Tue, 22 Oct 2024 08:15:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Build failure in share/examples/tests/tests/googletest/sample1_unittest.full To: current@freebsd.org, freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008843c306250b8a8d" --0000000000008843c306250b8a8d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The only solution that I found was to delete /usr/obj/... and build from scratch. Cheers David Wolfskill escreveu (segunda, 21/10/2024 =C3=A0= (s) 21:36): > On Mon, Oct 21, 2024 at 08:02:50PM +0100, void wrote: > > On Sun, Oct 20, 2024 at 05:14:29AM -0700, David Wolfskill wrote: > > > > > This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld"= . > > > > I'm just guessing here - but ISTR that with large -j that sometimes a > build > > failure can occur. I've just had one where I forgot where I was and ran > a -j10 > > buildworld on a rpi4, and this failed halfway through. > > > > Now building with a much more reasonable -j4 ;) > > .... > > FWIW, I had a recurrence of those errors on a couple of 4x2 machines > running > with -j 14. And I really wouldn't want to be throttling a 32x2 machine > down to -j 14. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > It has been said that history repeats itself. This is perhaps not quite > correct; it merely rhymes. -- Theodor Reik > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000008843c306250b8a8d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The only solution that I found was to delete /usr/obj= /... and build from scratch.

Cheers

David= Wolfskill <david@catwhisker.org= > escreveu (segunda, 21/10/2024 =C3=A0(s) 21:36):
On Mon, Oct 21, 2024 at 08:02:50PM= +0100, void wrote:
> On Sun, Oct 20, 2024 at 05:14:29AM -0700, David Wolfskill wrote:
>
> > This is in meta-mode, on a 32x2 Epyc running "make -j 112 bu= ildworld".
>
> I'm just guessing here - but ISTR that with large -j that sometime= s a build
> failure can occur. I've just had one where I forgot where I was an= d ran a -j10
> buildworld on a rpi4, and this failed halfway through.
>
> Now building with a much more reasonable -j4 ;)
> ....

FWIW, I had a recurrence of those errors on a couple of 4x2 machines runnin= g
with -j 14.=C2=A0 And I really wouldn't want to be throttling a 32x2 ma= chine
down to -j 14.

Peace,
david
--
David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik

See https://www.catwhisker.org/~david/publickey.gpg for my public key.


--
--0000000000008843c306250b8a8d-- From nobody Tue Oct 22 08:40:49 2024 X-Original-To: freebsd-current@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 4XXly23X9Zz59Hx9 for ; Tue, 22 Oct 2024 08:40:58 +0000 (UTC) (envelope-from rodrigo@osorio.me) Received: from smtp.osorio.me (mvd.osorio.me [37.187.111.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4XXly106Xzz4QYF for ; Tue, 22 Oct 2024 08:40:56 +0000 (UTC) (envelope-from rodrigo@osorio.me) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of rodrigo@osorio.me designates 37.187.111.94 as permitted sender) smtp.mailfrom=rodrigo@osorio.me; dmarc=none Received: from [192.168.1.39] (lfbn-idf1-1-971-net.w86-238.abo.wanadoo.fr [86.238.50.0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id 317FEB469A for ; Tue, 22 Oct 2024 08:41:10 +0000 (UTC) Message-ID: Date: Tue, 22 Oct 2024 10:40:49 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-current@freebsd.org Content-Language: en-US, fr, es-AR From: Rodrigo Osorio Subject: Freezes with FreeBSD 15.0-CURRENT since 3 weeks Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-1.35 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.74)[0.743]; R_SPF_ALLOW(-0.20)[+ip4:37.187.111.94]; ONCE_RECEIVED(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[rodrigo]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[osorio.me]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4XXly106Xzz4QYF X-Spamd-Bar: - Hi, Since 2 or 3 weeks I start experiencing system freezes on an and64 Lenovo Thinkbook laptop I'm using as my daily desktop PC. I'm running FreeBSD current using pkg base_weekly to grab updates (currently main-n273070-6d42d5dbdd67). The full hardware details are here: https://wiki.freebsd.org/Laptops/ThinkBook_G6 Freezes occurs 1 or two times 2 a week and in multiple situations, not specially in hi cpu load or stress-full video playback. This are the latest /var/log/messages lines before the freeze Oct 22 08:13:33 bsddektop kernel: pipe state doesn't match! Oct 22 08:13:39 bsddektop kernel: sonewconn: pcb 0xfffff80021705700 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),  euid 1001, rgid 1001, jail 0 Oct 22 08:14:29 bsddektop kernel: em0: link state changed to UP Oct 22 08:14:30 bsddektop dhclient[4668]: New IP Address (em0): 192.168.1.39 Oct 22 08:14:30 bsddektop dhclient[4672]: New Subnet Mask (em0): 255.255.255.0 Oct 22 08:14:30 bsddektop dhclient[4676]: New Broadcast Address (em0): 192.168.1.255 Oct 22 08:14:30 bsddektop dhclient[4680]: New Routers (em0): 192.168.1.1 Oct 22 08:15:01 bsddektop kernel: sonewconn: pcb 0xfffff8005af2ad00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),  euid 1001, rgid 1001, jail 0 Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] oss-util.c: '/dev/dsp0' doesn't support full duplex Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] cli-command.c: stat('/usr/local/etc/pulse/default.pa.d'): No such file or directory Oct 22 08:41:35 bsddektop kernel: witness_lock_list_get: witness exhausted Oct 22 08:51:14 bsddektop devd[3958]: check_clients:  dropping disconnected client Oct 22 09:17:15 bsddektop kernel: sonewconn: pcb 0xfffff8005af4eb00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),  euid 1001, rgid 1001, jail 0 Oct 22 09:30:27 bsddektop kernel: pid 5499 (pavucontrol), jid 0, uid 1001: exited on signal 10 (core dumped) Thanks for your help, -- Rodrigo From nobody Tue Oct 22 09:31:50 2024 X-Original-To: freebsd-current@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 4XXn4v5DTmz5F2vg for ; Tue, 22 Oct 2024 09:31:59 +0000 (UTC) (envelope-from SRS0=V0xP=RS=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XXn4t23fxz4W26 for ; Tue, 22 Oct 2024 09:31:58 +0000 (UTC) (envelope-from SRS0=V0xP=RS=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=UL6TpqXW; spf=pass (mx1.freebsd.org: domain of "SRS0=V0xP=RS=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=V0xP=RS=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Tue, 22 Oct 2024 11:31:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1729589510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=r/co7oOHZuQl98VqBTM/orTFBQgUjrwM5i9HJwLOrEA=; b=UL6TpqXW2qZe7Q5aYSLIL0UbCjGhGpYX4GlQb4tJKDQPXfquA7ZrrAYmQhcHP1J6SA/iy0 eUeF4ZT9ob+1uGpcFQwKte+V75Is6HoD8+7nctKDbKbNzs7e1njVTg+sE0DL0q4mW9saJM NZzuzmj09DSPaNB12Q45IPyya2fPCerg90cWKC/B66ZkwyJwydsmJsf5eLLb7+uxmtjWNR 0KJAurI//V/A6Ys/DqgsQPVRi4zA2oSPkL2+QuCCJQQq6jWa5tkEj4U7zsqLoULsiCfWyO nzMkcP2u6+QLbzibWR2KfLyuAY3APcDRdO44PHsDtG81I1v7YlhorCtTkiniEA== From: Ronald Klop To: freebsd-current@freebsd.org Message-ID: <960111947.44017.1729589510742@localhost> In-Reply-To: References: Subject: Re: Freezes with FreeBSD 15.0-CURRENT since 3 weeks List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_44016_920531140.1729589510642" X-Mailer: Realworks (723.281) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=V0xP=RS=klop.ws=ronald-lists@realworks.nl]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=V0xP=RS=klop.ws=ronald-lists@realworks.nl]; TO_DN_NONE(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; DKIM_TRACE(0.00)[klop.ws:+] X-Rspamd-Queue-Id: 4XXn4t23fxz4W26 X-Spamd-Bar: --- ------=_Part_44016_920531140.1729589510642 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit A couple of low-hanging-fruit suggestions. Can you ping the machine if it is frozen? This will indicate if the whole kernel is frozen or for example only the video part. If you can ping it, can you ssh to the machine? Or is an existing ssh connection maybe still usable to diagnose further. Did you try recompiling the kmod X11 drivers? These drivers are closely connected to kernel internals and tracking non-release version can get the drivers out of sync with the kernel which can give an interesting set of symptoms like hangs or crashes. Regards, Ronald. Van: Rodrigo Osorio Datum: dinsdag, 22 oktober 2024 10:40 Aan: freebsd-current@freebsd.org Onderwerp: Freezes with FreeBSD 15.0-CURRENT since 3 weeks > > Hi, > > Since 2 or 3 weeks I start experiencing system freezes on an > and64 Lenovo Thinkbook laptop I'm using as my daily desktop PC. > > I'm running FreeBSD current using pkg base_weekly to grab > updates (currently main-n273070-6d42d5dbdd67). > The full hardware details are here: https://wiki.freebsd.org/Laptops/ThinkBook_G6 > > Freezes occurs 1 or two times 2 a week and in multiple situations, not specially > in hi cpu load or stress-full video playback. > > > This are the latest /var/log/messages lines before the freeze > > Oct 22 08:13:33 bsddektop kernel: pipe state doesn't match! > Oct 22 08:13:39 bsddektop kernel: sonewconn: pcb 0xfffff80021705700 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences), > euid 1001, rgid 1001, jail 0 > Oct 22 08:14:29 bsddektop kernel: em0: link state changed to UP > Oct 22 08:14:30 bsddektop dhclient[4668]: New IP Address (em0): 192.168.1.39 > Oct 22 08:14:30 bsddektop dhclient[4672]: New Subnet Mask (em0): 255.255.255.0 > Oct 22 08:14:30 bsddektop dhclient[4676]: New Broadcast Address (em0): 192.168.1.255 > Oct 22 08:14:30 bsddektop dhclient[4680]: New Routers (em0): 192.168.1.1 > Oct 22 08:15:01 bsddektop kernel: sonewconn: pcb 0xfffff8005af2ad00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences), > euid 1001, rgid 1001, jail 0 > Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] oss-util.c: '/dev/dsp0' doesn't support full duplex > Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] cli-command.c: stat('/usr/local/etc/pulse/default.pa.d'): No such file or directory > Oct 22 08:41:35 bsddektop kernel: witness_lock_list_get: witness exhausted > Oct 22 08:51:14 bsddektop devd[3958]: check_clients: dropping disconnected client > Oct 22 09:17:15 bsddektop kernel: sonewconn: pcb 0xfffff8005af4eb00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences), > euid 1001, rgid 1001, jail 0 > Oct 22 09:30:27 bsddektop kernel: pid 5499 (pavucontrol), jid 0, uid 1001: exited on signal 10 (core dumped) > > Thanks for your help, > -- Rodrigo > > > > > ------=_Part_44016_920531140.1729589510642 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
A couple of low-hanging-fruit suggestions.

Can you ping the machine if it is frozen? This will indicate if the whole kernel is frozen or for example only the video part.
If you can ping it, can you ssh to the machine? Or is an existing ssh connection maybe still usable to diagnose further.

Did you try recompiling the kmod X11 drivers? These drivers are closely connected to kernel internals and tracking non-release version can get the drivers out of sync with the kernel which can give an interesting set of symptoms like hangs or crashes.

Regards,
Ronald.

 

Van: Rodrigo Osorio <rodrigo@osorio.me>
Datum: dinsdag, 22 oktober 2024 10:40
Aan: freebsd-current@freebsd.org
Onderwerp: Freezes with FreeBSD 15.0-CURRENT since 3 weeks

Hi,

Since 2 or 3 weeks I start experiencing system freezes on an
and64 Lenovo Thinkbook laptop I'm using as my daily desktop PC.

I'm running FreeBSD current using pkg base_weekly to grab
updates (currently main-n273070-6d42d5dbdd67).
The full hardware details are here: https://wiki.freebsd.org/Laptops/ThinkBook_G6

Freezes occurs 1 or two times 2 a week and in multiple situations, not specially
in hi cpu load or stress-full video playback.


This are the latest /var/log/messages lines before the freeze

Oct 22 08:13:33 bsddektop kernel: pipe state doesn't match!
Oct 22 08:13:39 bsddektop kernel: sonewconn: pcb 0xfffff80021705700 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),
  euid 1001, rgid 1001, jail 0
Oct 22 08:14:29 bsddektop kernel: em0: link state changed to UP
Oct 22 08:14:30 bsddektop dhclient[4668]: New IP Address (em0): 192.168.1.39
Oct 22 08:14:30 bsddektop dhclient[4672]: New Subnet Mask (em0): 255.255.255.0
Oct 22 08:14:30 bsddektop dhclient[4676]: New Broadcast Address (em0): 192.168.1.255
Oct 22 08:14:30 bsddektop dhclient[4680]: New Routers (em0): 192.168.1.1
Oct 22 08:15:01 bsddektop kernel: sonewconn: pcb 0xfffff8005af2ad00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),
  euid 1001, rgid 1001, jail 0
Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] oss-util.c: '/dev/dsp0' doesn't support full duplex
Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] cli-command.c: stat('/usr/local/etc/pulse/default.pa.d'): No such file or directory
Oct 22 08:41:35 bsddektop kernel: witness_lock_list_get: witness exhausted
Oct 22 08:51:14 bsddektop devd[3958]: check_clients:  dropping disconnected client
Oct 22 09:17:15 bsddektop kernel: sonewconn: pcb 0xfffff8005af4eb00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),
  euid 1001, rgid 1001, jail 0
Oct 22 09:30:27 bsddektop kernel: pid 5499 (pavucontrol), jid 0, uid 1001: exited on signal 10 (core dumped)

Thanks for your help,
-- Rodrigo

 


  ------=_Part_44016_920531140.1729589510642-- From nobody Tue Oct 22 17:37:02 2024 X-Original-To: freebsd-current@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 4XXzrd6VwQz5Vg8c for ; Tue, 22 Oct 2024 17:37:05 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXzrd5zCHz4Yts; Tue, 22 Oct 2024 17:37:05 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729618625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ryRCfI9zNtBMSiZ/T1WPdup2JlR3epUiy/j3CbJDo/k=; b=tmgDM00XrYMIa6LOjO3V0mUgR9muYGlsKbHSwYORulaFs39EteG7wO+KZmL6vVWgeG17kC RHgLM+9JBpJmID21lO6Gtvjsufh8kV9kCSwaHPsPdvKhz4d4t38aNdgoAXrBd1N3U82bFg ULmWv5EgZmRKCUJwzbF1nADv4zmQJDJ8FvsuQJAod2QPM9uarFo4QoYn8u/vpKd1G6gbyR uVo9nxuuJsnzP5blnZ0Hq2uG1s3dLoeNKJMMzy0Tw/JjQHt+SnQq3wu9Y7zDheA7sSNZeT YyrnNPDpBJfooBRQrKt6wbCFeWirjySUnCxF2IL38m1tkijl5RZTA5XaoSLFFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729618625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ryRCfI9zNtBMSiZ/T1WPdup2JlR3epUiy/j3CbJDo/k=; b=c8/DcKOJuIRV2Zr+I7FZNMpQcHsz3GvCRAvDo2lLaneeTzFGQAZUAuGHFOQ2zrexckFQ/v 4z6jmgFBic2XhOWnIl3XYjkHGwaV6TyCoBGq68BbFBQ+6gLpolv/gon4Od4kvK8/cKW62T eUjLg1HIeXVhajD5GDJWxOBzc386ZPUsL4PXUUFQ5ftr0A/fK9PjF56GHWm8CmK3Nt3ei7 MVlOKRX+o9xnNnZSbPrWT46+tpYOrH6OS+vpspX8VldqgHm8bov+5CtqsURjmyRhiRKvg3 EZD6LTcaiqMiz8xA9CcgOssMW4AWJ/TVKv2pszaXBGf9Ot5uSeRDZx0lruFU7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729618625; a=rsa-sha256; cv=none; b=TSl/98EfIF0eJOMWyYcZqxdz1hikhzMLunS3sxVR6nowuuZxImj2ydFPZOyQdkayUP6Gk6 8EQndFIIEHltSzQ59NM07lYJY3OkZV1Q8yE1jsllTjOO3fwkyLUR7QkvhjRIYIBFW/NGRX X5l0NMOn0crt4++eOfa8+49NApA5m6kUBRJ0UbPrxtH2JUDefyXLuNIuO+3bv6bEmh6RX0 S7r+VWqNNzVcJbg04Bt7QIIu30hr5e8sDvcFUhzlicuUSc9pK3K4WdMziCPDKOfDp5P43/ diFJWqORm6Wb8CNzC3mgZ51IDb++vdPsRyiUJcEy6ZUZOeOb0MoC2LMN2N79bA== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XXzrd35gwzKd1; Tue, 22 Oct 2024 17:37:05 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Tue, 22 Oct 2024 10:37:02 -0700 From: Gleb Smirnoff To: freebsd-current@freebsd.org, src-committers@freebsd.org Subject: Re: October 2024 stabilization week Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi! On Mon, Oct 21, 2024 at 01:00:31AM -0700, Gleb Smirnoff wrote: T> This is an automated email to inform you that the October 2024 stabilization week T> started with FreeBSD/main at main-n273082-525a177c1657, which was tagged as T> main-stabweek-2024-Oct. At Netflix testing we didn't encounter any stability or performance regressions compared to September stabweek snapshot. My personal desktop & home router upgrade also went smoothly. Unless anybody replies with a regression report to this email thread, let's declare the stabilization week freeze as done by Wednesday 8:00 UTC. -- Gleb Smirnoff From nobody Tue Oct 22 17:38:50 2024 X-Original-To: freebsd-current@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 4XXztj214Fz5VgGP for ; Tue, 22 Oct 2024 17:38:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXztj1RS8z4Zr9; Tue, 22 Oct 2024 17:38:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729618733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3dOcZPwQ8yJ8aBcUqhhVY8gVP/wUHZvTzQo1SyPmnBc=; b=rCYLNpmcmthnL9ummDoGkzgsChkXNezgvV4oCyVeS1UaenkS/NwCoxMZqweGvz77kENRBE i++ZqgDOjqdBtmp6Wogi5Dq6n6JJ+WCCT9ZEEM66LBfsfIc4jQPfHEycHVNZrOMcMiuYXU Ub2YrEmfQQzl/kzxaPyeb3LofSnWHumW7QMvx7t9xDJgCwiDGQm7d+ua/oFkxF+gNnuj19 JYXilAV9f0D1SQPgplXoW0K/dQ5KvQsQ5cVRBa/yLTI065327JwNlAFkA9bcxAKgY15Dwa APgOS9la2PtUgwgU5r7hD1EoVeG4f9bw6bWzFzujxPPQBM+a9xRnT9qKGy40Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729618733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3dOcZPwQ8yJ8aBcUqhhVY8gVP/wUHZvTzQo1SyPmnBc=; b=e65sdqQ0FGdFE+aXuNEd2hg049QhUltJeT/uKwiYN1zYqkqZbrbfXmjKhRndE9uQYOo1C8 AbeJzzzVzYtou35o5y6WaIuAT7L86pOQOJm/mgIfyBQWqBxK9BstHHz+H+Hn66A7pRIhgf B+Z9266cMfwsW5f34VwgKDOUEegTZpPqFfZb5Ize7MM9jeo9kJf8/ZN6C3DSRbgefwqxpG sdGr4HXq+AJWV8fp0qbgnfg9wK/R6pWorhn8jFNWTsOV7Chn6KNZSLVpEFTsF03AEOKXek X82EVJoL6FCEH0I33knhfFSiqeQxLNpHfXa430Rzuemc9ftUBTOi837HTlBnuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729618733; a=rsa-sha256; cv=none; b=dr7nJQ6o3rpMrtvU6QDA1t0mzy/fQj+u5av+XyaY0IH6s+4LSPOKg3LhG3dw30zwIT7MCy qH9oTh64rhmslFe3os/aOqQyQTRnzxzBVDN8xOTcFmk0Xbc7dxjIvEL4AAb0ttJC7GgXdO F+DqGnpHYtRmqNCD/nv+/gv9WJWxdeHg1yHwMi/sNJO416KYCl6ZsKYxL3nE2vUHLV6ThU eN7qs6j2g7k9MwUxRqz8t71aZ58/FlTxmwsnGVOI95qwxcO/jKjL7DrFLIN3hsFw88UN8X tcoZzLMasxvFCzPRJj/GOY64DU3n4cC1EeoAwR2IIxhknyzwSaQgRGutm25EXA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XXztj0LcWzKgM; Tue, 22 Oct 2024 17:38:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 280B45F1CE; Tue, 22 Oct 2024 19:38:51 +0200 (CEST) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.2\)) Subject: Re: October 2024 stabilization week From: Dimitry Andric In-Reply-To: Date: Tue, 22 Oct 2024 19:38:50 +0200 Cc: FreeBSD CURRENT , src-committers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <853C7745-CBF5-4864-AB4F-65D6EC4D0455@FreeBSD.org> References: To: Gleb Smirnoff X-Mailer: Apple Mail (2.3731.700.6.1.2) On 22 Oct 2024, at 19:37, Gleb Smirnoff wrote: >=20 > On Mon, Oct 21, 2024 at 01:00:31AM -0700, Gleb Smirnoff wrote: > T> This is an automated email to inform you that the October 2024 = stabilization week > T> started with FreeBSD/main at main-n273082-525a177c1657, which was = tagged as > T> main-stabweek-2024-Oct. >=20 > At Netflix testing we didn't encounter any stability or performance = regressions > compared to September stabweek snapshot. >=20 > My personal desktop & home router upgrade also went smoothly. >=20 > Unless anybody replies with a regression report to this email thread, = let's > declare the stabilization week freeze as done by Wednesday 8:00 UTC. Thanks. Note that I'm planning on merging the llvm-19-update branch = after that, then. :) -Dimitry From nobody Wed Oct 23 06:46:41 2024 X-Original-To: current@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 4XYKMw50Bfz5Zv2q for ; Wed, 23 Oct 2024 06:46:52 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4XYKMv5H4gz43XY for ; Wed, 23 Oct 2024 06:46:51 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=dwCf844K; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::11 as permitted sender) smtp.mailfrom=lexi@le-fay.org; dmarc=none Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:4::1]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 366E837B72 for ; Wed, 23 Oct 2024 06:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1729666003; bh=Hgins8FhHF3KdFT+d6VK7PB/lru7mRn1TdZje9pTwGE=; h=Date:To:From:Subject; b=dwCf844KuYkBmCl7kdhbczXoEYxmCM2ZzXt6MkfaeKCo1HIoK8K/TMdx5/QmrXArN OZUTJiqS8XqxaPfbEvyArWJYxV1Rt0pLbUPdfHjckEbgR3IwkDStW971x4GYj5Rn5p nTMSPaTBG0VetWoDlObqs1O23w6+uEWBLNcuucKE= Received: from [IPV6:2001:8b0:aab5:c210:899b:3939:5d83:3445] (unknown [IPv6:2001:8b0:aab5:c210:899b:3939:5d83:3445]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 920062C046D for ; Wed, 23 Oct 2024 07:46:41 +0100 (BST) Message-ID: Date: Wed, 23 Oct 2024 07:46:41 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: current@freebsd.org From: Lexi Winter Subject: ZFS panic on shutdown Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.39 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::11:c]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4XYKMv5H4gz43XY X-Spamd-Bar: --- hello, i thought i should mentioned that after upgrading to FreeBSD 15.0-CURRENT #3 lf/main-n269068-2cff93ced1d: Wed Oct 23 02:48:20 BST 2024 srcmastr@hemlock.eden.le-fay.org:/data/build/obj/freebsd/data/build/src/freebsd/lf/main/amd64.amd64/sys/GENERIC which is based on commit 53314e34d5e8e7f781ab990805b22f7a56bc0580 (freebsd/main) Author: Christos Margiolis Date: Sat Oct 19 16:34:27 2024 +0200 i observed this ZFS panic during shutdown: panic: VERIFY(avl_is_empty(&sk->sk_dsl_keys)) failed i cannot reproduce this reliably and have rebooted several times after this without any panic. bug + stack trace at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282281 - unfortunately no vmcore as the panic happened after shutdown. From nobody Wed Oct 23 19:26:14 2024 X-Original-To: current@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 4XYfD82JG5z5ZbV0 for ; Wed, 23 Oct 2024 19:26:16 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYfD81pTpz4K3Y for ; Wed, 23 Oct 2024 19:26:16 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729711576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d+9ExP3YG1zIF33XR7K+/Q+LUmuY6t/X7AOZZtGJdcU=; b=cq3GHtNDexFJdLM3cZsDYWYr5ujBabcnmLGuQeDAs6lyZBr/WDsQn1SmJgaZEsCarTiB92 EFEG9uVHq9On5Y9S+VBMSfXWW6apFYKLhVwkM7UtVvUXug6xJWRFT5HlizHNQPPbLkdU6s 7nlJglCUuUY83duOSyLW8SiSFsuFHLRi86XRNG6Ogf3Ey2IgEXU1ETNpqZTliw7xu/WOFw jo1dnofiSpCK6JBi0fN4/3jDSKBl7aXV6Xjx6QJ2/Obp49Irl/Q/8D01X0MLkr7Id6mZnJ 7ifi0MtQU748UeinUKRXaFi0Jr9kRG0Q4R4oUkcB1btfo4fvvhD0luNRmXTPGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729711576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d+9ExP3YG1zIF33XR7K+/Q+LUmuY6t/X7AOZZtGJdcU=; b=Xr7N/1SgBCB4gzZlr8nlwizCQB731F07irrmh2rMaVt+nuvsiDZXpaI5tv89ccYEm/8WkP 1OzIJhH5O2ybcBhy8Wd/Zv1PYMcN5JhEDZH/BlU/EjAMA1R6+j1We+IEETbuzflUSpsdVr Q5SaEU+RTTXeCxG6pFpILQuLMC+Za4N9Kz+n8FcLhm7e4uqTsTzTvX3lxu7jahmLPk/sgf IfZKinktvUEdbYvw/tkT8ISQx+AFtb7KU5q4dcbNIW6NJxq8v5dKHqmJISm+oSkgmVXMnI lAjHt5sGba2qf7tbmm70r/GsrbL5XZoGXMJvIliMrpOHua8sY1OntnwQqvaP7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729711576; a=rsa-sha256; cv=none; b=wVZNxpkmiiSQKDrs1xDhgSyeAQYdWSE/66Fq1qrIAoDoiFaLZJsJOMyL3KRTUJekRgjJ7D VveapV3w3SKU8+ZFwS0l1khhXb1gCTFD2AXj1nBdGc7BvhsrgPcHzaw8WZ81bjWgMWyZQY za8hJkQG3qIRHwN4R1Zsfq1j/Qi6vzNaqQpFgMhBmkUcLhxKBnFAgrf5MAfQYthUAHJ6Du 248bGPbTpfnh5H3O26eLgmcy9RgVSn8oXNmtadcmeAdEbnpTXBWGv2qI1lpjLf/Ef1wIf6 gsY2vCaogL7Wkqsm5bCDTrjeJIhhcVBVVmAdDcJFyqhwR2NyVmoWbCcsul0ynQ== Received: from [192.168.1.16] (90-229-134-185-no600.tbcn.telia.com [90.229.134.185]) (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) (Authenticated sender: diizzy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XYfD76vr1z16jb for ; Wed, 23 Oct 2024 19:26:15 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Message-ID: Date: Wed, 23 Oct 2024 21:26:14 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Betterbird (Windows) Content-Language: en-US To: current@FreeBSD.org From: Daniel Engberg Subject: Software in contrib we probably want to update before 14.2-RELEASE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I just had a quick look at contrib and found the following: OpenSSL should probably be updated due to https://openssl-library.org/news/secadv/20241016.txt Not imported as far as I can tell expat(2) should probably be updated due to https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes Committed in main as of ffd294a1f4c23863c3e515d16dce31d5509bcb01 Best regards, Daniel From nobody Thu Oct 24 03:09:04 2024 X-Original-To: freebsd-current@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 4XYrVT14l8z5ZydB for ; Thu, 24 Oct 2024 03:09:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-20.consmr.mail.gq1.yahoo.com (sonic302-20.consmr.mail.gq1.yahoo.com [98.137.68.146]) (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 4XYrVR4Pm9z49l1 for ; Thu, 24 Oct 2024 03:09:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=diiVG3Yg; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.146 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=1729739357; bh=7oIpMbubtEEF68feYPccaVZQ29fM+WPbkM0lTk0PIYU=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=diiVG3Yge1ZKC42l9B+fYEHgOYPVSlqMJV7uYVoGdbBHxXbgonD4eSaNPkyAlDZM5vllfT7gtyIQxkR3cP8O27ndpFVr/h3GyyoE+cu7V6Wz81Ph8I5eVfKm37kZHGH/OBnmcmLYJGqS9kcc7kier7VpC3forpp4Tc9dSuj1yEcxI+1ySGVZ4CnpsPMpv+cpVRtsv63PC9t5ZPc27zzB6HSkJa9foGKDQJ2id5ggJ4UFXuiMEi82zvFtUqbG2fw0NToCKXaQCrMrqJkjrMpWJIYcP9MlhYW9AIjWrPG6VjeRkg+qfVrtFfMYIyq2L3LTUegzK7C4x6wI6xYXVfRW1w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729739357; bh=ddFxYxw6MtejIL+a/xMC32q/+H2SUdGndStQJLSTA7h=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=Nh1TzC3mv6voT24OUIHF/gXbKCiuLNMDR8hg4Slvq3c9+jpZZSTHbBlvsTDlkWP0j2StofKRIyEgzLdjiWGGPZ4rti4WbWemiiWG4VKFR8/C7tDtFPbOfksfANpYOfODBxQmH9V+gpBBo2rNS6Km/E+3CYVwY0dypTTM/KJp7AYr5hoDQxw92iuYKsQkAlarKnbIoxFyUSR7AZ4Tcsa/l25jK6p3oRVaO/ahO6e8Ma7Aa6zgOh7A64VKDKdN8JHvTarAlwOKKdFig1IhyReKgFZwswL1V+hm5PZvhHVhM8dCPg3/ifqnyAUuKbUX3haGeC3MNUWykd1fcs0qOmb1Pw== X-YMail-OSG: 3IQC5gAVM1kUEQfmyfURwhzTxua4WNIAflUkJVNVGXHYqzUKV1yvzdqb5hTWQJL h9M5C1pwCbUWgW7Z9QKER16Qvk36rneEdpC4sER.BVq7fPvpZB8bIf4auRgJ7y.Xwx16wMpndp7P oiUalGDLxUOihcLMtMfHRB_ZtCLd5okgPrYavs_qUIbJTxhMOREmTEjadAGsybnYFXQ7YqzYf.25 i9bH8H.p3vGp7XA8wTEO37M8LuK3c00iICHEtSyJhaf99lPi85smRT69AGbEeT9KMHj6ovYJsLJy m4VPelo1t4jIxtaWQxtq2cRL.Js0VilZSedwB8BsSjeFitclr9VwNiTXUF4rPg3fMjMTkjmvhsSw .k5r..ke6Ya3CKmgLSlYfgbwgnEmUDjntqhuebijtFlHIqbv0Z7jpRM.yX.AdsshG0eSc.2wSxaC .6Ub05EGbt8VwN1a6ihtxVOV4ysPSQiG2dvdQnoyWYS8wuuBvbDk9n_MpTY.sdFWsJVlTgecgEwJ KjK7gAc6ViCp55Dy0qQ_p_O9czxR9Mve8yqcjgPl9CL0i2uDJICcLKaXSTfM9pDTKN5O0w.n9q9i c7U32y2kmEhL5zP3aPlccguw5BiubadLh4qd.DJcncfZrS5RWxI5S4waH0_WVm8UKenfw89TbtcP aXmXehypLK.PiHABrDY8D4cQUwf1.UYgNvzzT.bNc8aHCbi7JzrIUtFb5UYaqnXGltC_zuDHpnnA b3D0SzH8Ni_dOmrFy_yfZ_FNh.qDMjvP2EhJb.8Xox_7a7LgfKpBJkAB_SZn4BpxO9KOU2el7.gz D.iXUY_HRFgzAELNddZBo8imikOnmpDu0iE0_NLOVh6KBiQVpipFBI4HcZCunqfxditrjsb3KmgT Q4cKAOvcpYOPXZfjK6dAdRP.6TgO6VI.q2L3eFetItQB0T1w_m_eTWkd9goIdpFu0z9vTHPTUaTN LdqlLmwLHhf9riPXN1PCQKD8noQ56juj_wDw0vdlnR2OVH_J4N7C4Mo6iwjOljNh2L.rJ9HfQ8Ob L1EGuRaybbn154wLYEUhP_f37poMvcGi89D2TSx3g1RFJhXGXKbFNLYxvS9bVhie6BHK.3BuKfVs uprKZXZrO6jpUVXFxHjlvJP7JlyGCd_vPNoqX1GfkDAOwP_hP4UhpWwL45.x9K42WbeaDGZ16sws 0gIQVuQ2gx6lDCyZinOIE7SB.89CyesfKLJyamCQqYMObTV2ZSvOTd.oOmeq1.MtGQxUbXN4DISS bWOgiKqaeUX1sa0BJNXTi9yF92tUMDc5OEYQH76T4h.CyMgyyJgJuPSi1l.Uok1j9quUPX2O.V3D 7zR8nKwEaJztqtUpxzhxRpypZ79faLY5Xk9j.ln.rDRGiCz.z6LunXlQ1HbqYJPP5RgokvSZNpD4 xqjrFVlypnKfl0uBCKfe9pvMiusAU8DaxxMSPiz.qfP5OmLoKctJLKVJSRzPi5p7QtK_lWF8taKK e4D4IA0CV8o0Uuc9rUPShBsk5YyrpKaMb46ZmHkSvmi.sC7zzPN3R7JsKSbGMWhMfng325bqvEBo R5WlqmlQKel5gLBl92ofbrLHP3suDEzs5O58C2c0p0qp05ziz52cvvuNhfRk_vmkDkx57Tefik8X mbTUD5xh40.uLEagl3DF9xOhY445GjKMIXTy3lbR8v6e5ucB8_enNZm9bI2SC.zXzCR8yuSyg_VP 8kjyx9acYnQFd3ZkqEhCqW74FJRYT8wF8S74WyDcn8OTDnH5gYZsYBLGq69zAjvyowG4BI_XyACa cnLDFBYK2PQONWmEFNMCZXJeLjh27aPymK7yJ7KXnxYIaWLbQlakShdcJcniYmm2GtK8SyOxKaay QBfajQz0WdWqLLFrOd9O4z4iPHVTkQCWOc9z60wcCYQsSvKSBi1u6QnOrvqaDZZdIIUVcNdSCoym bqvdWT84bzmTkrJS8y2uduCQkZT9mbndq1FGTrJoBUiD0AJjhzWb3qmiuWL.fAEOsfpWlyoovjL9 jpQfXvtqpOClmD1ejeWuxY4JFMFT1DIuNXpqCrx9sSpeevTSaBrU9UsIOSLZOT237fZNi9LaFtWu XI28j.TJGQcYfv0gTklwL.LHw6GghFhss2jp6zmnm.ZV5kUtPQA_3Te8r0qS.taaEInV0E34fKxB PkrSr8UqQzTu0XPzmBqaAK_FMxPre.ZJ7pEXUw3MxFda1zp0krA.lDHwfA6eIAWKBhdzW13lny7v shL1CEaedvnM5S_sIdk._BtpzoVupgJ8uwer_P.6yk8lqLFZDAQsfeFp_S1F7kK83XUhU9v27IV5 jYJPzHf8- X-Sonic-MF: X-Sonic-ID: adf6ba17-9a4b-492c-a8b2-678f3682e790 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Thu, 24 Oct 2024 03:09:17 +0000 Received: by hermes--production-gq1-5dd4b47f46-sx6k2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 70de8c5ea691e070300f36ff64a745de; Thu, 24 Oct 2024 03:09:15 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: PkgBase after LLVM 19 update: various packages still have old dates (and content) Message-Id: Date: Wed, 23 Oct 2024 20:09:04 -0700 To: FreeBSD-pkgbase@freebsd.org, Current FreeBSD X-Mailer: Apple Mail (2.3776.700.51) References: X-Spamd-Result: default: False [-3.59 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.59)[-0.594]; 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]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; 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-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.146:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.146:from] X-Rspamd-Queue-Id: 4XYrVR4Pm9z49l1 X-Spamd-Bar: --- https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/?C=3DM&O=3DD has = various .pkg files that still date back to: 2024-Oct-22 2024-Oct-20 2024-Oct-15 2024-Oct-14 2024-Oct-11 Includes *-libstdbuf-* *-libsdp-* *-libpathconv-* and various = others Includes *-lib32-* and *-dbg-* variants 2024-Oct-09 (I'm ignoring *-man-* and *-dev-* but still showing dates.) Are the 2024-Oct-11 .pkg files as expected for an update that involved LLVM18 -> LLVM19 ? =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Thu Oct 24 18:25:35 2024 X-Original-To: freebsd-current@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 4XZDqq6jbpz5ZkRt for ; Thu, 24 Oct 2024 18:25:43 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R10" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZDqp3Nf6z4hpn for ; Thu, 24 Oct 2024 18:25:42 +0000 (UTC) (envelope-from imb@protected-networks.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protected-networks.net header.s=201508 header.b="E QEA7Pa"; spf=pass (mx1.freebsd.org: domain of imb@protected-networks.net designates 2001:470:8d59:1::8 as permitted sender) smtp.mailfrom=imb@protected-networks.net; dmarc=pass (policy=reject) header.from=protected-networks.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding:content-type :content-type:subject:subject:from:from:content-language :user-agent:mime-version:date:date:message-id; s=201508; t= 1729794335; bh=RlweuB5gn3H20r1mhQ9jvAllSwzuDiOI2do1V5+kbJI=; b=E QEA7Pap38nRn0rynaLImAvZ6BuwvoGO3dM4JglbPnt/Ma/NxLyiYdJafPE/QNezP mtWFaJ+LvsMSmwokD/9Mp/V0JICp0sahNFXFJyNSNGJ5F06WlqhM/aWP25jqxVts gk3hISQYkTYJD/qA340Z3VfEazXJOldO7IJF5WEvE4= Received: from [192.168.1.9] (d5540.auburn.protected-networks.net [192.168.1.9]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id C15755B2AB for ; Thu, 24 Oct 2024 14:25:35 -0400 (EDT) Message-ID: Date: Thu, 24 Oct 2024 14:25:35 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-NZ To: freebsd-current From: Michael Butler Subject: upgrade llvm19 broke drm-6.1 kmod Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[protected-networks.net:+] X-Rspamd-Queue-Id: 4XZDqp3Nf6z4hpn X-Spamd-Bar: --- It seems there are some additional constraints about non-existent directories that now count as errors .. --- sync_file.o --- cc -O2 -pipe -fno-strict-aliasing -DLINUXKPI_VERSION=60100 '-DKBUILD_MODNAME="dmabuf"' -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_SI -DCONFIG_AMD_PMC -DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_DRM_I915_REQUEST_TIMEOUT=20000 -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 -DCONFIG_DRM_I915_STOP_TIMEOUT=100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640 -DCONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500 -DCONFIG_DRM_I915_TIMESLICE_DURATION=1 -DCONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000 -DCONFIG_DRM_I915_FENCE_TIMEOUT=10000 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_APERTURE_HELPERS -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DEBUG_FS -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_PM_SLEEP -DCONFIG_SMP -DCONFIG_SUSPEND -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X86_64 -DCONFIG_DRM_AMD_DC_DCN -DCONFIG_DRM_AMD_DC_DCN3_0 -DCONFIG_DRM_AMD_DC_DCN3_01 -DCONFIG_DRM_AMD_DC_DCN3_02 -DCONFIG_DRM_AMD_DC_DCN3_1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/gplv2/include -I/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/bsd/include -I/usr/src/sys/compat/linuxkpi/common/include -I/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include -I/usr/src/sys/compat/linuxkpi/dummy/include -include /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/obj/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/dmabuf/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.sync_file.o -MTsync_file.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/drivers/dma-buf/sync_file.c -o sync_file.o --- dma-fence-chain.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- sync_file.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-buf.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-buf-kmod.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-resv.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence-unwrap.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence-array.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-resv.o --- *** [dma-resv.o] Error code 1 make[1]: stopped making "all" in /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/dmabuf --- sync_file.o --- *** [sync_file.o] Error code 1 make[1]: stopped making "all" in /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/dmabuf --- dma-fence-unwrap.o --- *** [dma-fence-unwrap.o] Error code 1 From nobody Thu Oct 24 18:40:14 2024 X-Original-To: current@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 4XZF8l01f5z5Zl05 for ; Thu, 24 Oct 2024 18:40:23 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XZF8j6Qj7z4l5s for ; Thu, 24 Oct 2024 18:40:21 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org; dmarc=none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49OIeE0s076852 for ; Thu, 24 Oct 2024 18:40:14 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49OIeEYG076851 for current@freebsd.org; Thu, 24 Oct 2024 11:40:14 -0700 (PDT) (envelope-from david) Date: Thu, 24 Oct 2024 11:40:14 -0700 From: David Wolfskill To: current@freebsd.org Subject: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KUXET/iWrXleRknr" Content-Disposition: inline X-Spamd-Result: default: False [-0.35 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.95)[-0.952]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org] X-Rspamd-Queue-Id: 4XZF8j6Qj7z4l5s X-Spamd-Bar: / --KUXET/iWrXleRknr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable So... I've been tracking FreeBSD (generally, daily) on various machines for a couple of decades or so. And I learned long ago to rebuild kmods =66rom ports whenever I rebuilt the kernel, and that generally, the simplest way to ensure that that is done is to augment /etc/src.conf with (e.g.): PORTS_MODULES+=3Dgraphics/drm-61-kmod which (again, generally) works a treat. :-) It even worked Just Fine yesterday (main-n273108-d1d839d0b593 -> main-n273133-419249c1cacc). This morning, however, after updating sources to main-n273188-1c83996beda7, running: g1-48(15.0-C)[12] uname -aUK FreeBSD g1-48.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #110 main-n2= 73133-419249c1cacc: Wed Oct 23 11:19:30 UTC 2024 root@g1-48.catwhisker.= org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1500025 1500025 the attempt to rebuild graphics/drm-61-kmod failed on my laptops, thus: =2E.. --- sync_file.o --- cc -O2 -pipe -fno-strict-aliasing -DLINUXKPI_VERSION=3D60100 '-DKBUILD_MOD= NAME=3D"d mabuf"' -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC = -DCON FIG_DRM_AMD_DC_SI -DCONFIG_AMD_PMC -DCONFIG_DRM_I915_FORCE_PROBE=3D'"*"' -D= CONFIG_DRM_I915_REQUEST_TIMEOUT=3D20000 -DCONFIG_DRM_I915_CAPTURE_ERROR -DC= ONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=3D250 -DCONFIG_DRM_I915_STOP_TIMEOUT= =3D100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=3D640 -DCONFIG_DRM_I915_HEARTBEAT_= INTERVAL=3D2500 -DCONFIG_DRM_I915_TIMESLICE_DURATION=3D1 -DCONFIG_DRM_I915_= MAX_REQUEST_BUSYWAIT=3D8000 -DCONFIG_DRM_I915_FENCE_TIMEOUT=3D10000 -DCONFI= G_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_APERTURE_HELP= ERS -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=3D100 -DCONFI= G_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DEBUG= _FS -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFI= G_PM_SLEEP -DCONFIG_SMP -DCONFIG_SUSPEND -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP = -DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_= COMPAT -DCONFIG_X86_64 -DCONFIG_DRM_AMD_DC_DCN -DCONFIG_DRM_AMD_DC_DCN3_0 -= DCONFIG_DRM_AMD_DC_DCN3_01 -DCONFIG_DRM_AMD_DC_DCN3_02 -DCONFIG_DRM_AMD_DC_= DCN3_1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/common/S4/obj/usr/src/= amd64.amd64/sys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_= v6.1.92_0/linuxkpi/gplv2/include -I/common/S4/obj/usr/src/amd64.amd64/sys/C= ANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkp= i/bsd/include -I/usr/src/sys/compat/linuxkpi/common/include -I/common/S4/ob= j/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-61-kmod/work/drm= -kmod-drm_v6.1.92_0/linuxkpi/dummy/include -I/usr/src/sys/compat/linuxkpi/d= ummy/include -include /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/= ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/obj/common/S4/obj/us= r/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmo= d-drm_v6.1.92_0/dmabuf/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contr= ib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poi= nter -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-pr= efix-map=3D./x86=3D/usr/src/sys/x86/include -fdebug-prefix-map=3D./i386=3D/= usr/src/sys/i386/include -MD -MF.depend.sync_file.o -MTsync_file.o -mc= model=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchron= ous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-poi= nter-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagn= ostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=3Dtautological-= compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-erro= r=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-v= alue -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-= avx -std=3Dgnu99 -c /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/p= orts/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/drivers/dma-buf/sync_= file.c -o sync_file.o --- dma-buf-kmod.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence-array.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence-unwrap.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- sync_file.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-buf.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-fence-chain.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- dma-resv.o --- cc: error: no such include directory: '/common/S4/obj/usr/src/amd64.amd64/s= ys/CANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/lin= uxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- sync_file.o --- *** [sync_file.o] Error code 1 make[1]: stopped making "all" in /common/S4/obj/usr/src/amd64.amd64/sys/CAN= ARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/dmabuf --- dma-fence.o --- *** [dma-fence.o] Error code 1 =2E... A bit of poking around showed that /common/S4/obj/usr/src/amd64.amd64/sys/C= ANARY/common/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi exists, but it does not contain a "dummy" subdirectory: g1-70(14.2-P)[6] ls -laT /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/comm= on/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_0/linuxkpi/ total 16 drwxr-xr-x 4 root wheel 512 Jun 4 04:09:58 2024 . drwxr-xr-x 16 root wheel 512 Oct 24 08:09:48 2024 .. drwxr-xr-x 3 root wheel 512 Jun 4 04:09:58 2024 bsd drwxr-xr-x 3 root wheel 512 Jun 4 04:09:58 2024 gplv2 g1-70(14.2-P)[7] As an experiment, I then ran "portmaster graphics/drm-61-kmod" on the system in question; that succeeded. I have copied typescripts for both the build and the portmaster invocation to https://www.catwhisker.org/~david/FreeBSD/head/n273188/. (My headless build machine -- which runs GENERIC and has no kmods =66rom ports -- had no issues (of course).) I would appreciate being loaned a clue about what I might be doing wrong. Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --KUXET/iWrXleRknr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxqUjl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5bJeAP4uIoZX2vtKjAuFeEcMY+rUUDuoQuXjd5XgD3YUGE79WwEA8V5oTTSkyPrt sGYO6Xp5+pA6O6DFAiaCROftqlnLJA4= =RtNE -----END PGP SIGNATURE----- --KUXET/iWrXleRknr-- From nobody Thu Oct 24 19:28:31 2024 X-Original-To: freebsd-current@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 4XZGDY6txTz5ZmvF for ; Thu, 24 Oct 2024 19:28:45 +0000 (UTC) (envelope-from freebsd@dev.thsi.be) Received: from mail.thsi.be (mail.thsi.be [78.46.184.143]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XZGDV6XSQz4q9V for ; Thu, 24 Oct 2024 19:28:42 +0000 (UTC) (envelope-from freebsd@dev.thsi.be) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=thsi.be header.s=20230901 header.b=UxkghX+g; spf=pass (mx1.freebsd.org: domain of freebsd@dev.thsi.be designates 78.46.184.143 as permitted sender) smtp.mailfrom=freebsd@dev.thsi.be; dmarc=pass (policy=reject) header.from=dev.thsi.be DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thsi.be; s=20230901; t=1729798114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NL7W9aDhuLExQTQXA/ywtb287zgvLFGipxgjHbtd9Dk=; b=UxkghX+gSPUAahXiwJutUMpmjGJg9cUtgEUpK8zASTTrPl/JGDdy/EDy47jS83XUhDkKWe wLlCtfTPyet0V+ZVL+JaYcj53pxAB2WyD6O5eqCb65vPnKVoEgOY8vkWR9ffyi7I6KF7VY tZgngHRVzcXARlqn7iM1pL8rakXZra1g25XRn43VBUqY9vx6yOS5q/LOUy5999qLijC/Ev 65z6we8nzr9lQIjk7icZYHkCMwyiaL4wllEAsuVtjSkrcGPeJd+ZuP2LD50SeEvB966+mP cftypxmAy7NysJUFvhAt/gCuwryeRMdqQQwgSSmcPjth/poj1Fg2IJMSvtbn4Q== Received: from [127.0.0.1] (fw01.rscg.gr [213.249.50.34]) by thsi-smtp-01.fk.thsi.be (OpenSMTPD) with ESMTPSA id 6d0a9ab5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 24 Oct 2024 19:28:33 +0000 (UTC) Date: Thu, 24 Oct 2024 22:28:31 +0300 From: Benjamin Jacobs To: freebsd-current@freebsd.org Subject: Re: upgrade llvm19 broke drm-6.1 kmod User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <87FE1F9A-9510-4579-96BE-1DB6EFE8C1B4@dev.thsi.be> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----QGTIZK91VSF9WPQ135TH5HQ95LU7UQ Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[dev.thsi.be,reject]; R_DKIM_ALLOW(-0.20)[thsi.be:s=20230901]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[thsi.be:+] X-Rspamd-Queue-Id: 4XZGDV6XSQz4q9V X-Spamd-Bar: --- ------QGTIZK91VSF9WPQ135TH5HQ95LU7UQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On October 24, 2024 9:25:35 PM GMT+03:00, Michael Butler wrote: >It seems there are some additional constraints about non-existent directo= ries that now count as errors =2E=2E > >--- sync_file=2Eo --- >cc -O2 -pipe -fno-strict-aliasing -DLINUXKPI_VERSION=3D60100 '-DKBUILD_M= ODNAME=3D"dmabuf"' -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_= DRM_AMD_DC -DCONFIG_DRM_AMD_DC_SI -DCONFIG_AMD_PMC -DCONFIG_DRM_I915_FORCE_= PROBE=3D'"*"' -DCONFIG_DRM_I915_REQUEST_TIMEOUT=3D20000 -DCONFIG_DRM_I915_C= APTURE_ERROR -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=3D250 -DCONFIG_DRM_I91= 5_STOP_TIMEOUT=3D100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=3D640 -DCONFIG_DRM_I= 915_HEARTBEAT_INTERVAL=3D2500 -DCONFIG_DRM_I915_TIMESLICE_DURATION=3D1 -DCO= NFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=3D8000 -DCONFIG_DRM_I915_FENCE_TIMEOUT= =3D10000 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONF= IG_APERTURE_HELPERS -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALL= OC=3D100 -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVIC= E -DCONFIG_DEBUG_FS -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DC= ONFIG_PM -DCONFIG_PM_SLEEP -DCONFIG_SMP -DCONFIG_SUSPEND -DCONFIG_ACPI -DCO= NFIG_ACPI_SLEEP -DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MO= VNTDQA -DCONFIG_COMPAT -DCONFIG_X86_64 -DCONFIG_DRM_AMD_DC_DCN -DCONFIG_DRM= _AMD_DC_DCN3_0 -DCONFIG_DRM_AMD_DC_DCN3_01 -DCONFIG_DRM_AMD_DC_DCN3_02 -DCO= NFIG_DRM_AMD_DC_DCN3_1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/por= ts/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/gplv2/incl= ude -I/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linux= kpi/bsd/include -I/usr/src/sys/compat/linuxkpi/common/include -I/usr/ports/= graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include= -I/usr/src/sys/compat/linuxkpi/dummy/include -include /usr/ports/graphics/= drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/obj/usr/ports/graphics/drm-61-k= mod/work/drm-kmod-drm_v6=2E1=2E92_0/dmabuf/opt_global=2Eh -I=2E -I/usr/src/= sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -= mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D=2E/machine=3D/usr/src/sys= /amd64/include -fdebug-prefix-map=3D=2E/x86=3D/usr/src/sys/x86/include -fde= bug-prefix-map=3D=2E/i386=3D/usr/src/sys/i386/include -MD -MF=2Edepend= =2Esync_file=2Eo -MTsync_file=2Eo -mcmodel=3Dkernel -mno-red-zone -mno-mmx = -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwra= pv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpoint= er-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr= intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragma= s -Wswitch -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-e= rror=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpoint= er-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wn= o-format-zero-length -mno-aes -mno-avx -std=3Dgnu99 -c /usr/ports/graphi= cs/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/drivers/dma-buf/sync_file=2E= c -o sync_file=2Eo >--- dma-fence-chain=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-fence=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- sync_file=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-buf=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-buf-kmod=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-resv=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-fence-unwrap=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-fence-array=2Eo --- >cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/wo= rk/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-in= clude-dirs] >--- dma-resv=2Eo --- >*** [dma-resv=2Eo] Error code 1 > >make[1]: stopped making "all" in /usr/ports/graphics/drm-61-kmod/work/drm= -kmod-drm_v6=2E1=2E92_0/dmabuf >--- sync_file=2Eo --- >*** [sync_file=2Eo] Error code 1 > >make[1]: stopped making "all" in /usr/ports/graphics/drm-61-kmod/work/drm= -kmod-drm_v6=2E1=2E92_0/dmabuf >--- dma-fence-unwrap=2Eo --- >*** [dma-fence-unwrap=2Eo] Error code 1 > > The following workaround did the trick for me=2E Works for drm-515 too and= probably 510? (Sorry if the patch is mangled, sent with phone MUA) diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile index 6db21111f255=2E=2Ed195829ac987 100644 --- a/graphics/drm-61-kmod/Makefile +++ b/graphics/drm-61-kmod/Makefile @@ -49,6 +49,9 @@ PLIST_SUB+=3D I915=3D"@comment " MAKE_ENV+=3D MAKEOBJDIRPREFIX=3D${WRKSRC}/obj +post-patch: + ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include + pre-build: ${MKDIR} ${WRKSRC}/obj (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) ------QGTIZK91VSF9WPQ135TH5HQ95LU7UQ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Oc= tober 24, 2024 9:25:35 PM GMT+03:00, Michael Butler <imb@protected-netwo= rks=2Enet> wrote:
It seems there are some additional= constraints about non-existent directories that now count as errors =2E=2E=

--- sync_file=2Eo ---
cc -O2 -pipe -fno-strict-aliasing -DLINUX= KPI_VERSION=3D60100 '-DKBUILD_MODNAME=3D"dmabuf"' -DCONFIG_DRM_AMDGPU_CIK -= DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_SI -DCONFIG_A= MD_PMC -DCONFIG_DRM_I915_FORCE_PROBE=3D'"*"' -DCONFIG_DRM_I915_REQUEST_TIME= OUT=3D20000 -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_USERFAULT_AUT= OSUSPEND=3D250 -DCONFIG_DRM_I915_STOP_TIMEOUT=3D100 -DCONFIG_DRM_I915_PREEM= PT_TIMEOUT=3D640 -DCONFIG_DRM_I915_HEARTBEAT_INTERVAL=3D2500 -DCONFIG_DRM_I= 915_TIMESLICE_DURATION=3D1 -DCONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=3D8000 -D= CONFIG_DRM_I915_FENCE_TIMEOUT=3D10000 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PA= NEL_ORIENTATION_QUIRKS -DCONFIG_APERTURE_HELPERS -DCONFIG_DRM_FBDEV_EMULATI= ON -DCONFIG_DRM_FBDEV_OVERALLOC=3D100 -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -= DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DEBUG_FS -DCONFIG_DMI -DCONFIG_FB -= DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_PM_SLEEP -DCONFIG_SMP -DCONF= IG_SUSPEND -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_X86 -DCONFIG_X86_PAT = -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X86_64 -DCONFI= G_DRM_AMD_DC_DCN -DCONFIG_DRM_AMD_DC_DCN3_0 -DCONFIG_DRM_AMD_DC_DCN3_01 -DC= ONFIG_DRM_AMD_DC_DCN3_02 -DCONFIG_DRM_AMD_DC_DCN3_1 -Werror -D_KERNEL -DKL= D_MODULE -nostdinc -I/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6= =2E1=2E92_0/linuxkpi/gplv2/include -I/usr/ports/graphics/drm-61-kmod/work/d= rm-kmod-drm_v6=2E1=2E92_0/linuxkpi/bsd/include -I/usr/src/sys/compat/linuxk= pi/common/include -I/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E= 1=2E92_0/linuxkpi/dummy/include -I/usr/src/sys/compat/linuxkpi/dummy/includ= e -include /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/= obj/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/dmabuf/o= pt_global=2Eh -I=2E -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-c= ommon -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-m= ap=3D=2E/machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D=2E/x86= =3D/usr/src/sys/x86/include -fdebug-prefix-map=3D=2E/i386=3D/usr/src/sys/i3= 86/include -MD -MF=2Edepend=2Esync_file=2Eo -MTsync_file=2Eo -mcmodel= =3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-u= nwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-protot= ypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-= sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostic= s-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=3Dtautological-compa= re -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Du= nused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value = -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx = -std=3Dgnu99 -c /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E= 92_0/drivers/dma-buf/sync_file=2Ec -o sync_file=2Eo
--- dma-fence-chain= =2Eo ---
cc: error: no such include directory: '/usr/ports/graphics/drm-= 61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-W= missing-include-dirs]
--- dma-fence=2Eo ---
cc: error: no such includ= e directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92= _0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs]
--- sync_fil= e=2Eo ---
cc: error: no such include directory: '/usr/ports/graphics/drm= -61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-= Wmissing-include-dirs]
--- dma-buf=2Eo ---
cc: error: no such include= directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_= 0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs]
--- dma-buf-k= mod=2Eo ---
cc: error: no such include directory: '/usr/ports/graphics/d= rm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror= ,-Wmissing-include-dirs]
--- dma-resv=2Eo ---
cc: error: no such incl= ude directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E= 92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs]
--- dma-fe= nce-unwrap=2Eo ---
cc: error: no such include directory: '/usr/ports/gra= phics/drm-61-kmod/work/drm-kmod-drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [= -Werror,-Wmissing-include-dirs]
--- dma-fence-array=2Eo ---
cc: error= : no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod= -drm_v6=2E1=2E92_0/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs]=
--- dma-resv=2Eo ---
*** [dma-resv=2Eo] Error code 1

make[1]:= stopped making "all" in /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_= v6=2E1=2E92_0/dmabuf
--- sync_file=2Eo ---
*** [sync_file=2Eo] Error = code 1

make[1]: stopped making "all" in /usr/ports/graphics/drm-61-k= mod/work/drm-kmod-drm_v6=2E1=2E92_0/dmabuf
--- dma-fence-unwrap=2Eo ---<= br>*** [dma-fence-unwrap=2Eo] Error code 1



The following workaround did = the trick for me=2E Works for drm-515 too and probably 510? (Sorry if the p= atch is mangled, sent with phone MUA)

diff --git a/graphics/drm-61-k= mod/Makefile b/graphics/drm-61-kmod/Makefile
index 6db21111f255=2E=2Ed19= 5829ac987 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/d= rm-61-kmod/Makefile
@@ -49,6 +49,9 @@ PLIST_SUB+=3D I915=3D"@comment "
MAKE_ENV+=3D MAKEOBJDIRPREFIX=3D${WRKSRC}/obj

+post-patch:+ ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include
+
pre-build:
${MKDI= R} ${WRKSRC}/obj
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj)=
------QGTIZK91VSF9WPQ135TH5HQ95LU7UQ-- From nobody Thu Oct 24 19:58:19 2024 X-Original-To: freebsd-current@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 4XZGtw5hVNz5ZpNM for ; Thu, 24 Oct 2024 19:58:32 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZGtw3XJsz4tDj; Thu, 24 Oct 2024 19:58:32 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-3a3f8b5fc45so7501795ab.1; Thu, 24 Oct 2024 12:58:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729799911; x=1730404711; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tQkkCUkAghZtNdK/nh0HBmPQ1bpZWoDpklHMo+HxZ7A=; b=ENAXkaRjZCkUrcAGdDp3hGvf7hMBzCS8OETkLqtTXSHTWS6tTrtgKe12QSC6ytHn/2 kF6VVCtAQQ9FyiDcz5LZZMC7qVAHgHCjyCYoFF7FgSTCwpPJEthPeWGbYLvus7AtQquY 0rhGGwkwYeQImQnpLU6bT8X07QFpuH6j/tasW/uJrka9RQHa5LLjmW2J86LEMAPgQfXE PEoy3q9IZZqBFcbQn3LwhUozSmpXSM2sdgOxlTltq3AhDvDSGe92W27utiK01XTJTDzl T4BzNLNvXCNnFoZrLxwIKQ16su2CXMBR/F/4ZYmqvT9oWDxMtpPA72rj/HHEYfhZKmaU epSA== X-Forwarded-Encrypted: i=1; AJvYcCX0QkliYM8iEN9BtmfCOMzIlilYHAe7mcNJHdLZQZ2jwALrr3QDm2rMvWWleE4mVrteg7DS@freebsd.org X-Gm-Message-State: AOJu0Yy/jNuM6JZqmPY4pViDDlt4afPVW5uK7FzgjJm2WgWdIf3v7vT3 aXz2QB3MW0qodPpdggNaBXWtYuzdHixpozAllAWlAHfe3Qc03xNOhNId02MRHBDDbzbx2mVgG17 Woh2efhDFGkPM+xcdv+YAIS1tqZPUfFHi X-Google-Smtp-Source: AGHT+IG69QRIaJ6dvbieJ3KksdArXlZ1m6g0MhAzeFUJP2EtzwptyKTbK+5bG9mEdibMfRMCqevfcJogAxoNUNon0Mg= X-Received: by 2002:a05:6e02:1fed:b0:3a0:ce43:fb62 with SMTP id e9e14a558f8ab-3a4de77d4damr24139265ab.11.1729799911327; Thu, 24 Oct 2024 12:58:31 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Thu, 24 Oct 2024 15:58:19 -0400 Message-ID: Subject: Re: upgrade llvm19 broke drm-6.1 kmod To: Michael Butler Cc: freebsd-current , Emmanuel Vadot Content-Type: text/plain; charset="UTF-8" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XZGtw3XJsz4tDj X-Spamd-Bar: ---- On Thu, 24 Oct 2024 at 14:26, Michael Butler wrote: > > It seems there are some additional constraints about non-existent > directories that now count as errors .. I ran into this as well, in my work tree that has drm-kmod 6.6 as a submodule. I think these include paths are just leftover from some earlier work, and I opened a pull request to remove them: https://github.com/freebsd/drm-kmod/pull/321 From nobody Thu Oct 24 20:26:20 2024 X-Original-To: current@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 4XZHW468kDz5Zqg8 for ; Thu, 24 Oct 2024 20:26:24 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZHW33pTZz3xbh for ; Thu, 24 Oct 2024 20:26:23 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=fRNaubTX; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::131 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org; dmarc=none Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-3a3b6b281d4so5669655ab.0 for ; Thu, 24 Oct 2024 13:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1729801582; x=1730406382; darn=freebsd.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=T2uJrkUChZB4+c/UdcZnBqTAW4xtBOvnVaRXmo6h/bU=; b=fRNaubTX8CqUldg/filp8NO8SClUxe9k8nZmVqZUMVLps/ubbfEYG3fNGikTmlsnQY kktpm39kVcIM1Fy1WrrkGBQO+xehsjzhlxukY9tkhf8EnVJYeOmVbCT7bgWzpO0143GL cHmNVLNUGV3V2V8RakwZaFwXvOhqFuvi5okS9EH9Kj9ennoFyriTLM/aUDx1WiePSd4j oEAuuanyUPetmGsyaWDJo5/wA47yImhmDkfRcJso0/rNB8eBODlntMG7GYCnstC22CAp Yo0pm0NzHJ/tAqzA3buJugPTGhUq+ozMUMLr2ka+aIMd5p7oKR8eTwP0l6kgrbZrIRxM nrDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729801582; x=1730406382; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T2uJrkUChZB4+c/UdcZnBqTAW4xtBOvnVaRXmo6h/bU=; b=dF52A1MIhtcQEWFUTXOUImclFCskWPodXIkr3CE+ZHGC6xzGAaWs3O/g9RrN/gePSi /EtbIgNpHYDMFRr/YJ82y0xa9p/REHWGYlYErTOJ5SB/9Uu9jaEfPepeKYkJQU+2DerL To3qfhKE9i6b6hA9q8idOQNdSCbL3ckkvh3y5x/pdvDSLIiESKoUtdUUjuGrIrNWnOEL 4CyOb+SqHGDuU1+zqn3Fa9vLgUN9NpltczYdx9rb4VufCJWWBnIHpHbPsKEiG8YMaIyL 3u5ARnjNQ2mW3b3tpqg8KIbfSqHP25mOA/+wsqa/Wo7kGgqCEq1HBuv48Q1Zwi+F4psv uYoQ== X-Gm-Message-State: AOJu0Yze0stlE70yvsmBNIOyuajuhX57gB939vhjIUonx9NkwmM/sZ3Z spORD15JOuGGNPsURFjBFemT6R8LlLSLi4V5Sr/ieU8gorlnVrnfLpe6iEb7/1QqGJcMQ710uIw 4b2VMYaQwEwsxsW3Z5rRWskoP5VSsGK5Awa3XzRTWcURzKh/RoJcBaGsTCRSNpSCJ04zoOdkM/S gl1SXuotgVbUzM4o3SLAr5E7TwoFa4LK3iSf/4Wg6rNg== X-Google-Smtp-Source: AGHT+IExtmxJDSj7/M7is3XkwFil5VuOSetIKZqrIt5ktW9+X1cpU63swqZKoOirBPM7umv0w6XnTA== X-Received: by 2002:a05:6e02:1c0a:b0:3a2:7651:9846 with SMTP id e9e14a558f8ab-3a4de7a35e4mr46427095ab.13.1729801581824; Thu, 24 Oct 2024 13:26:21 -0700 (PDT) Received: from mutt-hbsd ([184.99.62.3]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a400aa4657sm31769235ab.32.2024.10.24.13.26.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 13:26:21 -0700 (PDT) Date: Thu, 24 Oct 2024 20:26:20 +0000 From: Shawn Webb To: current@freebsd.org Subject: ZFS sharenfs broken Message-ID: X-Operating-System: FreeBSD mutt-hbsd 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uomizr4pvhawelvz" Content-Disposition: inline X-Spamd-Result: default: False [-5.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[hardenedbsd.org]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::131:from]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+] X-Rspamd-Queue-Id: 4XZHW33pTZz3xbh X-Spamd-Bar: ----- --uomizr4pvhawelvz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey all, I'm exposing some ZFS datasets using the `zfs set sharenfs` option. However, this causes mountd to complain: =3D=3D=3D=3D BEGIN mountd LOG =3D=3D=3D=3D Oct 24 20:19:59 hbsd-os-build-01 mountd[89840]: bad exports list line '/dat= a/build/pub/current -ro' Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '/dat= a/build/pub -ro' Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '/dat= a/build/pub/13-stable -ro' Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '/dat= a/build/pub/cross-dso-cfi -ro' Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro =3D=3D=3D=3D END mountd LOG =3D=3D=3D=3D The command I ran for those datasets: zfs set sharenfs=3D'ro=3D172.16.1.0/24,-alldirs' rpool/data/build/pub (Replace that last argument with the other datasets. The same exact command was used, just with the dataset changed.) The /etc/zfs/exports file contains: =3D=3D=3D=3D BEGIN exports =3D=3D=3D=3D # !!! DO NOT EDIT THIS FILE MANUALLY !!! /data/build/pub -ro=3D172.16.1.0/24 -alldirs=20 /data/build/pub/13-stable -ro=3D172.16.1.0/24 -alldirs=20 /data/build/pub/cross-dso-cfi -ro=3D172.16.1.0/24 -alldirs=20 /data/build/pub/current -ro=3D172.16.1.0/24 -alldirs =3D=3D=3D=3D END exports =3D=3D=3D I'm a bit unsure of what to do here. I'm not sure if the issue lies in ZFS or mountd or something else entirely. `uname -a` shows: FreeBSD hbsd-os-build-01 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD #0 ha= rdened/current/master-n194236-a8e5e4e37b03: Thu Oct 24 19:49:31 UTC 2024 = root@hbsd-os-build-01:/usr/obj/usr/src/amd64.amd64/sys/HARDENEDBSD amd64 Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --uomizr4pvhawelvz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmcarWQACgkQ/y5nonf4 4frN4Q/6A0oG5P6gupeQidBczk0lmEy4RNLqY5IJxflpfOnLyiK+4FZvu1noB6jK HHz74B0mCGr23e3zI78D1CxFDosoDzyTjvpgjC3Q88UBwhcW+fihZuwSE4lB/hqn Fgfd6oGtx8O7/+LszM1/xYdYbny60rwdQBpPWMoTQE3nG0hwZD3yiQDBPwiFvGMJ aUaFgaaRzvfS4LSt2zS/OpWQ0suba0A7ms6udP5V0ijyH3Eq1S+aKNYP0wzTH9Tz wwCinpl+j9Vv7IZuE2ELFdIUaSPUG4zHyPefz4vXix4RJztgHeARQLctQXwwGvsH pWdto3Xg3V1PSpSvSMK6tFyPZq3gR8LF2HOm29nakZuwJq/zKU/83iFzcXF08wWd w3KS2Wm+QretpNAZD8Z31tqPbKx7PlQaqvx+Xr2Agx/KLO6TPc03IJal//LWaWv8 zKUHyVULAdKfM6dxzcfQHYOc18CanA/TK2pgjan0WFBGHkuwCiEBqD9rFjdkeaKb 7/pZyOT3E99GAZCG1AIR43w/SOl9dKXOowHIFcPhjGleyo8UtygOzyFp9dceGrIJ lts+VvHeLq7Uz0dWrTc/49sQ0gFjNbXnFlvkd9pUrFYrbmvJdxAJUjSAgY2LYnJA /tYCtfVKozNw20k/F71EfvPyjGCQ3NYAZeElZJDMeul9eawYDh8= =FrST -----END PGP SIGNATURE----- --uomizr4pvhawelvz-- From nobody Thu Oct 24 20:36:47 2024 X-Original-To: current@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 4XZHlL1XbYz5ZrLr for ; Thu, 24 Oct 2024 20:37:02 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZHlK6C3Hz42PF for ; Thu, 24 Oct 2024 20:37:01 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2fb49510250so15001701fa.0 for ; Thu, 24 Oct 2024 13:37:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729802220; x=1730407020; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1J9kGkdegEKpaktdxQFMGFJYn5IAX5bYZHt8OOckOHM=; b=jHUsIgxhpRoxRu/+BPN222vCVBw/5o4cdNaegF0lj9vZJ06L3BO1+28zSLxZP3nP4u FpqpkOUTsU558OVeDkcZzXdYAPEWAU2BjzrKix29tgdB+7lkIumemCUMlRFtO/2DbpiC 2OZMrQ5pYdtrExxzq3GL+mTPKKjEbfHvstOY4EnpfixCiQJeaQRCGY+vWE/TVSDvFWSs Qy01GJg5amKcs2NvT2P57UAZ5kIXrOZSfe2CAMlcaGU36J1gN43E+dw3ScCfEAeGicEY DIMGTFn3HdLbFCIJB8UgS9BhhXRwz7k3UlDZbuMl7zaxYdR/kTfCfUpMVx8AuIQU75Kg xCiA== X-Gm-Message-State: AOJu0Yyu5A+yrGTOWdmtsJIe5rVfb0kjAcHKFy8TPbnfWb+pZCFEgX/p iczgEG1g3IqiRFPrr2cv7Dba2RVn4g/qlAB0PGYbkWWbx2MFOTpQ25j6DS/wLugD70t7Mh7Voay x2Wt62Qeuy7l5c4vgpZ3+rpP1k4KiOTcP X-Google-Smtp-Source: AGHT+IE0xvJDeNF58G9M0dL83DHxqC8G3fHPBKldihZJn9u8dhGxgAsO1/WeUKeYvzMG2Il5tQ/2kDlHzvrd2Uvofsw= X-Received: by 2002:a05:651c:4ca:b0:2fb:411e:d979 with SMTP id 38308e7fff4ca-2fc9fcd99c5mr41116361fa.31.1729802219646; Thu, 24 Oct 2024 13:36:59 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 24 Oct 2024 14:36:47 -0600 Message-ID: Subject: Re: ZFS sharenfs broken To: Shawn Webb Cc: current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XZHlK6C3Hz42PF X-Spamd-Bar: ---- I think that's just an exports(5) syntax error. I don't think "=3D" should follow "-ro". Try this instead: zfs set sharenfs=3D'-ro -alldirs 172.16.1.0/24' rpool/data/build/pub On Thu, Oct 24, 2024 at 2:26=E2=80=AFPM Shawn Webb wrote: > > Hey all, > > I'm exposing some ZFS datasets using the `zfs set sharenfs` option. > However, this causes mountd to complain: > > =3D=3D=3D=3D BEGIN mountd LOG =3D=3D=3D=3D > Oct 24 20:19:59 hbsd-os-build-01 mountd[89840]: bad exports list line '/d= ata/build/pub/current -ro' > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '/d= ata/build/pub -ro' > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '/d= ata/build/pub/13-stable -ro' > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '/d= ata/build/pub/cross-dso-cfi -ro' > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > =3D=3D=3D=3D END mountd LOG =3D=3D=3D=3D > > The command I ran for those datasets: > > zfs set sharenfs=3D'ro=3D172.16.1.0/24,-alldirs' rpool/data/build/pub > > (Replace that last argument with the other datasets. The same exact > command was used, just with the dataset changed.) > > The /etc/zfs/exports file contains: > > =3D=3D=3D=3D BEGIN exports =3D=3D=3D=3D > # !!! DO NOT EDIT THIS FILE MANUALLY !!! > > /data/build/pub -ro=3D172.16.1.0/24 -alldirs > /data/build/pub/13-stable -ro=3D172.16.1.0/24 -alldirs > /data/build/pub/cross-dso-cfi -ro=3D172.16.1.0/24 -alldirs > /data/build/pub/current -ro=3D172.16.1.0/24 -alldirs > =3D=3D=3D=3D END exports =3D=3D=3D > > I'm a bit unsure of what to do here. I'm not sure if the issue lies in > ZFS or mountd or something else entirely. > > `uname -a` shows: > > FreeBSD hbsd-os-build-01 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD #0 = hardened/current/master-n194236-a8e5e4e37b03: Thu Oct 24 19:49:31 UTC 2024 = root@hbsd-os-build-01:/usr/obj/usr/src/amd64.amd64/sys/HARDENEDBSD amd6= 4 > > Thanks, > > -- > Shawn Webb > Cofounder / Security Engineer > HardenedBSD > > Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 > https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/0= 3A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc From nobody Thu Oct 24 20:46:27 2024 X-Original-To: current@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 4XZHyH3kSTz5ZrYK for ; Thu, 24 Oct 2024 20:46:31 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZHyH1RHYz44YY for ; Thu, 24 Oct 2024 20:46:31 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3e5fee32e76so798219b6e.1 for ; Thu, 24 Oct 2024 13:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1729802790; x=1730407590; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2bxSVVqDHn+Vna9K/+8dcxkesQdApewZYhjjypVjRMM=; b=M1MYl83jSU9cU2GLFC1K8Bw8ajxqTgInXg663l91Qj2Y2v6jlHU5HC3o+nTPulpCnt i5VfAXSE/8YKWJ9HuxBZ8CMjNg+Un7fgbSjt1aWMPkzPTFqyL+lW3hyrtC/K40URCXlY GJ1ccFVCsRzL8GJks8QKgHoXZeN4J+1ueEOvsmJ561RRbq+Pdu5OJGksXYv9Y8eoPJ7Q VpZpRKGJP5/lXtoRZxev5GNlFXUhsmsFWuW2QqIQwUXXm6eRwJ3yRbDfVWmFteqyLgQL kjEGoekE4XR+ahUvC6s7B0VIqWkcXtOH5lhXQ0v9U5UWmQzqjwvMDKhGO++k8VX7me82 T9Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729802790; x=1730407590; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2bxSVVqDHn+Vna9K/+8dcxkesQdApewZYhjjypVjRMM=; b=s9ywMGfv27HBmqUrwlONI1MjqqJgKLuqsgs/MdSLyB22Me2Cx2PIUwMi4cQpDyMuwm tfv/r4yzkYg9m7Z9RWu9VhaKH79wJ+/RaUKCqBmyDkgvO5v6zkusvVmTE2JISIY8tQvY 6exc+U1YlSP9+hbbIASL89gKJc4eKh8A/lp7oqMvrvyF2uQFFHvIaYVAzO+SaD1Nmg0c lUBbx8+PmwiH09PAW7HVt6Q6jhCv+zlb9w9zfdaxzT9cM4/nbRQZA3gIni4rMTATNmYY k5hTg9IHgwSMVYwoOjSrJAerHBTy+DEyudDQ6lJqSHsmjb55XF3CtBkFdyk9W5RYvKP6 a34w== X-Gm-Message-State: AOJu0YyF1CVoX3uQCLdJiYb2Gv0JVg3wyqymsvyAopMbyG0QQYv7AQVU H/e/dCKlBaQzaWPXL7sOXMKfqg1hsZTVT0rPX3nc2aRENICVRwQ6C3Y0ss6+hgBE6OxcSjrtyro T X-Google-Smtp-Source: AGHT+IH5hvCKFVGLNehcC6YkkXaHF9ISJJxEvhcpaV7W/JthX9oA3ecoqpspzXiU7gaDvXblAuRAXA== X-Received: by 2002:a05:6808:23c8:b0:3e6:1356:ad5e with SMTP id 5614622812f47-3e624500ac4mr7927306b6e.13.1729802789813; Thu, 24 Oct 2024 13:46:29 -0700 (PDT) Received: from mutt-hbsd ([184.99.62.3]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4dc2a52fa92sm2830017173.16.2024.10.24.13.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 13:46:28 -0700 (PDT) Date: Thu, 24 Oct 2024 20:46:27 +0000 From: Shawn Webb To: Alan Somers Cc: current@freebsd.org Subject: Re: ZFS sharenfs broken Message-ID: X-Operating-System: FreeBSD mutt-hbsd 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hfsswdswid6exr7i" Content-Disposition: inline In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XZHyH1RHYz44YY X-Spamd-Bar: ---- --hfsswdswid6exr7i Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable That gave me enough of a hint to go on. It does look like it was an issue with how I originally specified the options. For posterity's sake, here's how I fixed it: zfs set sharenfs=3D'-ro -alldirs -network 172.16.1.0 -mask 255.255.255.0' r= pool/data/build/pub (Applied the same sharenfs settings with the other datasets.) All is well now. Thanks a bunch, Alan! I really appreciate the help. :-) --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc On Thu, Oct 24, 2024 at 02:36:47PM UTC, Alan Somers wrote: > I think that's just an exports(5) syntax error. I don't think "=3D" > should follow "-ro". Try this instead: >=20 > zfs set sharenfs=3D'-ro -alldirs 172.16.1.0/24' rpool/data/build/pub >=20 > On Thu, Oct 24, 2024 at 2:26=E2=80=AFPM Shawn Webb wrote: > > > > Hey all, > > > > I'm exposing some ZFS datasets using the `zfs set sharenfs` option. > > However, this causes mountd to complain: > > > > =3D=3D=3D=3D BEGIN mountd LOG =3D=3D=3D=3D > > Oct 24 20:19:59 hbsd-os-build-01 mountd[89840]: bad exports list line '= /data/build/pub/current -ro' > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '= /data/build/pub -ro' > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '= /data/build/pub/13-stable -ro' > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: bad exports list line '= /data/build/pub/cross-dso-cfi -ro' > > Oct 24 20:20:07 hbsd-os-build-01 mountd[14071]: =3D after op: ro > > =3D=3D=3D=3D END mountd LOG =3D=3D=3D=3D > > > > The command I ran for those datasets: > > > > zfs set sharenfs=3D'ro=3D172.16.1.0/24,-alldirs' rpool/data/build/pub > > > > (Replace that last argument with the other datasets. The same exact > > command was used, just with the dataset changed.) > > > > The /etc/zfs/exports file contains: > > > > =3D=3D=3D=3D BEGIN exports =3D=3D=3D=3D > > # !!! DO NOT EDIT THIS FILE MANUALLY !!! > > > > /data/build/pub -ro=3D172.16.1.0/24 -alldirs > > /data/build/pub/13-stable -ro=3D172.16.1.0/24 -alldirs > > /data/build/pub/cross-dso-cfi -ro=3D172.16.1.0/24 -alldirs > > /data/build/pub/current -ro=3D172.16.1.0/24 -alldirs > > =3D=3D=3D=3D END exports =3D=3D=3D > > > > I'm a bit unsure of what to do here. I'm not sure if the issue lies in > > ZFS or mountd or something else entirely. > > > > `uname -a` shows: > > > > FreeBSD hbsd-os-build-01 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD #0= hardened/current/master-n194236-a8e5e4e37b03: Thu Oct 24 19:49:31 UTC 202= 4 root@hbsd-os-build-01:/usr/obj/usr/src/amd64.amd64/sys/HARDENEDBSD am= d64 > > > > Thanks, > > > > -- > > Shawn Webb > > Cofounder / Security Engineer > > HardenedBSD > > > > Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 > > https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb= /03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --hfsswdswid6exr7i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmcash0ACgkQ/y5nonf4 4fp7rA/6A/PTCOIpZqG9f3oSLxv3i4clea4EJaAfLViunybm8q0cLRCfVLkSskpj VdLAuvglG1Nq9QCmQZ8CHWm9kfXFcT+F3VuqlG3C4CDjpeaniMCwpkku81xSpn26 hgX5jruXtisQhp/uwufgjlrUQDwbFQS4WqYUJsDrPAEChdb2mehrumLN5mf22C1k jq3pxIAYpKHzkpB31uZVblbA8XnKIMDgW4ENN/ijqqhEBPEOFpYEdRLsxaPAVOp0 O37iZ/jUJyYmACaCQ/wQJvpsnl4lxyV0l4CaVc7jM6LE8mz9LtDdRiiGCctvaePO 7ofqjFSUs52im5sHN4ysY3qHEeX5kiv6KP4VnWTHbQSwiHvTm42/FetrMAJvxX3K RrxPPWXxMF6q/tIcu2B+J/7TJ8/JvFCb825Dq/fHW34ra+32bQ/wkxD2tcYVLB04 /wqdmtTXWB7QFhMIjTLbQRQcEmM1lO+Kz/7A45GojrfKHnOoYI076p4WtRa3EcEy MQTDdRWS5yGP5AJjiSsHhpkeZ6T0+3h8LsxcKoJs8xn6bypvneERoBWU+4e1GSRu akBu+z/ePUCK28qhsZBfHOXhIWDol9mrtHzHLIv2P3oXJBEc1QE+R6X9xQHr9mor BFsNC5ODzea+705ZTBgjiIx0DmkRKrU5qLTPpjUcY+hv8VR9b4c= =5+T/ -----END PGP SIGNATURE----- --hfsswdswid6exr7i-- From nobody Fri Oct 25 07:20:16 2024 X-Original-To: current@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 4XZZ1m1kpVz5bNjG for ; Fri, 25 Oct 2024 07:20:28 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZZ1l547Lz4w7j for ; Fri, 25 Oct 2024 07:20:27 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.18.1/8.18.1) with ESMTPS id 49P7KHx3097526 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 25 Oct 2024 09:20:17 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.18.1/8.18.1/Submit) id 49P7KHsp097525; Fri, 25 Oct 2024 09:20:17 +0200 (CEST) (envelope-from fuz) Date: Fri, 25 Oct 2024 09:20:16 +0200 From: Robert Clausecker To: current@freebsd.org Cc: Benjamin Jacobs Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4XZZ1l547Lz4w7j X-Spamd-Bar: ---- Hi David, Am Thu, Oct 24, 2024 at 11:40:14AM -0700 schrieb David Wolfskill: > So... I've been tracking FreeBSD (generally, daily) on various machines > for a couple of decades or so. And I learned long ago to rebuild kmods > from ports whenever I rebuilt the kernel, and that generally, the > simplest way to ensure that that is done is to augment /etc/src.conf > with (e.g.): > > PORTS_MODULES+=graphics/drm-61-kmod > > which (again, generally) works a treat. :-) > > It even worked Just Fine yesterday (main-n273108-d1d839d0b593 -> > main-n273133-419249c1cacc). > > This morning, however, after updating sources to > main-n273188-1c83996beda7, running: > > g1-48(15.0-C)[12] uname -aUK > FreeBSD g1-48.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #110 main-n273133-419249c1cacc: Wed Oct 23 11:19:30 UTC 2024 root@g1-48.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1500025 1500025 > > the attempt to rebuild graphics/drm-61-kmod failed on my laptops, thus: > > ... The same issue was reported in another thread. Try this workaround: ---8<---8<---8<---8<--- diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile index 6db21111f255..d195829ac987 100644 --- a/graphics/drm-61-kmod/Makefile +++ b/graphics/drm-61-kmod/Makefile @@ -49,6 +49,9 @@ PLIST_SUB+= I915="@comment " MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj +post-patch: + ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include + pre-build: ${MKDIR} ${WRKSRC}/obj (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) ---8<---8<---8<---8<--- Yours, Robert Clausecker -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments From nobody Fri Oct 25 08:08:26 2024 X-Original-To: freebsd-current@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 4XZb5J3MzDz5bQWk for ; Fri, 25 Oct 2024 08:08:36 +0000 (UTC) (envelope-from rodrigo@osorio.me) Received: from smtp.osorio.me (mvd.osorio.me [37.187.111.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4XZb5H0FQ1z5136 for ; Fri, 25 Oct 2024 08:08:35 +0000 (UTC) (envelope-from rodrigo@osorio.me) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of rodrigo@osorio.me designates 37.187.111.94 as permitted sender) smtp.mailfrom=rodrigo@osorio.me; dmarc=none Received: from [192.168.1.39] (lfbn-idf1-1-971-net.w86-238.abo.wanadoo.fr [86.238.50.0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id 38A84B6939 for ; Fri, 25 Oct 2024 08:08:48 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------cP1YmAJOqPH76WW9dB2AYoUs" Message-ID: <676e24ea-3653-42ac-8e7d-dcac8a73cdf7@osorio.me> Date: Fri, 25 Oct 2024 10:08:26 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Freezes with FreeBSD 15.0-CURRENT since 3 weeks To: freebsd-current@freebsd.org References: <960111947.44017.1729589510742@localhost> Content-Language: en-US From: Rodrigo Osorio In-Reply-To: <960111947.44017.1729589510742@localhost> X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip4:37.187.111.94]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[rodrigo]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[osorio.me]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4XZb5H0FQ1z5136 X-Spamd-Bar: --- This is a multi-part message in MIME format. --------------cP1YmAJOqPH76WW9dB2AYoUs Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Ronald, On 22/10/24 11:31, Ronald Klop wrote: > > A couple of low-hanging-fruit suggestions. > > Can you ping the machine if it is frozen? This will indicate if the > whole kernel is frozen or for example only the video part. > If you can ping it, can you ssh to the machine? Or is an existing ssh > connection maybe still usable to diagnose further. After a freeze yesterday I try to ping the machine without response, the power button is also unresponsive. I can assume that the whole kernel is frozen. > > Did you try recompiling the kmod X11 drivers? These drivers are > closely connected to kernel internals and tracking non-release version > can get the drivers out of sync with the kernel which can give an > interesting set of symptoms like hangs or crashes. Not yet, I'm working on it. > > Regards, > Ronald. Regards, -- rodrigo > > *Van:* Rodrigo Osorio > *Datum:* dinsdag, 22 oktober 2024 10:40 > *Aan:* freebsd-current@freebsd.org > *Onderwerp:* Freezes with FreeBSD 15.0-CURRENT since 3 weeks > > Hi, > > Since 2 or 3 weeks I start experiencing system freezes on an > and64 Lenovo Thinkbook laptop I'm using as my daily desktop PC. > > I'm running FreeBSD current using pkg base_weekly to grab > updates (currently main-n273070-6d42d5dbdd67). > The full hardware details are here: > https://wiki.freebsd.org/Laptops/ThinkBook_G6 > > Freezes occurs 1 or two times 2 a week and in multiple situations, > not specially > in hi cpu load or stress-full video playback. > > > This are the latest /var/log/messages lines before the freeze > > Oct 22 08:13:33 bsddektop kernel: pipe state doesn't match! > Oct 22 08:13:39 bsddektop kernel: sonewconn: pcb > 0xfffff80021705700 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): > Listen queue overflow: 1 already in queue awaiting acceptance (1 > occurrences), >   euid 1001, rgid 1001, jail 0 > Oct 22 08:14:29 bsddektop kernel: em0: link state changed to UP > Oct 22 08:14:30 bsddektop dhclient[4668]: New IP Address (em0): > 192.168.1.39 > Oct 22 08:14:30 bsddektop dhclient[4672]: New Subnet Mask (em0): > 255.255.255.0 > Oct 22 08:14:30 bsddektop dhclient[4676]: New Broadcast Address > (em0): 192.168.1.255 > Oct 22 08:14:30 bsddektop dhclient[4680]: New Routers (em0): > 192.168.1.1 > Oct 22 08:15:01 bsddektop kernel: sonewconn: pcb > 0xfffff8005af2ad00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): > Listen queue overflow: 1 already in queue awaiting acceptance (1 > occurrences), >   euid 1001, rgid 1001, jail 0 > Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] oss-util.c: > '/dev/dsp0' doesn't support full duplex > Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] cli-command.c: > stat('/usr/local/etc/pulse/default.pa.d'): No such file or directory > Oct 22 08:41:35 bsddektop kernel: witness_lock_list_get: witness > exhausted > Oct 22 08:51:14 bsddektop devd[3958]: check_clients: dropping > disconnected client > Oct 22 09:17:15 bsddektop kernel: sonewconn: pcb > 0xfffff8005af4eb00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): > Listen queue overflow: 1 already in queue awaiting acceptance (1 > occurrences), >   euid 1001, rgid 1001, jail 0 > Oct 22 09:30:27 bsddektop kernel: pid 5499 (pavucontrol), jid 0, > uid 1001: exited on signal 10 (core dumped) > > Thanks for your help, > -- Rodrigo > > ------------------------------------------------------------------------ > > --------------cP1YmAJOqPH76WW9dB2AYoUs Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hi Ronald,

On 22/10/24 11:31, Ronald Klop wrote:

A couple of low-hanging-fruit suggestions.

Can you ping the machine if it is frozen? This will indicate if the whole kernel is frozen or for example only the video part.
If you can ping it, can you ssh to the machine? Or is an existing ssh connection maybe still usable to diagnose further.
After a freeze yesterday I try to ping the machine without response, the power button is also unresponsive.
I can assume that the whole kernel is frozen.

Did you try recompiling the kmod X11 drivers? These drivers are closely connected to kernel internals and tracking non-release version can get the drivers out of sync with the kernel which can give an interesting set of symptoms like hangs or crashes.
Not yet, I'm working on it.


Regards,
Ronald.
Regards,
-- rodrigo

 

Van: Rodrigo Osorio <rodrigo@osorio.me>
Datum: dinsdag, 22 oktober 2024 10:40
Aan: freebsd-current@freebsd.org
Onderwerp: Freezes with FreeBSD 15.0-CURRENT since 3 weeks

Hi,

Since 2 or 3 weeks I start experiencing system freezes on an
and64 Lenovo Thinkbook laptop I'm using as my daily desktop PC.

I'm running FreeBSD current using pkg base_weekly to grab
updates (currently main-n273070-6d42d5dbdd67).
The full hardware details are here: https://wiki.freebsd.org/Laptops/ThinkBook_G6

Freezes occurs 1 or two times 2 a week and in multiple situations, not specially
in hi cpu load or stress-full video playback.


This are the latest /var/log/messages lines before the freeze

Oct 22 08:13:33 bsddektop kernel: pipe state doesn't match!
Oct 22 08:13:39 bsddektop kernel: sonewconn: pcb 0xfffff80021705700 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),
  euid 1001, rgid 1001, jail 0
Oct 22 08:14:29 bsddektop kernel: em0: link state changed to UP
Oct 22 08:14:30 bsddektop dhclient[4668]: New IP Address (em0): 192.168.1.39
Oct 22 08:14:30 bsddektop dhclient[4672]: New Subnet Mask (em0): 255.255.255.0
Oct 22 08:14:30 bsddektop dhclient[4676]: New Broadcast Address (em0): 192.168.1.255
Oct 22 08:14:30 bsddektop dhclient[4680]: New Routers (em0): 192.168.1.1
Oct 22 08:15:01 bsddektop kernel: sonewconn: pcb 0xfffff8005af2ad00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),
  euid 1001, rgid 1001, jail 0
Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] oss-util.c: '/dev/dsp0' doesn't support full duplex
Oct 22 08:16:53 bsddektop pulseaudio[4813]: [] cli-command.c: stat('/usr/local/etc/pulse/default.pa.d'): No such file or directory
Oct 22 08:41:35 bsddektop kernel: witness_lock_list_get: witness exhausted
Oct 22 08:51:14 bsddektop devd[3958]: check_clients:  dropping disconnected client
Oct 22 09:17:15 bsddektop kernel: sonewconn: pcb 0xfffff8005af4eb00 (local:/var/run/xdg/rodrigo/.ecore/efreetd/0): Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences),
  euid 1001, rgid 1001, jail 0
Oct 22 09:30:27 bsddektop kernel: pid 5499 (pavucontrol), jid 0, uid 1001: exited on signal 10 (core dumped)

Thanks for your help,
-- Rodrigo

 


 


--------------cP1YmAJOqPH76WW9dB2AYoUs-- From nobody Fri Oct 25 10:22:27 2024 X-Original-To: current@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 4XZf3w5S7Mz5bWd9 for ; Fri, 25 Oct 2024 10:22:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XZf3w0l3tz58Y7 for ; Fri, 25 Oct 2024 10:22:35 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49PAMRSG085803; Fri, 25 Oct 2024 10:22:27 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49PAMRM7085802; Fri, 25 Oct 2024 03:22:27 -0700 (PDT) (envelope-from david) Date: Fri, 25 Oct 2024 03:22:27 -0700 From: David Wolfskill To: Robert Clausecker Cc: current@freebsd.org, Benjamin Jacobs Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= Message-ID: Mail-Followup-To: David Wolfskill , Robert Clausecker , current@freebsd.org, Benjamin Jacobs References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KbiB9nvhEhV/iQaf" Content-Disposition: inline In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Queue-Id: 4XZf3w0l3tz58Y7 X-Spamd-Bar: ---- --KbiB9nvhEhV/iQaf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote: > Hi David, > ...=20 > The same issue was reported in another thread. Try this workaround: Aye; saw that, tried it, and it works for me (modulo MUA-mangling of whitespace). Here's a representation of what I used: diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile index 6db21111f255..596cdb20d13b 100644 --- a/graphics/drm-61-kmod/Makefile +++ b/graphics/drm-61-kmod/Makefile @@ -49,6 +49,8 @@ PLIST_SUB+=3D I915=3D"@comment " =20 MAKE_ENV+=3D MAKEOBJDIRPREFIX=3D${WRKSRC}/obj =20 +post-patch: + ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include pre-build: ${MKDIR} ${WRKSRC}/obj (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --KbiB9nvhEhV/iQaf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxtxY18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5WmwAQCpLryxWXvCRwG0tPlfYJYTf79udntfPw3rnKToBQyuFQEArjhMuCFdp75G xPEg5RLsgDKAezF5rOmkJrav85xUTgg= =i75t -----END PGP SIGNATURE----- --KbiB9nvhEhV/iQaf-- From nobody Fri Oct 25 19:24:13 2024 X-Original-To: freebsd-current@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 4XZt543X51z5b3wh; Fri, 25 Oct 2024 19:24:24 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from vogon.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XZt533Cfbz4dW0; Fri, 25 Oct 2024 19:24:23 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=madpilot.net header.s=cyq4qetkgngm header.b=YbOYFb2U; spf=pass (mx1.freebsd.org: domain of mad@madpilot.net designates 159.69.1.99 as permitted sender) smtp.mailfrom=mad@madpilot.net; dmarc=pass (policy=quarantine) header.from=madpilot.net Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by vogon.madpilot.net (Postfix) with ESMTP id 4XZt4w1M6bzL80M; Fri, 25 Oct 2024 21:24:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:subject :subject:from:from:content-language:date:date:message-id :received; s=cyq4qetkgngm; t=1729884254; x=1731698655; bh=uG9BDq SZgIiiY0g8rhqoMN8FZ2/7EG6sOH65T224W4o=; b=YbOYFb2UuD0RTg9v99nDPS G2B6vA/ekErKqc6+YXnHt+pcD41fTXDsggke/jWsQwLei4PUdSfMDRjEBhUjWGqX nvnMjj6iifuokMOIhNZCV+WvKu7kEEhJiMwrOuDIWLzc8W7H9xN1c3piRZFukdcM jaC6gNHkNeSv0VAh2M6uOElgUQrcGLYeV+CYJZeTt3DW6EfZ66toTSmGJy/NgIyN NtSThdz28HufJ5/XO3O2n2aI3ewFvUbcl/Q6hCVAJ5xBy1NGiITKOGkLTkh/YGRY gUpEQzfGMHG+ZySIWh7+grkIasEhglAPWswgttJ3t74sPUbRrlMEuMn4NqCkOkrw == Received: from vogon.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (vogon.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id DSEgY7UY_tsz; Fri, 25 Oct 2024 21:24:14 +0200 (CEST) Message-ID: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> Date: Fri, 25 Oct 2024 21:24:13 +0200 To: Current FreeBSD , "virtualization@freebsd.org" Content-Language: en-US From: Guido Falsi Subject: bhyve regression (head): windows VMs failing with error 0xc000021a Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR9q4Z1NYeBsLkRjC4LxKAP5KqUsvlOUjKvO1byj ApYdMarol+IGkaSk9e3zVYAJkWKjn/ni8XbOwU0EUxB7QQEQAKFhrDceoPdK/IHDSmoj6SQY isvM7VdhcleS7E9DoEAVt7yMbf6HbbMVTTY6ckvwTWQssywLBXNVqxgc4WLJjzfUhgef+WE7 5M3+WFYlOVQLGZY/zEVgma1raYnOHNAOzeHLDmEXjbZP6vGAeDyBbGfQPpE7qGYZ7ubeT3Xw QO+PklcCrvOPj2ZPcAxGNS2xVU/LzONqCrJqLMJSIcCdsbiSP4G5PnDFHtMokaTY6OEr8OEQ fOAerhcHUa/z7Uu8YtmaqKH+QGkE/WEgaRqSiTnv0JOTD+DxehaqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.00 / 15.00]; MISSING_MIME_VERSION(2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=cyq4qetkgngm]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,virtualization@freebsd.org]; DKIM_TRACE(0.00)[madpilot.net:+] X-Rspamd-Queue-Id: 4XZt533Cfbz4dW0 X-Spamd-Bar: - List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Hi, I've recently updated my current machines to git commit 525a177c165740fc697df3de5b92e58b3b41477c (Sun Oct 20 22:43:41 2024 -0800) and just have Windows 10 VMs fail to start in bhyve with the error in the subject. I've been unable to recover them with usual tricks (automatic recovery, chkdsk, and other tools provided by the OS). Looks like the machine fails to read C: after boot. These machines were working fine before the update, so my suspect is that some recent change in bhyve is causing the issue and the VMs would be otherwise fine. The VMs have their filesystems in compressed zvols. Anyone has an idea or can point to some change I can test reverting? I an also try bisecting, I'd guess the issue is quite recent. Thanks in advance for any advice. Obviously if any further info is needed just ask. -- Guido Falsi From nobody Fri Oct 25 20:49:23 2024 X-Original-To: freebsd-current@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 4XZvzF5zl0z5b7qF; Fri, 25 Oct 2024 20:49:29 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZvzD6j7Fz4qdV; Fri, 25 Oct 2024 20:49:28 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-83a9be2c028so97622839f.1; Fri, 25 Oct 2024 13:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729889367; x=1730494167; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=Pux+j2nTsBA3DK3MyazARmTyeoHC6u69MmB1D8OX2Lg=; b=E1ooDallm9W6CzN0itJRCBBS1v2Q84MF3sDgVscL7AWwKmfK49vo+T2A/zO1TEap7v veISAIsXW1yz4tVy+MLO5P4CyMI4EO0BsUUiV4tqGZ0jlGIPPIlDhkNoXnBveVjbY7zI 7Y7szlVNXJeus6xpoJevHQM6iKXuqysNqBHnW4r6K9j+M/XwXcToAM/S5DIXSw/i3pmN CTjMikYORszhg/IgHSPzdaKvVXOoyzjQz4xkZosi5Dk8q6eJQRzV73MRVmEDya9v5boo +kbUYoyzpMThqYufJXqbHKh/7nqgbKmFgqEtMYSpB3HGUm58JsCnfL69QM3jDnA7Rcig kkTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729889367; x=1730494167; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pux+j2nTsBA3DK3MyazARmTyeoHC6u69MmB1D8OX2Lg=; b=Dj/CYh9KrgifM/NhSslTBcR2/nuMh+Gp2bVnVLkQV4aGk9N3AaBbF1pDKkhjUr35H7 zSZ83WNLIa1yk2z9OTMbuHTsRVNsnNwa/5IuKnK95qkINxjYrR6trkttjVKDQv2YjB/b oWwD3u8eUUY/02e5UPX8WORhNG84cRI+QeQ6TjwUcxxIgzCpJDLLpE+tm3Rg0+9fremk ndEf3S0SBYqpV59LUEnwD9SW/j2z9cWYEfguLgq+m14bp114IVUSgCimCXOLB2e/6ELX kXIKLDb+yDGYdsAi2u/aYzzxqwTJKBlaZbKSgbcmOFEtowK2eomkZ6zqaf/iRb2jXlrH XS1w== X-Forwarded-Encrypted: i=1; AJvYcCVf2cfu3CV2gzNZ7lvIWqiKo/4vsI2n5jvWOX33SWsDV6Ol5wOKsJFOCN2R+r1FAbGm9i8FD9XZV0P8DCuwwA==@freebsd.org X-Gm-Message-State: AOJu0YyYoy+7pBV3urNNPN48NUyoQjPq3Uy8zQWJriAcEXCK7yj4BZO+ 9i1XGqv5v9afKJn/q+rDDxf05nJh6VxhlvixGOs40RtJjGJ4A/K3++kxHg== X-Google-Smtp-Source: AGHT+IEwEnpEfE94H9mpedoYS24x5jtgh+kdmBjmQM1zedDDCHPFbY1oGy7RqcHPv2EU/AIzcD46xg== X-Received: by 2002:a05:6602:6421:b0:807:f0fb:1192 with SMTP id ca18e2360f4ac-83b1c44af45mr80201839f.1.1729889367256; Fri, 25 Oct 2024 13:49:27 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4dc72781364sm419237173.140.2024.10.25.13.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 13:49:26 -0700 (PDT) Date: Fri, 25 Oct 2024 16:49:23 -0400 From: Mark Johnston To: Guido Falsi Cc: Current FreeBSD , "virtualization@freebsd.org" Subject: Re: bhyve regression (head): windows VMs failing with error 0xc000021a Message-ID: References: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XZvzD6j7Fz4qdV X-Spamd-Bar: ---- On Fri, Oct 25, 2024 at 09:24:13PM +0200, Guido Falsi wrote: > Hi, > > I've recently updated my current machines to git commit > 525a177c165740fc697df3de5b92e58b3b41477c (Sun Oct 20 22:43:41 2024 -0800) > and just have Windows 10 VMs fail to start in bhyve with the error in the > subject. > > I've been unable to recover them with usual tricks (automatic recovery, > chkdsk, and other tools provided by the OS). Looks like the machine fails to > read C: after boot. > > These machines were working fine before the update, so my suspect is that > some recent change in bhyve is causing the issue and the VMs would be > otherwise fine. > > The VMs have their filesystems in compressed zvols. > > Anyone has an idea or can point to some change I can test reverting? Just a guess, but you might try adding "-o pci.enable_bars=true" to the bhyve command line arguments > I an also try bisecting, I'd guess the issue is quite recent. Which revision did you update from? > Thanks in advance for any advice. > > Obviously if any further info is needed just ask. What command line arguments are passed to bhyve? What boot firmware are you using? From nobody Fri Oct 25 21:12:48 2024 X-Original-To: freebsd-current@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 4XZwVF2K4jz5b93K; Fri, 25 Oct 2024 21:12:53 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from vogon.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XZwVF09Zsz4tt7; Fri, 25 Oct 2024 21:12:53 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by vogon.madpilot.net (Postfix) with ESMTP id 4XZwVC1gqlzL80M; Fri, 25 Oct 2024 23:12:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=cyq4qetkgngm; t=1729890769; x= 1731705170; bh=z1ugqF2nZIxiUcPP92Tjz13fpoRfMN28AeI6w5YHf/w=; b=H 6tFF4SbkA5oAEtvjexBax5XXuMY5CqLOEfTrSmF4xnu7L+eKso1KFsSSVumif049 UulyNqi2gNcs8HWum6GWvS0nlvJ8uFfdB5H4ZMbGIjp7VUPD16hpMNxWmKx9O6Xe AYhgVWQqNz7Z2un2f3vLVpiZhV3hNgooEYtkJaajuBJjgMJGHwS8MEIP6L0E8/4D F6P3xjv+hm1MuNbKUV6/ex0e+WimYWnTqIj399FmWfw/F3Fi9lWGOt4HUHuO5bQg f7+zRrfFvywa13uLscl1amOwSFc31kQ+reZiwXZOGPrKabHU+LajnXnBd+5+2P9v iUpxk5hby3M7zbvANzo1w== Received: from vogon.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (vogon.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id ii5u5nt3QSRB; Fri, 25 Oct 2024 23:12:49 +0200 (CEST) Message-ID: <48eb1621-4b22-4080-8e80-059d475244f3@madpilot.net> Date: Fri, 25 Oct 2024 23:12:48 +0200 Subject: Re: bhyve regression (head): windows VMs failing with error 0xc000021a To: Mark Johnston Cc: Current FreeBSD , "virtualization@freebsd.org" References: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> Content-Language: en-US From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR9q4Z1NYeBsLkRjC4LxKAP5KqUsvlOUjKvO1byj ApYdMarol+IGkaSk9e3zVYAJkWKjn/ni8XbOwU0EUxB7QQEQAKFhrDceoPdK/IHDSmoj6SQY isvM7VdhcleS7E9DoEAVt7yMbf6HbbMVTTY6ckvwTWQssywLBXNVqxgc4WLJjzfUhgef+WE7 5M3+WFYlOVQLGZY/zEVgma1raYnOHNAOzeHLDmEXjbZP6vGAeDyBbGfQPpE7qGYZ7ubeT3Xw QO+PklcCrvOPj2ZPcAxGNS2xVU/LzONqCrJqLMJSIcCdsbiSP4G5PnDFHtMokaTY6OEr8OEQ fOAerhcHUa/z7Uu8YtmaqKH+QGkE/WEgaRqSiTnv0JOTD+DxehaqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Queue-Id: 4XZwVF09Zsz4tt7 X-Spamd-Bar: ---- List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org On 25/10/24 22:49, Mark Johnston wrote: > On Fri, Oct 25, 2024 at 09:24:13PM +0200, Guido Falsi wrote: >> Hi, >> >> I've recently updated my current machines to git commit >> 525a177c165740fc697df3de5b92e58b3b41477c (Sun Oct 20 22:43:41 2024 -0800) >> and just have Windows 10 VMs fail to start in bhyve with the error in the >> subject. >> >> I've been unable to recover them with usual tricks (automatic recovery, >> chkdsk, and other tools provided by the OS). Looks like the machine fails to >> read C: after boot. >> >> These machines were working fine before the update, so my suspect is that >> some recent change in bhyve is causing the issue and the VMs would be >> otherwise fine. >> >> The VMs have their filesystems in compressed zvols. >> >> Anyone has an idea or can point to some change I can test reverting? > > Just a guess, but you might try adding "-o pci.enable_bars=true" to the > bhyve command line arguments Tried but it looks like it made no difference. > >> I an also try bisecting, I'd guess the issue is quite recent. > > Which revision did you update from? I updated from git commit 450a6690f557493bd33d8f3666b22ddc5150703b (Thu Sep 19 11:49:40 2024 -0500) In the while I noticed some commits to TPM emulation/passthorugh, maybe they're related? > >> Thanks in advance for any advice. >> >> Obviously if any further info is needed just ask. > > What command line arguments are passed to bhyve? What boot firmware are > you using? I'm using vm-bhyve, from its log the options should have been: -c 4,sockets=1,cores=2,threads=2 -m 4G -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -o pci.enable_bars=true -U xxx -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/dev/zvol/zroot/bhyve/W64/disk0 -s 5:0,virtio-net,tap1,mac=xxx -s 6:0,fbuf,tcp=127.0.0.1:5900,w=1600,h=900 -s 7:0,xhci,tablet -s 8:0,hda,play=/dev/dsp1 -l com1,stdio (replaced MAC and UUID with xxx) for firmware I'm using bhyve-firmware-1.0_2 from sysutils/bhyve-firmware -- Guido Falsi From nobody Fri Oct 25 22:10:58 2024 X-Original-To: current@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 4XZxnV3WMkz5bBwx for ; Fri, 25 Oct 2024 22:11:10 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZxnV1dPNz42jx for ; Fri, 25 Oct 2024 22:11:10 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-6cc03b649f2so14793296d6.3 for ; Fri, 25 Oct 2024 15:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729894269; x=1730499069; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=7i/MPVkuibLBVJkI5krjZgIuQh0TpnGily1WD/P5oTw=; b=FwYfMpmA9lEEkncUVi0h9ol2wsWZmo8UoxZ4nvd+k80eJJafdxq9s1rrlAkua2l9XH z7mkUqEl5hzfyIuNjkxMHjEhSkfz9oBnMnxGYGiUfIba2NXpnySEu/4tiU5G68EwveTs k6PSWzgxEXIGdXxL4DI/n9DENeSAp5il9d9PWhePjwdyevgUNkbZihFm1PyYlNuHU38C wtUELk3J6LKsrxJTUZvhhL5RAK6xnSSZ2KTjO2mPnqGGcpco0QCrG3O5CxsLwG1jhtGZ h20Jt1xdle7VirSj7ECrKv5NYLpeSfGwFlPNOZStZiYqwW1PidmmFsEUmh2DOJbYFLSZ BspQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729894269; x=1730499069; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7i/MPVkuibLBVJkI5krjZgIuQh0TpnGily1WD/P5oTw=; b=YEEQXdtS27E4cybw732hjBeRUd77z8YE4vrowoqI+QRJaBVQIC3IQni5ArACR5dFQS 4iswVS/rFkDaWYlmv9UoSQO44fnrkmVgeojfwjBD/m/GADcrnfCN6a1WTaEdAOFWYMkQ VdwkBgnECzhuF5J/DDpVjidMlMc8LI8bCz4BKMOL7ssuj1FyNniKa6bAJoxuIpHjwD+9 U9ZeqY/+uTxzBEElVQHNCsoER0C5fh2o8/2uC218aurn+kJzI3gynpoIVTgcVRMkrMD5 iF6S1f3obG9CEdU2zpSbV2c5TXFTJBrH33gPZ+b9IrnrOk8JKB5hsDP5koXeU2SE2WTP +AtA== X-Forwarded-Encrypted: i=1; AJvYcCXXhXB+l07it+YOiEscZaozm08Uw71Qrtg/KzNOCO6QbqWPCa83DRZIPh2X9YWu0Ts7jTTlMOu+@freebsd.org X-Gm-Message-State: AOJu0YyCJzziTU8mtXWwiG0HjlHjLbk/tKHMQ1EQgmsN/s4pLrge9hCq 2frso2f7SsZiCVQNraLXFuTp1eZyj98Ml/LUwDskDLbGXHgA13yKsxXQBp8itcAaENL/F3EZqQr 3JmuMRgupcepkiV0iXaQ0JzsFz4fUeP+YkbQ= X-Google-Smtp-Source: AGHT+IGQClH1MNH6opTnbcaIJAegYmGfw81QRQyVIahoCLru4S8iLm+gXQtw5GsOiBk/FrQ2i2tD3qinPJAh58elMGQ= X-Received: by 2002:a05:6214:320b:b0:6c7:c5b5:a78d with SMTP id 6a1803df08f44-6d1856e7041mr12189166d6.18.1729894269162; Fri, 25 Oct 2024 15:11:09 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Oleg Lelchuk Date: Fri, 25 Oct 2024 18:10:58 -0400 Message-ID: Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= To: David Wolfskill , Robert Clausecker , current@freebsd.org, Benjamin Jacobs Content-Type: multipart/alternative; boundary="000000000000699ca306255465da" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XZxnV1dPNz42jx X-Spamd-Bar: ---- --000000000000699ca306255465da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable With clang 19, I can build i1915kms from https://github.com/freebsd/drm-kmod.git and I won't encounter any issues. However, with the port version of drm-61-kmod, I would still encounter an error. I think this happens because the port wants to build stuff in the linuxkpi_video directory, but with the master branch of github.com/freebsd/drm-kmod.git, I can just skip building linuxkpi_video and everything will be fine. This situation was observed after https://github.com/freebsd/drm-kmod/commit/5b2279ae2a59b653a3a553a8a8399e5e= 89bb2b90 commit was added and after https://cgit.freebsd.org/ports/commit/?id=3Da247eb9392542aeb11dc6d13778b59b= b4bce2d19 commit was added. On Fri, Oct 25, 2024 at 6:23=E2=80=AFAM David Wolfskill wrote: > On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote: > > Hi David, > > ... > > The same issue was reported in another thread. Try this workaround: > > Aye; saw that, tried it, and it works for me (modulo MUA-mangling of > whitespace). > > Here's a representation of what I used: > > diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefil= e > index 6db21111f255..596cdb20d13b 100644 > --- a/graphics/drm-61-kmod/Makefile > +++ b/graphics/drm-61-kmod/Makefile > @@ -49,6 +49,8 @@ PLIST_SUB+=3D I915=3D"@comment " > > MAKE_ENV+=3D MAKEOBJDIRPREFIX=3D${WRKSRC}/obj > > +post-patch: > + ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include > pre-build: > ${MKDIR} ${WRKSRC}/obj > (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) > > > > Thanks! > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > It has been said that history repeats itself. This is perhaps not quite > correct; it merely rhymes. -- Theodor Reik > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > --000000000000699ca306255465da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With clang 19, I can build i1915kms from=C2=A0https://github.com/freebsd/drm-kmod= .git and I won't encounter any issues. However, with the port versi= on of drm-61-kmod, I would still encounter an error. I think=C2=A0this happ= ens because the port wants to build stuff in the linuxkpi_video directory, = but with the master branch of github.com/freebsd/drm-kmod.git, I can just skip building linuxkp= i_video and everything will be fine. This situation was observed after=C2= =A0https://github.com/freebsd/drm-kmod/commit/5b2279ae= 2a59b653a3a553a8a8399e5e89bb2b90 commit was added and after=C2=A0https://cgit.freebsd.org/ports/commit/?id=3Da247eb9392542ae= b11dc6d13778b59bb4bce2d19 commit was added.

On Fri, Oct 25, 2024 at 6:23= =E2=80=AFAM David Wolfskill <dav= id@catwhisker.org> wrote:
On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecke= r wrote:
> Hi David,
> ...
> The same issue was reported in another thread.=C2=A0 Try this workarou= nd:

Aye; saw that, tried it, and it works for me (modulo MUA-mangling of
whitespace).

Here's a representation of what I used:

diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile<= br> index 6db21111f255..596cdb20d13b 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -49,6 +49,8 @@ PLIST_SUB+=3D=C2=A0 =C2=A0I915=3D"@comment "
=C2=A0MAKE_ENV+=3D=C2=A0 =C2=A0 =C2=A0MAKEOBJDIRPREFIX=3D${WRKSRC}/obj

+post-patch:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${MKDIR} ${WRKSRC}/= linuxkpi/dummy/include
=C2=A0pre-build:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${MKDIR} ${WRKSRC}/= obj
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (cd ${WRKSRC} ; ${S= ETENV} ${MAKE_ENV} ${MAKE_CMD} obj)



Thanks!

Peace,
david
--
David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik

See https://www.catwhisker.org/~david/publickey.gpg for my public key.
--000000000000699ca306255465da-- From nobody Fri Oct 25 22:20:05 2024 X-Original-To: current@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 4XZy022hlnz5bCYy for ; Fri, 25 Oct 2024 22:20:18 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZy010Ycdz443k for ; Fri, 25 Oct 2024 22:20:17 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Y5bBVlt+; spf=pass (mx1.freebsd.org: domain of oleglelchuk@gmail.com designates 2607:f8b0:4864:20::82b as permitted sender) smtp.mailfrom=oleglelchuk@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-460c2418e37so16582911cf.0 for ; Fri, 25 Oct 2024 15:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729894816; x=1730499616; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=fufCvgOg4bY03gV8pDOB2/zunLiwAn21xB8oRZg/Qns=; b=Y5bBVlt+Y19eQzhghI1JRU4KHmCsecw9dSB4aJ5Pti2kTdLiuAeNTGaNLwk7z1dHfk PkwzpOCTjf2pWOTRPLZnxyTX0My1KWZy8L/VBPxxRiLETgeE+1yeDap6qwFDG087ckKb YMAnHyxb+Y0yT5sQPCSLJYsfs7aLKP1mFbz50z5ge6hU62ztjKxtG3nUyQxaeWwrfFi1 ULjSMXpG+wwGj3rB31FSwfGMRI31/hvJ4g+OvRYrZOy/ov45AFzYHh6j7QzZhvZsI+B+ Gt0WFbUXXbaqrRVJ3Ysut0jE3D8oiqWsNPbcNo0WTwxVdVQ+Ns/AeRVwRuysaoZCcDAg Mskw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729894816; x=1730499616; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fufCvgOg4bY03gV8pDOB2/zunLiwAn21xB8oRZg/Qns=; b=t8TjnmUVeX2liZCU8/+i7S991g+lEJU0sL9ASteUOuAQBIW1HI14RIxsph/s4LxSpJ ywV/ZlFXInPAdRNfQ3t6uBOCVdRLwmcmtS5B+DbHkIrc0LBvzboGH0Vkjorx8ZNEiO4b 2mH/NsCZyvdysG9/Qf/glGR8x0CLRLyONF56K4BjcccfBFMEnQIeBMQwDG8JfoDTPS6x hDbeaFVGPmr6JR6uIbj45B/Z0MDeTUtSl3/7zlRu43zKJO4BmRkxSH515Ha0Tg5FVnT4 x3yFT2Mjo6styL6czs27O7Kf6xtfEKKYDO7PNTAoYnwWIaIewFJ1iTEg6qdz9GyyS645 hvvg== X-Forwarded-Encrypted: i=1; AJvYcCXRdQsvAH7WA1qus1ejKXPu6iEabL8/Nss1NVeNp5FCvhuBCQW9hJ33y0eP37bkLtN68yP/GVPK@freebsd.org X-Gm-Message-State: AOJu0YyWmZW79INVCub6vBrsVUYZBtLa7zSyGUXHhT6dfLKvdV/sIgmo Mczlcd0BKSkxRxV1NDlMgtUeG4L5+3qN0uIiOlqal8m26APKBoPK0IhdhXZFiBL1LMSsJLY6Hh4 6aaz2KMQk/OJeVp7WgGyQFS7Jn+4fEMVP44vhkg== X-Google-Smtp-Source: AGHT+IEk7anJJuAVl0thXulm5b8BytU/NkMTdCU0zKVMkCrhyxL3PlJnWqk4qCCCssuVhFTKMguqr9gWKD6b1MuHwbM= X-Received: by 2002:ac8:7c4c:0:b0:461:3293:eb78 with SMTP id d75a77b69052e-4613c1a04aemr9182821cf.58.1729894815829; Fri, 25 Oct 2024 15:20:15 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Oleg Lelchuk Date: Fri, 25 Oct 2024 18:20:05 -0400 Message-ID: Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= To: David Wolfskill , Robert Clausecker , current@freebsd.org, Benjamin Jacobs Content-Type: multipart/alternative; boundary="000000000000ff166b06255485ea" 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.996]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82b:from]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4XZy010Ycdz443k X-Spamd-Bar: --- --000000000000ff166b06255485ea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Building either linuxkpi or linuxkpi_video from https://github.com/freebsd/drm-kmod.git is not necessary if I want functioning intel graphics, but the port version insists on building those unnecessary things. On Fri, Oct 25, 2024 at 6:10=E2=80=AFPM Oleg Lelchuk wrote: > With clang 19, I can build i1915kms from > https://github.com/freebsd/drm-kmod.git and I won't encounter any issues. > However, with the port version of drm-61-kmod, I would still encounter an > error. I think this happens because the port wants to build stuff in the > linuxkpi_video directory, but with the master branch of > github.com/freebsd/drm-kmod.git, I can just skip building linuxkpi_video > and everything will be fine. This situation was observed after > https://github.com/freebsd/drm-kmod/commit/5b2279ae2a59b653a3a553a8a8399e= 5e89bb2b90 > commit was added and after > https://cgit.freebsd.org/ports/commit/?id=3Da247eb9392542aeb11dc6d13778b5= 9bb4bce2d19 > commit was added. > > On Fri, Oct 25, 2024 at 6:23=E2=80=AFAM David Wolfskill > wrote: > >> On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote: >> > Hi David, >> > ... >> > The same issue was reported in another thread. Try this workaround: >> >> Aye; saw that, tried it, and it works for me (modulo MUA-mangling of >> whitespace). >> >> Here's a representation of what I used: >> >> diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefi= le >> index 6db21111f255..596cdb20d13b 100644 >> --- a/graphics/drm-61-kmod/Makefile >> +++ b/graphics/drm-61-kmod/Makefile >> @@ -49,6 +49,8 @@ PLIST_SUB+=3D I915=3D"@comment " >> >> MAKE_ENV+=3D MAKEOBJDIRPREFIX=3D${WRKSRC}/obj >> >> +post-patch: >> + ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include >> pre-build: >> ${MKDIR} ${WRKSRC}/obj >> (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) >> >> >> >> Thanks! >> >> Peace, >> david >> -- >> David H. Wolfskill david@catwhisker.org >> It has been said that history repeats itself. This is perhaps not quite >> correct; it merely rhymes. -- Theodor Reik >> >> See https://www.catwhisker.org/~david/publickey.gpg for my public key. >> > --000000000000ff166b06255485ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Building either linuxkpi or linuxkpi_video from https://github.com/freebsd/drm-km= od.git is not necessary if I want functioning intel graphics, but the p= ort version insists on building those unnecessary things.

On Fri, Oct 25, 20= 24 at 6:10=E2=80=AFPM Oleg Lelchuk <oleglelchuk@gmail.com> wrote:
With clang 19, I can build i1915= kms from=C2=A0https://github.com/freebsd/drm-kmod.git and I won't encoun= ter any issues. However, with the port version of drm-61-kmod, I would stil= l encounter an error. I think=C2=A0this happens because the port wants to b= uild stuff in the linuxkpi_video directory, but with the master branch of <= a href=3D"http://github.com/freebsd/drm-kmod.git" target=3D"_blank">github.= com/freebsd/drm-kmod.git, I can just skip building linuxkpi_video and e= verything will be fine. This situation was observed after=C2=A0https://github.com/freebsd/drm-kmod/commit/5b227= 9ae2a59b653a3a553a8a8399e5e89bb2b90 commit was added and after=C2=A0https://cgit.freebsd.org/ports/commit/= ?id=3Da247eb9392542aeb11dc6d13778b59bb4bce2d19 commit was added.
<= br>
On Fri,= Oct 25, 2024 at 6:23=E2=80=AFAM David Wolfskill <david@catwhisker.org> wrote:
=
On Fri, Oct 25, 202= 4 at 09:20:16AM +0200, Robert Clausecker wrote:
> Hi David,
> ...
> The same issue was reported in another thread.=C2=A0 Try this workarou= nd:

Aye; saw that, tried it, and it works for me (modulo MUA-mangling of
whitespace).

Here's a representation of what I used:

diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile<= br> index 6db21111f255..596cdb20d13b 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -49,6 +49,8 @@ PLIST_SUB+=3D=C2=A0 =C2=A0I915=3D"@comment "
=C2=A0MAKE_ENV+=3D=C2=A0 =C2=A0 =C2=A0MAKEOBJDIRPREFIX=3D${WRKSRC}/obj

+post-patch:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${MKDIR} ${WRKSRC}/= linuxkpi/dummy/include
=C2=A0pre-build:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${MKDIR} ${WRKSRC}/= obj
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (cd ${WRKSRC} ; ${S= ETENV} ${MAKE_ENV} ${MAKE_CMD} obj)



Thanks!

Peace,
david
--
David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik

See https://www.catwhisker.org/~david/publickey.gpg for my public key.
--000000000000ff166b06255485ea-- From nobody Fri Oct 25 22:40:05 2024 X-Original-To: current@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 4XZyR60qGVz5bDS6 for ; Fri, 25 Oct 2024 22:40:18 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZyR4687jz461m for ; Fri, 25 Oct 2024 22:40:16 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=MYpKcKSp; spf=pass (mx1.freebsd.org: domain of oleglelchuk@gmail.com designates 2607:f8b0:4864:20::f2b as permitted sender) smtp.mailfrom=oleglelchuk@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-6cbce9e4598so15201516d6.2 for ; Fri, 25 Oct 2024 15:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729896016; x=1730500816; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Jz96m1ob5ueZv35W/Xc6xosL3+0e2AfxiqMXa3gyFTU=; b=MYpKcKSpFHf0lPQKcowFtFgcDIZHjdZUZvEBzWgrckewFE58aUpo9TVJANoF8pMjvl TmRqtA/WGg/75rKSVWUOJfkMfCPl74VQWLF/7jV22DNiJ4wprW1VpLzK2/SdzuWaHH4S PsG9z7wjuB6gIICUG0pzqC9IU9fd1WBKGp+JBNQtF7Bt5snT1XTflPBY/2BDEKKW9GRT 9FY6Q5X3X4+JVPEzgVitvQ1tTzvtK9gmisn2gk5rpPDh/5d/DdM0MuW2xek2RHxx/fSP ZuztnvLSX90JGdrPlJ8qg4odyuSmSC39umAcM6H60ypvmFg3P5JuFL7lMC1YDMAbxLjE 3J2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729896016; x=1730500816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jz96m1ob5ueZv35W/Xc6xosL3+0e2AfxiqMXa3gyFTU=; b=SD2x5tpfjvVkugZTr0hsJ12ry9PJD7FXSboz1hTx69ltRh/Wp47LAz0mVFeidSJ+B5 OVyIyHqjG27ZQ2IpJk1ps91VYib4rKTHXTbRKedqxKA/wX86VvZOKf3uGNOHHaMkQvi1 XSJ3sjQGRTrnmOM92xDZ97vROWNNC2gt1EEK16PowZDHthfR0ws8Ac1FN2vMDwgFR2j6 ATcN0y80sI4DmGkEGN252Nl7vwIF5jDx1FzqVSX7UMfzcdWqrjipwUYtJsFWoG5PtJY/ BcicI9I2SaEovu9FcVWxVjh0N9Q4FcNvssnzRPZ+62wa2G8Z5Pn/gJW6YybkikhDovwm AY0Q== X-Forwarded-Encrypted: i=1; AJvYcCWup776M5Iu7L2ZPe0xcuYa2ec7CCtcQ4XniYoIKLivjIhMAi7A8pZRRvX0DtJdcOKti5xQ7QyU@freebsd.org X-Gm-Message-State: AOJu0Yzc6sb1b0SIU6n63dN5mVKd8ZWf2CM+w6EmqRRNjq9ptXlSs1x4 jZxIORmuOKULQWJ/2JKuekEJkXpsJ/WYKdQOZHRrIZTfJTpgjq82m4c1hVFPQPlJmKRwdakvHCJ HKcKBM5qzVxDuI4cqD8xxYyGv5/nDK/88yOhXmg== X-Google-Smtp-Source: AGHT+IFGF+eO/mETNSsYctEj1Ve1WSMocKk1NPMYeNCM20zlBaYthD038xzuw30pC3iZgc2ds7vCgAOkCO4zOOYP7vY= X-Received: by 2002:a05:6214:5c48:b0:6cb:e6fa:4960 with SMTP id 6a1803df08f44-6d18558d9d3mr15856916d6.0.1729896015987; Fri, 25 Oct 2024 15:40:15 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Oleg Lelchuk Date: Fri, 25 Oct 2024 18:40:05 -0400 Message-ID: Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= To: David Wolfskill , Robert Clausecker , current@freebsd.org, Benjamin Jacobs Content-Type: multipart/alternative; boundary="000000000000880be0062554cd38" 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.996]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2b:from]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4XZyR4687jz461m X-Spamd-Bar: --- --000000000000880be0062554cd38 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Or maybe the port just insists on building linuxkpi_video: --- video_kmod.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi/dummy= /include' [-Werror,-Wmissing-include-dirs] --- aperture.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi/dummy= /include' [-Werror,-Wmissing-include-dirs] --- hdmi.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi/dummy= /include' [-Werror,-Wmissing-include-dirs] --- aperture.o --- *** [aperture.o] Error code 1 make[1]: stopped making "all" in /usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi_video . As I said, this happens even after this problem was supposedly fixed. With the master branch of drm-kmod, I can just skip building linuxkpi_video and everything will be fine. On Fri, Oct 25, 2024 at 6:20=E2=80=AFPM Oleg Lelchuk wrote: > Building either linuxkpi or linuxkpi_video from > https://github.com/freebsd/drm-kmod.git is not necessary if I want > functioning intel graphics, but the port version insists on building thos= e > unnecessary things. > > On Fri, Oct 25, 2024 at 6:10=E2=80=AFPM Oleg Lelchuk > wrote: > >> With clang 19, I can build i1915kms from >> https://github.com/freebsd/drm-kmod.git and I won't encounter any >> issues. However, with the port version of drm-61-kmod, I would still >> encounter an error. I think this happens because the port wants to build >> stuff in the linuxkpi_video directory, but with the master branch of >> github.com/freebsd/drm-kmod.git, I can just skip building linuxkpi_video >> and everything will be fine. This situation was observed after >> https://github.com/freebsd/drm-kmod/commit/5b2279ae2a59b653a3a553a8a8399= e5e89bb2b90 >> commit was added and after >> https://cgit.freebsd.org/ports/commit/?id=3Da247eb9392542aeb11dc6d13778b= 59bb4bce2d19 >> commit was added. >> >> On Fri, Oct 25, 2024 at 6:23=E2=80=AFAM David Wolfskill >> wrote: >> >>> On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote: >>> > Hi David, >>> > ... >>> > The same issue was reported in another thread. Try this workaround: >>> >>> Aye; saw that, tried it, and it works for me (modulo MUA-mangling of >>> whitespace). >>> >>> Here's a representation of what I used: >>> >>> diff --git a/graphics/drm-61-kmod/Makefile >>> b/graphics/drm-61-kmod/Makefile >>> index 6db21111f255..596cdb20d13b 100644 >>> --- a/graphics/drm-61-kmod/Makefile >>> +++ b/graphics/drm-61-kmod/Makefile >>> @@ -49,6 +49,8 @@ PLIST_SUB+=3D I915=3D"@comment " >>> >>> MAKE_ENV+=3D MAKEOBJDIRPREFIX=3D${WRKSRC}/obj >>> >>> +post-patch: >>> + ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include >>> pre-build: >>> ${MKDIR} ${WRKSRC}/obj >>> (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) >>> >>> >>> >>> Thanks! >>> >>> Peace, >>> david >>> -- >>> David H. Wolfskill david@catwhisker.org >>> It has been said that history repeats itself. This is perhaps not quite >>> correct; it merely rhymes. -- Theodor Reik >>> >>> See https://www.catwhisker.org/~david/publickey.gpg for my public key. >>> >> --000000000000880be0062554cd38 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Or maybe the port just insists on building linuxkpi_video:= --- video_kmod.o ---
cc: error: no such include directory: '/usr/po= rts/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi/dummy/include= ' [-Werror,-Wmissing-include-dirs]
--- aperture.o ---
cc: error: = no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-km= od-drm_v6.1.92_1/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dir= s]
--- hdmi.o ---
cc: error: no such include directory: '/usr/por= ts/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi/dummy/include&= #39; [-Werror,-Wmissing-include-dirs]
--- aperture.o ---
*** [apertur= e.o] Error code 1

make[1]: stopped making "all" in /usr/po= rts/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi_video . As I = said, this happens even after this problem was supposedly fixed. With the m= aster branch of drm-kmod, I can just skip building linuxkpi_video and every= thing will be fine.

Building either linuxkpi or linuxkpi_video from https://github.com/freebsd/= drm-kmod.git is not necessary if I want functioning intel graphics, but= the port version insists on building those unnecessary things.

On Fri, Oct = 25, 2024 at 6:10=E2=80=AFPM Oleg Lelchuk <oleglelchuk@gmail.com> wrote:
=

On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote: > Hi David,
> ...
> The same issue was reported in another thread.=C2=A0 Try this workarou= nd:

Aye; saw that, tried it, and it works for me (modulo MUA-mangling of
whitespace).

Here's a representation of what I used:

diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile<= br> index 6db21111f255..596cdb20d13b 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -49,6 +49,8 @@ PLIST_SUB+=3D=C2=A0 =C2=A0I915=3D"@comment "
=C2=A0MAKE_ENV+=3D=C2=A0 =C2=A0 =C2=A0MAKEOBJDIRPREFIX=3D${WRKSRC}/obj

+post-patch:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${MKDIR} ${WRKSRC}/= linuxkpi/dummy/include
=C2=A0pre-build:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${MKDIR} ${WRKSRC}/= obj
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (cd ${WRKSRC} ; ${S= ETENV} ${MAKE_ENV} ${MAKE_CMD} obj)



Thanks!

Peace,
david
--
David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik

See https://www.catwhisker.org/~david/publickey.gpg for my public key.
--000000000000880be0062554cd38-- From nobody Sat Oct 26 12:58:47 2024 X-Original-To: current@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 4XbKTq52ZHz5Zjvv for ; Sat, 26 Oct 2024 12:58:55 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XbKTp2Rbjz4G75 for ; Sat, 26 Oct 2024 12:58:54 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org; dmarc=none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49QCwlMW006663 for ; Sat, 26 Oct 2024 12:58:47 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49QCwl3x006662 for current@freebsd.org; Sat, 26 Oct 2024 05:58:47 -0700 (PDT) (envelope-from david) Date: Sat, 26 Oct 2024 05:58:47 -0700 From: David Wolfskill To: current@freebsd.org Subject: Resolved (was: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=) Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tNx9/Kr7POXhCDHy" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.28 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.88)[-0.879]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org] X-Rspamd-Queue-Id: 4XbKTp2Rbjz4G75 X-Spamd-Bar: / --tNx9/Kr7POXhCDHy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After the ports update main-n684003-baeefdddb6ed: commit baeefdddb6ed74573128353fac7d9b7805fa1a30 Author: Emmanuel Vadot AuthorDate: Sat Oct 26 08:38:11 2024 +0200 Commit: Emmanuel Vadot CommitDate: Sat Oct 26 09:10:02 2024 +0200 graphics/drm-61-kmod: Update to drm_v6.1.92_2 This fixes (again) the build with LLVM 19 Sponsored by: Beckhoff Automation GmbH & Co. LG I had no issues updating head from main-n273225-3df1abdfd9c3 to main-n273250-9d585fc395c3 (or for updating stable/14 from stable/14-n269307-b45cf7181e5b to stable/14-n269310-bbd018d0aaaf) using PORTS_MODULES+=3Dgraphics/drm-61-kmod in /etc/src.conf. Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --tNx9/Kr7POXhCDHy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxznh18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5SQUAQCvERJhThVPT7mNM7Dkfy//aEbUGYdg3s6iA9KKb7L4iQEA+O0J4+C15hT7 GjRZm83b+d++7M7Qx//ar8l2uKxfLgA= =nxGg -----END PGP SIGNATURE----- --tNx9/Kr7POXhCDHy-- From nobody Sat Oct 26 13:28:11 2024 X-Original-To: freebsd-current@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 4XbL7k00fnz5ZlHS; Sat, 26 Oct 2024 13:28:18 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XbL7j1Wndz4Kjm; Sat, 26 Oct 2024 13:28:17 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd32.google.com with SMTP id ca18e2360f4ac-83ac4dacaf9so110812539f.2; Sat, 26 Oct 2024 06:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729949295; x=1730554095; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=2JUrFFoEnFcKu37sIlpTjfbtmFnVb4qMPVMy4toFWsE=; b=I1yT1Ega0gCMUcmdovJuhIdn3IIMJX0WTs4SJIZnGjV/BC5aTJszS+UfOvuAtQKLAE re4PAAhEKE2pKnLmF75/EtxaYLUs+jW/qL7njIqpXrLaYgZ2y4fDk2xKTg6YDfqy8xsr YZioBr1rfrDDgLTrAv4lfkDhpDoaGWnRCk3bad/4enFvOqM6adIokpo7u+VjOeS19Tda zWLKQxNnmqpD73pyMz0bZkI6SygFpj0i3YdpxqqPl02TnvKYanqQftItKMNTKdIbQW18 SViczmI1Y/t36AqbuwQX60hMI7oMvLpjScFohhk+dMfogso2h2mrFmPzN3bPh/Fz/ZaF YhWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729949295; x=1730554095; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2JUrFFoEnFcKu37sIlpTjfbtmFnVb4qMPVMy4toFWsE=; b=ZfObcFCZonE4Z6x+p0p8SOfh6gKIbxARraVUqMtAYtwh85oTzJhRF0QhOePcGiE3i7 goMDHqI9iMRAE6Q2eH734B8ndqPqDJda3KAuUD/SEGzpmCIPTxOXcaY3P4TXVjA4crxk nmdOgpY00tPNFDuf9rzaEphZIu4kPnBge09iHvBphx++zR6ewcYTujjSgU55GK3Rn5zZ uTwghbCfCyrXer26GsK29TRCxg1pvGru81HpqeeNXg9pgMBOI/ihCSwbTxEnieHe0h4z kvQ0pv8BMprFsY6ggaAwBn7i7SvDzZNwnuIBo8AbJggDcBoZc1VQaF+nu74XEMhSRaas Hn/w== X-Forwarded-Encrypted: i=1; AJvYcCXX9AuPMohk6FdXBO+w0Q3ME4TBMBw3uygQBSlntPtNDTbarH5KHTicaAcUyDPinuPGZfgIiR9p5/OreK/8EA==@freebsd.org X-Gm-Message-State: AOJu0YyiTYFHc+W+H+Pj4SKXUzr00p6zsUffvMK+MKkRNWAkB+KdVjAB zZwhnblEXefSBvA21ytMCqydxWqw9jx8VP1jHSlgsjpt2R8wBkVoG4/Ugw== X-Google-Smtp-Source: AGHT+IGmIYvBTOS6HO15j1JeaWxWEnyIDg9jGg9ZZDb4XOnMba6KbK4uFwmGbw/Dr6eHDijp1+UaPw== X-Received: by 2002:a05:6602:2b0c:b0:82c:eeaa:b1e0 with SMTP id ca18e2360f4ac-83b1c5bebf8mr256683839f.11.1729949295340; Sat, 26 Oct 2024 06:28:15 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4dc7260f159sm733393173.37.2024.10.26.06.28.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 06:28:14 -0700 (PDT) Date: Sat, 26 Oct 2024 09:28:11 -0400 From: Mark Johnston To: Guido Falsi Cc: Current FreeBSD , "virtualization@freebsd.org" Subject: Re: bhyve regression (head): windows VMs failing with error 0xc000021a Message-ID: References: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> <48eb1621-4b22-4080-8e80-059d475244f3@madpilot.net> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48eb1621-4b22-4080-8e80-059d475244f3@madpilot.net> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XbL7j1Wndz4Kjm X-Spamd-Bar: ---- On Fri, Oct 25, 2024 at 11:12:48PM +0200, Guido Falsi wrote: > On 25/10/24 22:49, Mark Johnston wrote: > > On Fri, Oct 25, 2024 at 09:24:13PM +0200, Guido Falsi wrote: > > > Hi, > > > > > > I've recently updated my current machines to git commit > > > 525a177c165740fc697df3de5b92e58b3b41477c (Sun Oct 20 22:43:41 2024 -0800) > > > and just have Windows 10 VMs fail to start in bhyve with the error in the > > > subject. > > > > > > I've been unable to recover them with usual tricks (automatic recovery, > > > chkdsk, and other tools provided by the OS). Looks like the machine fails to > > > read C: after boot. > > > > > > These machines were working fine before the update, so my suspect is that > > > some recent change in bhyve is causing the issue and the VMs would be > > > otherwise fine. > > > > > > The VMs have their filesystems in compressed zvols. > > > > > > Anyone has an idea or can point to some change I can test reverting? > > > > Just a guess, but you might try adding "-o pci.enable_bars=true" to the > > bhyve command line arguments > > Tried but it looks like it made no difference. > > > > > > I an also try bisecting, I'd guess the issue is quite recent. > > > > Which revision did you update from? > > I updated from git commit 450a6690f557493bd33d8f3666b22ddc5150703b (Thu Sep > 19 11:49:40 2024 -0500) > > In the while I noticed some commits to TPM emulation/passthorugh, maybe > they're related? It might be, but I don't see any TPM devices configured in the invocation below. There was a number of changes to usr.sbin/bhyve in that window, so reverting them one by one would probably turn up the culprit. Or, you need to pick up commit 8c8ebbb045185396083cd3e4d333fe1851930ee7, given that you're using AHCI emulation. > > > > > Thanks in advance for any advice. > > > > > > Obviously if any further info is needed just ask. > > > > What command line arguments are passed to bhyve? What boot firmware are > > you using? > > I'm using vm-bhyve, from its log the options should have been: > > -c 4,sockets=1,cores=2,threads=2 -m 4G -AHPw -l > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -o pci.enable_bars=true > -U xxx -s 0,hostbridge -s 31,lpc -s > 4:0,ahci,hd:/dev/zvol/zroot/bhyve/W64/disk0 -s 5:0,virtio-net,tap1,mac=xxx > -s 6:0,fbuf,tcp=127.0.0.1:5900,w=1600,h=900 -s 7:0,xhci,tablet -s > 8:0,hda,play=/dev/dsp1 -l com1,stdio > > (replaced MAC and UUID with xxx) > > for firmware I'm using bhyve-firmware-1.0_2 from sysutils/bhyve-firmware From nobody Sat Oct 26 19:39:22 2024 X-Original-To: freebsd-current@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 4XbVN54LjYz5b71s; Sat, 26 Oct 2024 19:39:33 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from vogon.madpilot.net (vogon.madpilot.net [IPv6:2a01:4f8:1c1c:11e5::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XbVN51dpRz41Lv; Sat, 26 Oct 2024 19:39:33 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by vogon.madpilot.net (Postfix) with ESMTP id 4XbVMw4JDszL7xc; Sat, 26 Oct 2024 21:39:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=cyq4qetkgngm; t=1729971562; x= 1731785963; bh=qkyiu0StWQl4D7r7HrL8pLduPhOu5mMS+g9oJGHs7xQ=; b=t geHU/c+88gJqDfXpe6rO3p4gSc9XpNTYrJznDPY4s19V6Z+sakWbvEyNgrOquEHo lmQgk0FReacsa7CJaArf/ig9VAtMRcvNc4DTrPgI+maoXu/pktUhoyxRB0MHY7Bh 9SbYKSQKJHrLEfGGJruS5I7cnflyrXjYp38R/Q6y/um31gbInd5M1hPghZGRrcjK AsfFIelTpXihHXbwltHw2ZJ/F7S48y7pjcXD3khy9YDHM6eaAna7ojziFddogdLp b75b2QY28JnhwW9Axy6i8VesMhx/ORhN0VksQouucAEZRTnU3WvqVw3IHnBunwOk XgX0AIdAL6gDrrcuxWbyg== Received: from vogon.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (vogon.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id e9RUdrVL32U9; Sat, 26 Oct 2024 21:39:22 +0200 (CEST) Message-ID: <1e415841-211f-4a36-9efe-d05163a661ae@madpilot.net> Date: Sat, 26 Oct 2024 21:39:22 +0200 Subject: Re: bhyve regression (head): windows VMs failing with error 0xc000021a To: Mark Johnston Cc: Current FreeBSD , "virtualization@freebsd.org" References: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> <48eb1621-4b22-4080-8e80-059d475244f3@madpilot.net> Content-Language: en-US From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR9q4Z1NYeBsLkRjC4LxKAP5KqUsvlOUjKvO1byj ApYdMarol+IGkaSk9e3zVYAJkWKjn/ni8XbOwU0EUxB7QQEQAKFhrDceoPdK/IHDSmoj6SQY isvM7VdhcleS7E9DoEAVt7yMbf6HbbMVTTY6ckvwTWQssywLBXNVqxgc4WLJjzfUhgef+WE7 5M3+WFYlOVQLGZY/zEVgma1raYnOHNAOzeHLDmEXjbZP6vGAeDyBbGfQPpE7qGYZ7ubeT3Xw QO+PklcCrvOPj2ZPcAxGNS2xVU/LzONqCrJqLMJSIcCdsbiSP4G5PnDFHtMokaTY6OEr8OEQ fOAerhcHUa/z7Uu8YtmaqKH+QGkE/WEgaRqSiTnv0JOTD+DxehaqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Queue-Id: 4XbVN51dpRz41Lv X-Spamd-Bar: ---- List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org On 26/10/24 15:28, Mark Johnston wrote: > On Fri, Oct 25, 2024 at 11:12:48PM +0200, Guido Falsi wrote: >> On 25/10/24 22:49, Mark Johnston wrote: >>> On Fri, Oct 25, 2024 at 09:24:13PM +0200, Guido Falsi wrote: >>>> Hi, >>>> >>>> I've recently updated my current machines to git commit >>>> 525a177c165740fc697df3de5b92e58b3b41477c (Sun Oct 20 22:43:41 2024 -0800) >>>> and just have Windows 10 VMs fail to start in bhyve with the error in the >>>> subject. >>>> >>>> I've been unable to recover them with usual tricks (automatic recovery, >>>> chkdsk, and other tools provided by the OS). Looks like the machine fails to >>>> read C: after boot. >>>> >>>> These machines were working fine before the update, so my suspect is that >>>> some recent change in bhyve is causing the issue and the VMs would be >>>> otherwise fine. >>>> >>>> The VMs have their filesystems in compressed zvols. >>>> >>>> Anyone has an idea or can point to some change I can test reverting? >>> >>> Just a guess, but you might try adding "-o pci.enable_bars=true" to the >>> bhyve command line arguments >> >> Tried but it looks like it made no difference. >> >>> >>>> I an also try bisecting, I'd guess the issue is quite recent. >>> >>> Which revision did you update from? >> >> I updated from git commit 450a6690f557493bd33d8f3666b22ddc5150703b (Thu Sep >> 19 11:49:40 2024 -0500) >> >> In the while I noticed some commits to TPM emulation/passthorugh, maybe >> they're related? > > It might be, but I don't see any TPM devices configured in the > invocation below. > > There was a number of changes to usr.sbin/bhyve in that window, so > reverting them one by one would probably turn up the culprit. Or, you > need to pick up commit 8c8ebbb045185396083cd3e4d333fe1851930ee7, given > that you're using AHCI emulation. Thanks for the suggestions. I'm using AHCI since it is suggested for windows guests. (BTW I'm trying to get rid of windows guests, but I still need them from time to time) I'll try updating again including the commit you suggest first. I'll report back if that fixes the issue. -- Guido Falsi From nobody Sun Oct 27 16:38:55 2024 X-Original-To: current@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 4Xc2KK2klQz5bCKb for ; Sun, 27 Oct 2024 16:39:01 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xc2KK22n1z4RhX; Sun, 27 Oct 2024 16:39:01 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730047141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=EJt89AIHxwKrl2vPbFhFyGIBDidJz/xE7YCK7beRjQw=; b=C7IcsYcUc21sqIx2G3RCxI41SONYnpdKYPF2ur0+n+nj6dhA1OZ8zw4mPOaLSqkDttfSXT eny1QLsa/xXODLdKfiUJzmMDhGdn9ZKpS40Z2q6Dp36GfsDG3ajyP8D74Xe8tHiCf1OBgY PJZyscuSWzTf8xSZTdpvgDyn0fCHzuzq9cBgrQTEgaXmYBieN3bUAhHhuO9xvQt8p1MOwd wrkQrcz2g51k2ivgvscwB6Lbh1ej5SqYPjd1Cz6EbnvTi/Du414es8r8cgyOxEq2roBaa6 ZPzySUVklUJ+7N3p54ufasEfpIMqGXiv/QAaXpvQz8v6qxokRIIZ1YYogjNKvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730047141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=EJt89AIHxwKrl2vPbFhFyGIBDidJz/xE7YCK7beRjQw=; b=rlKRPBJdpRzPYeDmh+R6L+JYdGwG5hLbQIU3A54SMWMCM3VrwpNWj8kLsdSpkOnXeag6ln ZvtmyvnYnhrpsbFAJl41Jei4Cgkbz0hxi6+IJAZ/fw4JFVlD7y+FLUw6bst+Ai4H7WsBPg 3UN+GRI22Kq/Zh0Ze8Caq89dTm8QBKPox+qzJbtuwLJpw8gRQpbW69d2RMWvAWW1HKZGko St0vzJV2/J7AYI3TXkWy9+3C6Kha3AjlWrU/ysHs4S5jIXrMRRC2mlyzJ21din/WcTcvqW NWZddq0w/ZfWO5iQTlhjZI6KRzVS/rtLJ8c0xkE6jltfUOhaaydyv7BMlvmPHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730047141; a=rsa-sha256; cv=none; b=JyoC7z4alK2ywjPUZfZthNHe1QDnAW7U0O7eT42ZNg1AYGp11th2Dq8CanglzikEDZdqQG /FTCarcilwfV1nH9EWNjflcQNmCZMQSp+UY4DPBSJtd/5unvd/271/PCJiVMWHw/+f3E9B 7tE6BHjoOJyidaIR/Xl9sUruKOWdTycgPigWgX4k/qwuZhZdFuVxcDC2T9yYgduRldkcmc vibLV8FKIc32eH1tCHBWFq/kvEapgHmI5VMEMndv91xlatX5FvclOD/hkk7UR+6HQY09uZ TGoJJqDuN/m6oJtEgB33cKVU0NOxCRSh71paeyZOIHADGfHgwD3nXpz4eK+kJQ== Received: from cell.glebi.us (unknown [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Xc2KJ5c34z13gD; Sun, 27 Oct 2024 16:39:00 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Sun, 27 Oct 2024 09:38:55 -0700 From: Gleb Smirnoff To: rscheff@freebsd.org, tuexen@freebsd.org Cc: current@freebsd.org Subject: panic: tcp_do_segment: sent too much Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I just got this panic on my desktop running latest stabweek snapshot. panic: tcp_do_segment: sent too much db_trace_self_wrapper() at db_trace_self_wrapper+0x2c/frame 0xfffffe0209deb440 kdb_backtrace() at kdb_backtrace+0x46/frame 0xfffffe0209deb4f0 vpanic() at vpanic+0x23d/frame 0xfffffe0209deb630 panic() at panic+0x4e/frame 0xfffffe0209deb690 tcp_do_segment() at tcp_do_segment+0x3a6c/frame 0xfffffe0209deb8d0 tcp_input_with_port() at tcp_input_with_port+0x15db/frame 0xfffffe0209deba60 tcp_input() at tcp_input+0x27/frame 0xfffffe0209deba90 ip_input() at ip_input+0x1131/frame 0xfffffe0209debb00 netisr_dispatch_src() at netisr_dispatch_src+0x18c/frame 0xfffffe0209debb70 netisr_dispatch() at netisr_dispatch+0x21/frame 0xfffffe0209debb90 ether_demux() at ether_demux+0x2a5/frame 0xfffffe0209debbd0 ether_input_internal() at ether_input_internal+0x613/frame 0xfffffe0209debc10 ether_nh_input() at ether_nh_input+0xb1/frame 0xfffffe0209debc30 netisr_dispatch_src() at netisr_dispatch_src+0x18c/frame 0xfffffe0209debca0 netisr_dispatch() at netisr_dispatch+0x21/frame 0xfffffe0209debcc0 ether_input() at ether_input+0x16c/frame 0xfffffe0209debd10 My kernel is compiled with -O0, which alleviates debugging: (kgdb) frame 4 #4 0xffffffff80ea6c3c in tcp_do_segment (tp=0xfffff814a6f96000, m=0xfffff8044d546a00, th=0xfffff8044d546a82, drop_hdrlen=64, tlen=0, iptos=72 'H') at /usr/src/FreeBSD/sys/netinet/tcp_input.c:2812 2812 KASSERT((tp->t_dupacks == 2 && (kgdb) p tp->t_dupacks $1 = 1 (kgdb) p tp->snd_limited $2 = 0 '\000' (kgdb) p/x tp->t_flags $4 = 0x110003e4 (kgdb) p/x tp->t_flags & 0x00000010 # TF_SENTFIN $5 = 0x0 (kgdb) p tp->t_flags & 1 # TF_ACKNOW $15 = 0 (kgdb) p sent $6 = 1507 (kgdb) p maxseg $7 = 1400 (kgdb) p oldcwnd $8 = 1400 (kgdb) p oldsndmax $9 = 2473784830 (kgdb) p tp->snd_max $10 = 2473786337 (kgdb) p 2473786337 - 2473784830 $11 = 1507 (kgdb) p tp->snd_cwnd $12 = 2800 (kgdb) p avail $13 = 2018 (kgdb) p tp->snd_nxt - tp->snd_una $16 = 2018 (kgdb) p so->so_snd.sb_acc $17 = 2018 (kgdb) p *tp->snd_holes.tqh_first $22 = {start = 2473784319, end = 2473784358, rxmit = 2473784319, scblink = {tqe_next = 0x0, tqe_prev = 0xfffff814a6f96350}} Apparently tcp_output() has sent more than one segment. I don't know if this old assertion is correct, but looks like it started to trigger. Could this be related to 440f4ba18e3a? -- Gleb Smirnoff From nobody Sun Oct 27 18:53:59 2024 X-Original-To: current@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 4Xc5KV4q62z5bKKy for ; Sun, 27 Oct 2024 18:54:22 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Certum Domain Validation CA SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xc5KV01vtz4fKS; Sun, 27 Oct 2024 18:54:22 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:388f:baee:e516:fac3]) (Authenticated sender: macmic) by drew.franken.de (Postfix) with ESMTPSA id 2D22E7220B806; Sun, 27 Oct 2024 19:54:00 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: panic: tcp_do_segment: sent too much From: tuexen@freebsd.org In-Reply-To: Date: Sun, 27 Oct 2024 19:53:59 +0100 Cc: rscheff@freebsd.org, current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <06FF53D8-61BC-4A36-B434-5C015BB841D1@freebsd.org> References: To: Gleb Smirnoff X-Mailer: Apple Mail (2.3818.100.11.1.3) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE] X-Rspamd-Queue-Id: 4Xc5KV01vtz4fKS X-Spamd-Bar: ---- > On 27. Oct 2024, at 17:38, Gleb Smirnoff wrote: >=20 > Hi, >=20 > I just got this panic on my desktop running latest stabweek snapshot. >=20 > panic: tcp_do_segment: sent too much > db_trace_self_wrapper() at db_trace_self_wrapper+0x2c/frame = 0xfffffe0209deb440 > kdb_backtrace() at kdb_backtrace+0x46/frame 0xfffffe0209deb4f0 > vpanic() at vpanic+0x23d/frame 0xfffffe0209deb630 > panic() at panic+0x4e/frame 0xfffffe0209deb690 > tcp_do_segment() at tcp_do_segment+0x3a6c/frame 0xfffffe0209deb8d0 > tcp_input_with_port() at tcp_input_with_port+0x15db/frame = 0xfffffe0209deba60 > tcp_input() at tcp_input+0x27/frame 0xfffffe0209deba90 > ip_input() at ip_input+0x1131/frame 0xfffffe0209debb00 > netisr_dispatch_src() at netisr_dispatch_src+0x18c/frame = 0xfffffe0209debb70 > netisr_dispatch() at netisr_dispatch+0x21/frame 0xfffffe0209debb90 > ether_demux() at ether_demux+0x2a5/frame 0xfffffe0209debbd0 > ether_input_internal() at ether_input_internal+0x613/frame = 0xfffffe0209debc10 > ether_nh_input() at ether_nh_input+0xb1/frame 0xfffffe0209debc30 > netisr_dispatch_src() at netisr_dispatch_src+0x18c/frame = 0xfffffe0209debca0 > netisr_dispatch() at netisr_dispatch+0x21/frame 0xfffffe0209debcc0 > ether_input() at ether_input+0x16c/frame 0xfffffe0209debd10 >=20 > My kernel is compiled with -O0, which alleviates debugging: Hi Gleb, I am aware of the panic, wlosh@ reported it, and pho@ mentioned that he can trigger it on bare metal using cd src/tools/test/stress2/misc ./all.sh -o tcp.sh I will try to reproduce it, once I have fix another bug reported by pho@ related to SCTP. Best regards Michael >=20 > (kgdb) frame 4 > #4 0xffffffff80ea6c3c in tcp_do_segment (tp=3D0xfffff814a6f96000, = m=3D0xfffff8044d546a00, th=3D0xfffff8044d546a82, drop_hdrlen=3D64, = tlen=3D0,=20 > iptos=3D72 'H') at /usr/src/FreeBSD/sys/netinet/tcp_input.c:2812 > 2812 = KASSERT((tp->t_dupacks =3D=3D 2 && > (kgdb) p tp->t_dupacks > $1 =3D 1 > (kgdb) p tp->snd_limited > $2 =3D 0 '\000' > (kgdb) p/x tp->t_flags=20 > $4 =3D 0x110003e4 > (kgdb) p/x tp->t_flags & 0x00000010 # TF_SENTFIN > $5 =3D 0x0 > (kgdb) p tp->t_flags & 1 # TF_ACKNOW > $15 =3D 0 > (kgdb) p sent > $6 =3D 1507 > (kgdb) p maxseg > $7 =3D 1400 > (kgdb) p oldcwnd > $8 =3D 1400 > (kgdb) p oldsndmax > $9 =3D 2473784830 > (kgdb) p tp->snd_max > $10 =3D 2473786337 > (kgdb) p 2473786337 - 2473784830 > $11 =3D 1507 > (kgdb) p tp->snd_cwnd > $12 =3D 2800 > (kgdb) p avail > $13 =3D 2018 > (kgdb) p tp->snd_nxt - tp->snd_una > $16 =3D 2018 > (kgdb) p so->so_snd.sb_acc > $17 =3D 2018 > (kgdb) p *tp->snd_holes.tqh_first > $22 =3D {start =3D 2473784319, end =3D 2473784358, rxmit =3D = 2473784319, scblink =3D {tqe_next =3D 0x0, tqe_prev =3D = 0xfffff814a6f96350}} >=20 > Apparently tcp_output() has sent more than one segment. I don't know = if this old > assertion is correct, but looks like it started to trigger. >=20 > Could this be related to 440f4ba18e3a? >=20 > --=20 > Gleb Smirnoff From nobody Sun Oct 27 22:28:06 2024 X-Original-To: freebsd-current@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 4XcB4M410Fz5bWRj; Sun, 27 Oct 2024 22:28:19 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from vogon.madpilot.net (vogon.madpilot.net [IPv6:2a01:4f8:1c1c:11e5::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XcB4L49rFz537H; Sun, 27 Oct 2024 22:28:18 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=madpilot.net header.s=cyq4qetkgngm header.b="N dO2t7i"; spf=pass (mx1.freebsd.org: domain of mad@madpilot.net designates 2a01:4f8:1c1c:11e5::1 as permitted sender) smtp.mailfrom=mad@madpilot.net; dmarc=pass (policy=quarantine) header.from=madpilot.net Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by vogon.madpilot.net (Postfix) with ESMTP id 4XcB491Tz3zL7yv; Sun, 27 Oct 2024 23:28:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=cyq4qetkgngm; t=1730068087; x= 1731882488; bh=P2ERgjEae+SmXupx4Tp47i2JMrrQiZuUAGA5R6ZDGeg=; b=N dO2t7iZRbjxxOzD64PwPupvTvsUWBk+BNbVJCpAujnekFXtdLba3pTFLk17CpunI byIhQ4JaU1GTwqpqM2dvRkzrlTSwSJtU/gAuSuyrvbC0wutmYGIveW2MK/blcaYW dLxml/1s2Znfem65Vfd6ER43JeDdIgy8l9VLTJ13hgeRzE9iqKwoPCvnA2DnJ6WC wkRjHTDHwIi3uNjyfcozkz35ZTvIFkWogwdLK4WtNXbg2Jxu0KQr2ceBrQ+bWSE0 NZwAwp0r5DTxZ+S6n2d/+lrfGah1Tv2TnorUBYzLljDxgwGyCSBzl4a3kMMtb30K xaiH4jnHCRH9NhPrZTFmw== Received: from vogon.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (vogon.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id q1gn94FX5dyx; Sun, 27 Oct 2024 23:28:07 +0100 (CET) Message-ID: <63102fa6-6676-4aa3-ba72-dc212a73dabf@madpilot.net> Date: Sun, 27 Oct 2024 23:28:06 +0100 Subject: Re: bhyve regression (head): windows VMs failing with error 0xc000021a To: markj@freebsd.org Cc: freebsd-current@freebsd.org, virtualization@freebsd.org References: <6a2a37b3-353e-40ca-b8a9-f4ef97733da8@madpilot.net> <48eb1621-4b22-4080-8e80-059d475244f3@madpilot.net> Content-Language: en-US From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR9q4Z1NYeBsLkRjC4LxKAP5KqUsvlOUjKvO1byj ApYdMarol+IGkaSk9e3zVYAJkWKjn/ni8XbOwU0EUxB7QQEQAKFhrDceoPdK/IHDSmoj6SQY isvM7VdhcleS7E9DoEAVt7yMbf6HbbMVTTY6ckvwTWQssywLBXNVqxgc4WLJjzfUhgef+WE7 5M3+WFYlOVQLGZY/zEVgma1raYnOHNAOzeHLDmEXjbZP6vGAeDyBbGfQPpE7qGYZ7ubeT3Xw QO+PklcCrvOPj2ZPcAxGNS2xVU/LzONqCrJqLMJSIcCdsbiSP4G5PnDFHtMokaTY6OEr8OEQ fOAerhcHUa/z7Uu8YtmaqKH+QGkE/WEgaRqSiTnv0JOTD+DxehaqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.99 / 15.00]; MISSING_MIME_VERSION(2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=cyq4qetkgngm]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,virtualization@freebsd.org]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+] X-Rspamd-Queue-Id: 4XcB4L49rFz537H X-Spamd-Bar: - List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org On 26/10/24 15:28, Mark Johnston wrote: > On Fri, Oct 25, 2024 at 11:12:48PM +0200, Guido Falsi wrote: >> On 25/10/24 22:49, Mark Johnston wrote: >>> On Fri, Oct 25, 2024 at 09:24:13PM +0200, Guido Falsi wrote: >>>> Hi, >>>> >>>> I've recently updated my current machines to git commit >>>> 525a177c165740fc697df3de5b92e58b3b41477c (Sun Oct 20 22:43:41 2024 -0800) >>>> and just have Windows 10 VMs fail to start in bhyve with the error in the >>>> subject. >>>> >>>> I've been unable to recover them with usual tricks (automatic recovery, >>>> chkdsk, and other tools provided by the OS). Looks like the machine fails to >>>> read C: after boot. >>>> >>>> These machines were working fine before the update, so my suspect is that >>>> some recent change in bhyve is causing the issue and the VMs would be >>>> otherwise fine. >>>> >>>> The VMs have their filesystems in compressed zvols. >>>> >>>> Anyone has an idea or can point to some change I can test reverting? >>> >>> Just a guess, but you might try adding "-o pci.enable_bars=true" to the >>> bhyve command line arguments >> >> Tried but it looks like it made no difference. >> >>> >>>> I an also try bisecting, I'd guess the issue is quite recent. >>> >>> Which revision did you update from? >> >> I updated from git commit 450a6690f557493bd33d8f3666b22ddc5150703b (Thu Sep >> 19 11:49:40 2024 -0500) >> >> In the while I noticed some commits to TPM emulation/passthorugh, maybe >> they're related? > > It might be, but I don't see any TPM devices configured in the > invocation below. > > There was a number of changes to usr.sbin/bhyve in that window, so > reverting them one by one would probably turn up the culprit. Or, you > need to pick up commit 8c8ebbb045185396083cd3e4d333fe1851930ee7, given > that you're using AHCI emulation. HI again, thanks for the suggestion, updating to a newer head including this commit "fixed" the issue. SO if there was a regression it's already been fixed. Thanks again for your help! -- Guido Falsi From nobody Mon Oct 28 00:00:17 2024 X-Original-To: freebsd-current@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 4XcD6Y5ywsz5bbKY for ; Mon, 28 Oct 2024 00:00:21 +0000 (UTC) (envelope-from zagazaw2004@gmail.com) Received: from mail-oo1-xc30.google.com (mail-oo1-xc30.google.com [IPv6:2607:f8b0:4864:20::c30]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcD6X6RMGz3x8c for ; Mon, 28 Oct 2024 00:00:20 +0000 (UTC) (envelope-from zagazaw2004@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=igeNyv4n; spf=pass (mx1.freebsd.org: domain of zagazaw2004@gmail.com designates 2607:f8b0:4864:20::c30 as permitted sender) smtp.mailfrom=zagazaw2004@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-5eb70a779baso1968156eaf.1 for ; Sun, 27 Oct 2024 17:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730073619; x=1730678419; darn=freebsd.org; h=content-language:thread-index:mime-version:message-id:date:subject :in-reply-to:references:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+bdM/qo00qsEM8qdhBRhMKgpYUwGSh/vDV+a6Ds0kQo=; b=igeNyv4n+1pp2i5bQ1QxEMXS3hQ5wF89MCv9P7rkEHCoe+t5DUQ2xkatA8OfCVj5kA aYpgwD/DXW0XBb1fwpqv3IDhshBbfWcgLX2IEWrxSSa0lCfwPNbfT2YJppzBt+isEnrs vXASiMAuo5U2dL4LeoOZPgslwbI04DwI6+k61gZLSq15mtipEAu4AM5bB59WwqjP8+u8 fNjLtYJLIjy1kJiTlOztMeAP2oI20ohuqn9sAotoqI9Pm/aegZXUq20BqcC0/DYmac+C Js7RtlmXrongGom6dFWKOmLm60Yvg+j0t6ndPOtnPnXmbjIMkCaGZf49D/gl0dSNQL4i SEOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730073619; x=1730678419; h=content-language:thread-index:mime-version:message-id:date:subject :in-reply-to:references:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+bdM/qo00qsEM8qdhBRhMKgpYUwGSh/vDV+a6Ds0kQo=; b=mLY3mPVqTmEu+XoCyzA3fFY1hHPDQZhV+5wpg3xd32V4tscBxGAku8JRTBk8RMQmTT O3uw2RwF4LN0jZStLfUgCqm0t1x+eNEARwiJYUbrckm+Z5jYgeyVt0uAjXfsqJPRzMWK IRRHwDvFk5AuLzInrE4lbjojTd39gmbdyi8sotUrqGMzo43rEL9jQghcmj9ApAqg+35Y 8EuE00dT6mqbbUAdZqUr5XnlxCuT+PtlSxc5AH1qL4U3YcLmaqkwJC99JZFbO1ffut+9 Kuo2vEoadjedqRqdqBRTsSHJzAXuPaDSThL6gJCVE2odxyfaUfOw41Qi2tvdBdHVUcbA X+Zw== X-Gm-Message-State: AOJu0YwfwANTescLs34WjU19Tk6dQOQVLaLEzQHH+xElP5bIHyc+RdP8 5zR+JvsY6RNyG+eMlC3yUb2dKM4jkYJuWiHfuhY0wj5k5Zx6jP1nLpqCK0Q3 X-Google-Smtp-Source: AGHT+IEAO/CIJqGLmiU4+0GJzHF77twnWLe2SK2lri1+QTrysJZekWSVTpr5wGDebiuqJGNzH72CNA== X-Received: by 2002:a05:6820:1e0b:b0:5e1:cd24:c19c with SMTP id 006d021491bc7-5ec235cf285mr3536991eaf.0.1730073618873; Sun, 27 Oct 2024 17:00:18 -0700 (PDT) Received: from MICROBOX (c-76-143-116-34.hsd1.tx.comcast.net. [76.143.116.34]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5ec187386a2sm1435410eaf.46.2024.10.27.17.00.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Oct 2024 17:00:18 -0700 (PDT) From: "Maku Bex" To: References: In-Reply-To: Subject: speedup build time Date: Sun, 27 Oct 2024 19:00:17 -0500 Message-ID: <012d01db28cc$5fc66ac0$1f534040$@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_012E_01DB28A2.76F51DB0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJ3VbOQihVg02AtylL0VAHJnJ3sWbFi7TJw Content-Language: en-us X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c30:from] X-Rspamd-Queue-Id: 4XcD6X6RMGz3x8c X-Spamd-Bar: --- This is a multipart message in MIME format. ------=_NextPart_000_012E_01DB28A2.76F51DB0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello, I'm trying to figure out a way to decrease build time of -CURRENT and/or -STABLE but it is not working out that well. I've tried the following: * Tuning /etc/make.conf and /etc/src-env.conf based on their manpages (make.conf(5), make(1), src.conf(5)). * Removed certain options from GENERIC, which reduced the kernel build time significantly. Hardware specs: * I7-10700T 8C/16T @2.0GHz. * 16GB RAM. * 256GB NVMe. Currently, 'make buildworld' has been running for 7hrs and counting. Is there anything else I can do to speed up world build? thx, ------=_NextPart_000_012E_01DB28A2.76F51DB0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hello,

 

I’m trying to figure out a way = to decrease build time of -CURRENT and/or -STABLE but it is not working = out that well.

 

I’ve = tried the following:

 

  • Tuning /etc/make.conf and = /etc/src-env.conf based on their manpages (make.conf(5), make(1), = src.conf(5)).
  • Removed certain options from = GENERIC, which reduced the kernel build time significantly. =

 

Hardware = specs:

 

  • I7-10700T 8C/16T = @2.0GHz.
  • 16GB RAM.
  • 256GB = NVMe.

 

Currently, = ‘make buildworld’ has been running for 7hrs and counting. Is = there anything else I can do to speed up world = build?

 

 

thx,

------=_NextPart_000_012E_01DB28A2.76F51DB0--