From owner-freebsd-current@freebsd.org Sun Aug 30 11:17:09 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 04CF13AF032 for ; Sun, 30 Aug 2020 11:17:09 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfW4z5FGmz3Zqs; Sun, 30 Aug 2020 11:17:07 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([77.183.152.155]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MybKf-1kWuaL3A7R-00yw4o; Sun, 30 Aug 2020 13:17:04 +0200 Date: Sun, 30 Aug 2020 13:16:57 +0200 From: "Hartmann, O." To: Mateusz Guzik Cc: "Hartmann, O." , FreeBSD CURRENT , mmacy@freebsd.org, freqlabs@freebsd.org Subject: Re: installkernel: install: /usr/lib/debug/boot/kernel/: No such file or directory *** Error code 71 Message-ID: <20200830131657.4803768b@hermann.fritz.box> In-Reply-To: References: <20200828120706.7b2c3396@hermann.fritz.box> <20200828130539.18ba7437@hermann.fritz.box> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/elSfoLPzOPkBpioFP_1tEUI"; protocol="application/pgp-signature" X-Provags-ID: V03:K1:zTGo3IYQJlB+j+MdEdGqA+dL0XBvDp3XwajtN8JQY5Nfw4asF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vjwLZax343LWx9nQ2kyw8nkpt/W/nK16Mth1BW 0EvSylXIKVjFb84L7BenGVvT+wF2QPcIqnOG52ZnDx++mSn4ANeVyvbgMCyYb8vMvwo+V1TOL tubLSIvcjn3Uf7eDiyPiSxoHg9aZ5enbSlgDy2/Gt+hrLoQ3Bfox/508xa/IaNBcERAL8LraQ 8D9nEzxg7Py0AQOkp7i79dishZTlrHr9KNhlqG+8P1/LlrlPqHjU5wSoZar1cCF/BZpJGyF7t lGf94lu8CGlz1NfzeEDpxzJW8tohYIBvh0pvuGMY5wOnJCBGk/nFbDj26qHNrGXwwApPukSNN 28K23IwZbFkfm6cDO40kTV5ajDXJ1/LfJMn9yENaBLOVSlNhnjscDw8/lvpv/kSL9pOJEcYkY GVhQf0KWhiBmfPfsa3cEFeoXYYeSddIMx+AMXIw== X-Rspamd-Queue-Id: 4BfW4z5FGmz3Zqs X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.22 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.870]; NEURAL_HAM_LONG(-0.97)[-0.975]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[walstatt.org]; RCPT_COUNT_FIVE(0.00)[5]; HAS_ORG_HEADER(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.20:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.87)[-0.871]; RECEIVED_SPAMHAUS_PBL(0.00)[77.183.152.155:received]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 11:17:09 -0000 --Sig_/elSfoLPzOPkBpioFP_1tEUI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 28 Aug 2020 13:16:05 +0200 Mateusz Guzik wrote: > On 8/28/20, Hartmann, O. wrote: > > On Fri, 28 Aug 2020 12:31:21 +0200 > > Mateusz Guzik wrote: > > =20 > >> Can you show more of the log? > >> > >> When you installkernel you should see: > >> mkdir -p /boot/kernel > >> install -p -m 555 -o root -g wheel kernel /boot/kernel/ =20 > > > > These lines are seen right after the beginning of "make > > installkernel".=20 > >> mkdir -p /usr/lib/debug/boot/kernel > >> install -p -m 555 -o root -g wheel kernel.debug > >> /usr/lib/debug/boot/kernel/ =20 > > > > I wouldn't expect these lines according to my /etc/src.conf, since I > > disbaled debugging and installing debugging infos. =20 > >> > >> Did these succeed? Do these dirs exist now? =20 > > > > It is not existent, as expected: > > > > > > # ll /usr/lib/debug/boot/kernel/ > > ls: /usr/lib/debug/boot/kernel/: No such file or directory > > =20 >=20 > Ok. I recently made changes to the namecache, which if buggy, could > have resulted in woes like the above. >=20 > Thus it looks like the newly imported zfs does not respect > WITHOUT_DEBUG_FILES. Even in r364973 the problem still remains. Disabling option WITHOUT_DEBUG_FILES in src.conf is exhausting the /usr/obj partition (using UFS/FFS) and no option. Got now several boxes having "make installkernel" issued with a running system but incomplete kernel installation, as buildkernel suggested a clean build. Can this be fixed, please? =20 >=20 > >> > >> On 8/28/20, Hartmann, O. wrote: =20 > >> > On CURRENT (FreeBSD 13.0-CURRENT #185 r364767: Tue Aug 25 > >> > 16:10:50 CEST 2020 amd64), /usr/src at revision 364907, > >> > installkernel fails now due to an error as shown below. For the > >> > record, "options ZFS" ist statically in the kernel config file. > >> > > >> > Also deleting /usr/obj and restarting buildworld and buildkernel > >> > from scratch doesn't solve the problem. The buildworld and > >> > buildkernel mutually finish without error (I do not see any on > >> > the console), installworld also finishes fine, but installkernel > >> > not. > >> > > >> > /etc/src.conf looks as follows: > >> > > >> > [...] > >> > CPUTYPE?=3D native > >> > # World > >> > CFLAGS+=3D -O3 > >> > #CFLAGS+=3D -DNDEBUG > >> > # Kernel > >> > COPTFLAGS+=3D -O3 > >> > #COPTFLAGS+=3D -DNDEBUG > >> > #CXXFLAGS+=3D -std=3Dc++17 > >> > WITH_CLANG_EXTRAS=3D YES > >> > WITH_LLDB=3D YES > >> > #WITH_BSD_GREP=3D YES > >> > WITH_OFED_EXTRA=3D YES > >> > WITH_NAND=3D YES > >> > #WITH_CTF=3D YES > >> > WITH_SVN=3D YES > >> > WITH_BEARSSL=3D YES > >> > WITH_PIE=3D YES > >> > WITH_SORT_THREADS=3D YES > >> > WITH_ZONEINFO_LEAPSECONDS_SUPPORT=3D YES > >> > MALLOC_PRODUCTION=3D YES > >> > WITHOUT_ASSERT_DEBUG=3D YES > >> > WITHOUT_TESTS=3D YES > >> > WITHOUT_PROFILE=3D YES > >> > WITHOUT_DEBUG_FILES=3D YES > >> > WITHOUT_REPRODUCIBLE_BUILD=3D YES > >> > > >> > [...] > >> > > >> > Debugging facilities are disabled as src.conf indicates. > >> > > >> > [...] > >> > install -T release -o root -g wheel -m 555 xz.ko > >> > /boot/kernel/ =3D=3D=3D> zfs (install) > >> > install -T release -o root -g wheel -m 555 zfs.ko /boot/kernel/ > >> > install -T dbg -o root -g wheel -m 555 zfs.ko.debug > >> > /usr/lib/debug/boot/kernel/ > >> > install: /usr/lib/debug/boot/kernel/: No such file or directory > >> > *** Error code 71 > >> > > >> > Stop. > >> > make[4]: stopped in /usr/src/sys/modules/zfs > >> > *** Error code 1 > >> > *** Error code 1 > >> > =20 > >> > >> =20 > > > > =20 >=20 >=20 --Sig_/elSfoLPzOPkBpioFP_1tEUI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX0uKqQAKCRA4N1ZZPba5 R32cAQC2zJMdB4dRFTtaSLpvAv+XgF9CvDyVJ5GlKuuSqHhMIgEA5Xrdhjl4xj3z KQ8j2Zu5IUAGHPLD905884x0RxH3Iwk= =G1G0 -----END PGP SIGNATURE----- --Sig_/elSfoLPzOPkBpioFP_1tEUI--