From owner-freebsd-current@freebsd.org Fri Sep 4 11:26:17 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 6C10C3DDBD6 for ; Fri, 4 Sep 2020 11:26:17 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 4Bjb3D1kwtz3cFW; Fri, 4 Sep 2020 11:26:15 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([46.88.94.26]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWASe-1k2feh1PXW-00XZas; Fri, 04 Sep 2020 13:26:13 +0200 Date: Fri, 4 Sep 2020 13:26:11 +0200 From: "O. Hartmann" 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: <20200904132607.11a7917c@freyja> In-Reply-To: References: <20200828120706.7b2c3396@hermann.fritz.box> <20200828130539.18ba7437@hermann.fritz.box> <20200830131657.4803768b@hermann.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:53lojGXnAgQhHoTCG3yjDCerB2mvB7jMxy4auKJhYe+m8klALLJ Q6g7A5gBhNANFfyNZTip23m9CqGs5oKKm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Z5vzfD+Y2 xOtzXXvYLgwxXsIbG5BqqdMvsFPrfZ0m2qhMY/kP02/8GWSpyVngljMmD28Bp9e9uUGrnbA+G tpKBpeLMM1kH8s+9zh0gWqVk29RU3C1cgJvXnP9enWwR6Y+0ji2PxAk2GvZaOi/4+gdNpDRd8 uqB9HtbuxoTYOBhEfmF9ISkoPldP+nLiuKFGkpeKKa4NalFCyEAGusM3uxm+h/nr2V5R4GeQv pVkNM6cDgrywklybx2rSxZJqXbpH6QFPyvij+fM+mszyV1qzwW8ukb07Pkxkt8T00prSvhM04 FyTq59HJfQBfso9IZibAfVwAublJyz0QJhKajcg0HtZdVyirsNBvCEogNUiqHAr5vE/6cMGtb xN3NXmgEL2nDHqlGKab9XmD8ZoSMmDlUSqxlBLg== X-Rspamd-Queue-Id: 4Bjb3D1kwtz3cFW X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.55 / 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.98)[-0.980]; NEURAL_HAM_LONG(-0.94)[-0.944]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt.org]; RCPT_COUNT_FIVE(0.00)[5]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.19:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.73)[-0.726]; RECEIVED_SPAMHAUS_PBL(0.00)[46.88.94.26: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:+]; MID_RHS_NOT_FQDN(0.50)[]; 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.15.19: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: Fri, 04 Sep 2020 11:26:17 -0000 On Tue, 1 Sep 2020 19:21:36 +0200 Mateusz Guzik wrote: > It's not my bug but i'll make sure it is taken care of. Oh, I'm sorry. But I grasp for every help I can get ... The problem is that I do not know whether the process "make installkernel"= does silently proceed and drop the error message and everything is fine or the = fact that zfs.ko is the very last kernel module in the alphabetical order makes= it by accident work. So, rebooting with an inconsistent /boot/kernel folder h= as revealed itself as a very unpleasant situation in the past. Thanks anyway for your concern. Kind regards Oliver > > On 8/30/20, Hartmann, O. wrote: > > 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: > >> > > >> >> 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/ > >> > > >> > These lines are seen right after the beginning of "make > >> > installkernel". > >> >> mkdir -p /usr/lib/debug/boot/kernel > >> >> install -p -m 555 -o root -g wheel kernel.debug > >> >> /usr/lib/debug/boot/kernel/ > >> > > >> > I wouldn't expect these lines according to my /etc/src.conf, since = I > >> > disbaled debugging and installing debugging infos. > >> >> > >> >> Did these succeed? Do these dirs exist now? > >> > > >> > It is not existent, as expected: > >> > > >> > > >> > # ll /usr/lib/debug/boot/kernel/ > >> > ls: /usr/lib/debug/boot/kernel/: No such file or directory > >> > > >> > >> Ok. I recently made changes to the namecache, which if buggy, could > >> have resulted in woes like the above. > >> > >> 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 runnin= g > > system but incomplete kernel installation, as buildkernel suggested a > > clean build. Can this be fixed, please? > > > > > >> > >> >> > >> >> On 8/28/20, Hartmann, O. wrote: > >> >> > 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 > >> >> > > >> >> > >> >> > >> > > >> > > >> > >> > > > > > >