From owner-freebsd-current@freebsd.org Tue Sep 1 17:21:41 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 2C5633CFFF9 for ; Tue, 1 Sep 2020 17:21:41 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bgv4h31S7z3f21; Tue, 1 Sep 2020 17:21:40 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm1-x343.google.com with SMTP id z9so1965403wmk.1; Tue, 01 Sep 2020 10:21:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZFdOtHthSKv4zqKkPWV3a+QMaHlucs7NMfU+5H84ozE=; b=BUiCCUAsH8d0B32SuDLG+aNoOQQcR9fzFffqI+rQ2DrBgHepvQsJmLdzVHTFPlTiAF 5K0FddrqUs3U+lTS8ImpSm5yTyAf2p7e/HI9Y/Y6Z+rzJgI5vilih8lG58j5zVRgz5fK IV7UaWizSf2jhjD7mwU28tiy1nfiE+ilKOsVxJBIvHM0MJvc1U+WH5euCsr4F2+t38Km /mRL7I4FV5EoyTpYodJY0Bckyv8EHZMT/YB8mz9A8CN2WN8YNSooiCMcEZwZ/auivedE hhNkt2MpT4gakE6ioAYPl8tunkiU52uST+4RzOt7gsDhPOKLYU4XAl4sPoPOtvxsmdqT UeUw== X-Gm-Message-State: AOAM533KbTTDTGI6fQwichqfdn8F2EMNBkXXyRFWC5s7KalZslzl888w t0QUsp7u2/EgpUxQkGUKF5CXf9smOgkv2LxrknE= X-Google-Smtp-Source: ABdhPJzPDsrz0DaVk5Dik7oNyEAwpV3qh9gPiWeYqUS1wkPTiqXYEz0+DAcNmfFyG+1OWIDWdXZ4z9sDRfZzbPyos3g= X-Received: by 2002:a1c:678a:: with SMTP id b132mr2916559wmc.10.1598980898043; Tue, 01 Sep 2020 10:21:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6000:187:0:0:0:0 with HTTP; Tue, 1 Sep 2020 10:21:36 -0700 (PDT) In-Reply-To: <20200830131657.4803768b@hermann.fritz.box> References: <20200828120706.7b2c3396@hermann.fritz.box> <20200828130539.18ba7437@hermann.fritz.box> <20200830131657.4803768b@hermann.fritz.box> From: Mateusz Guzik Date: Tue, 1 Sep 2020 19:21:36 +0200 Message-ID: Subject: Re: installkernel: install: /usr/lib/debug/boot/kernel/: No such file or directory *** Error code 71 To: "Hartmann, O." Cc: "Hartmann, O." , FreeBSD CURRENT , mmacy@freebsd.org, freqlabs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Bgv4h31S7z3f21 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.04)[-1.039]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.18)[0.178]; NEURAL_HAM_LONG(-1.03)[-1.034]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::343:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] 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: Tue, 01 Sep 2020 17:21:41 -0000 It's not my bug but i'll make sure it is taken care of. 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 running > 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?= native >> >> > # World >> >> > CFLAGS+= -O3 >> >> > #CFLAGS+= -DNDEBUG >> >> > # Kernel >> >> > COPTFLAGS+= -O3 >> >> > #COPTFLAGS+= -DNDEBUG >> >> > #CXXFLAGS+= -std=c++17 >> >> > WITH_CLANG_EXTRAS= YES >> >> > WITH_LLDB= YES >> >> > #WITH_BSD_GREP= YES >> >> > WITH_OFED_EXTRA= YES >> >> > WITH_NAND= YES >> >> > #WITH_CTF= YES >> >> > WITH_SVN= YES >> >> > WITH_BEARSSL= YES >> >> > WITH_PIE= YES >> >> > WITH_SORT_THREADS= YES >> >> > WITH_ZONEINFO_LEAPSECONDS_SUPPORT= YES >> >> > MALLOC_PRODUCTION= YES >> >> > WITHOUT_ASSERT_DEBUG= YES >> >> > WITHOUT_TESTS= YES >> >> > WITHOUT_PROFILE= YES >> >> > WITHOUT_DEBUG_FILES= YES >> >> > WITHOUT_REPRODUCIBLE_BUILD= YES >> >> > >> >> > [...] >> >> > >> >> > Debugging facilities are disabled as src.conf indicates. >> >> > >> >> > [...] >> >> > install -T release -o root -g wheel -m 555 xz.ko >> >> > /boot/kernel/ ===> 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 >> >> > >> >> >> >> >> > >> > >> >> > > -- Mateusz Guzik