Date: Fri, 7 Feb 2025 17:18:50 +0100 (CET) From: Ronald Klop <ronald-lists@klop.ws> To: A FreeBSD User <freebsd@walstatt-de.de> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such file or directory Message-ID: <618457604.2994.1738945130707@localhost> In-Reply-To: <20250207171235.1c3e3507@thor.sb211.local>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Well. This if_mtw code is pretty new: https://cgit.freebsd.org/src/commit/?id=c14b016242613da79516e83fc6faef35d827cc18 Maybe something is not compatible with your NODEBUG settings. Van: A FreeBSD User <freebsd@walstatt-de.de> Datum: 7 februari 2025 17:12 Aan: Ronald Klop <ronald-lists@klop.ws> CC: FreeBSD CURRENT <freebsd-current@freebsd.org> Onderwerp: Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such file or directory > > > > Am Fri, 7 Feb 2025 16:53:30 +0100 (CET) > Ronald Klop schrieb: > > > What is in your /etc/make.conf and /etc/src.conf? > > > > Regards, > > Ronald. > > Remark: > > I use on all CURRENT boxes a special scheme for configuring the kernel/world. The kernel > config files are located in /etc/config/amd64/kernel_conf/, the kernel config file is > > /etc/config/amd64/kernel_conf/WALHALL (for a certain kernel): > > [...] > include GENERIC > include NODEVICE-WALHALL > include "std.nodebug" > include ADDON-WALHALL > > #makeoptions WITH_KERNEL_RETPOLINE=YES > makeoptions > WITH_EXTRA_TCP_STACKS=YES,WITH_MALLOC_PRODUCTION=YES,-DWITH_MALLOC_PRODUCTION > > ident WALHALL > [...] > > NODEVICE-WALHALL: mostly GENERIC, but unwanted and unneeded options prepended with > "nooptions", same with devices not needed, prepended with "nodevice". > Also an exchange/addendum: > [...] > # For full debugger support use (turn off in stable branch): > include "std.nodebug" > to avoid debugging bloats. > > In ADDON-XXXXX there are several non-optional devices/options in place. > > I realised in my initial post this: > > > > > > > ===> usb/mtw (install) > > > > > > install -T release -o root -g wheel -m 444 if_mtw.ko /boot/kernel/ > > > > > > install -T dbg -o root -g wheel -m 444 if_mtw.ko.debug /usr/lib/debug/boot/kernel/ > > > > > > install: /usr/lib/debug/boot/kernel: No such file or directory > > > > > > *** Error code 71 > > > usb/mtw is the ONLY(!) line in the whole output indicating the debug install of a kernel > module, although I thought I had all DEBUG stuff disabled. > > > /etc/make.conf: > > mostly vanilla, except this last line: > [...] > ## > ## make.conf.local > ## > .include "/usr/local/etc/make.conf.local" > > In /usr/local/etc/make.conf.local we setup some special treatments of several ports (options). > No world settings. > > > /etc/src.conf is : > > # > CPUTYPE?= native > # World > #CFLAGS+= -O3 > # Kernel > #COPTFLAGS+= -O3 > # > #CXXFLAGS+= -std=c++22 > # > WITH_CLANG_EXTRAS= YES > #WITH_LLVM_BINUTILS= YES > # > WITH_OFED_EXTRAS= YES > # > #WITH_BSD_GREP= YES > # > WITH_BEARSSL= YES > # > WITH_SORT_THREADS= YES > # > WITH_ZONEINFO_LEAPSECONDS_SUPPORT= YES > # > WITH_MALLOC_PRODUCTION= YES > # > WITHOUT_ASSERT_DEBUG= YES > WITHOUT_TESTS= YES > WITHOUT_DEBUG_FILES= YES > # > WITHOUT_CLEAN= YES > # > WITHOUT_REPRODUCIBLE_BUILD= YES > # > WITHOUT_LOADER_PXEBOOT= YES > #PXEBOOT_DEFAULT_INTERP= 4th > LOADERSIZE?= 525000 > # > WITH_BHYVE_SNAPSHOT= YES > # > NOINSTALL_DEBUG= YES > > KERNCONF= WALHALL > KERNCONFDIR= /etc/config/amd64/kernel_conf/ > > > > > > Van: A FreeBSD User > > Datum: vrijdag, 7 februari 2025 16:47 > > Aan: Ronald Klop > > CC: FreeBSD CURRENT > > Onderwerp: Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such > > file or directory > > > > > > Am Fri, 7 Feb 2025 14:45:04 +0100 > > > A FreeBSD User schrieb: > > > > > > > Am Fri, 7 Feb 2025 14:08:24 +0100 (CET) > > > > Ronald Klop schrieb: > > > > > > > > > Does it work if you just do > > > > > > > > > > mkdir -p /usr/lib/debug/boot/kernel/ > > > > > > > > > > and restart the make installkernel? > > > > > > > > > > Regards, > > > > > Ronald. > > > > > > > > > > > > Hello Ronald. > > > > > > > > I already did that, but the newly created directory seems to vanish each time I start > > > > "make installkernel" or "make kernel" (or with "-j8" for parallel install ...). > > > > > > > > I've issued newly "make cleanworld" and "make cleandir" additionaly and do a complete new > > > > build - again. It takes a least an hour on my 12 years old hardware ;-) > > > > > > > > Will report in when finished/failes again ... > > > > > > > > Kind regards, > > > > > > > > Oliver > > > > > > > > > No luck! After a complete fresh buildworld/buildkernel, the failure is persistant. > > > > > > > > > > > > > > > > > > > > > Van: A FreeBSD User > > > > > Datum: vrijdag, 7 februari 2025 13:56 > > > > > Aan: FreeBSD CURRENT > > > > > Onderwerp: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such > > > > > file or directory > > > > > > > > > > > > Hello, > > > > > > > > > > > > Host is actual running > > > > > > > > > > > > 15.0-CURRENT #40 main-n275030-46a9fb7287f4: Sat Jan 25 07:09:38 CET 2025 amd64 > > > > > > > > > > > > Trying to rebuild (from clean/scratch after "make cleanworld") and install > > > > > > kernel/world. > > > > > > > > > > > > make kernel works fine. > > > > > > make installkernel bails out with: > > > > > > > > > > > > [...] > > > > > > ===> usb/rsufw/rsurtl8712fw (install) > > > > > > install -T release -o root -g wheel -m 444 rsu-rtl8712fw.ko /boot/kernel/ > > > > > > ===> usb/mtw (install) > > > > > > install -T release -o root -g wheel -m 444 if_mtw.ko /boot/kernel/ > > > > > > install -T dbg -o root -g wheel -m 444 if_mtw.ko.debug /usr/lib/debug/boot/kernel/ > > > > > > install: /usr/lib/debug/boot/kernel: No such file or directory > > > > > > *** Error code 71 > > > > > > > > > > > > Stop. > > > > > > make[5]: stopped making "install" in /usr/src/sys/modules/usb/mtw > > > > > > *** Error code 1 > > > > > > > > > > > > Stop. > > > > > > make[4]: stopped making "install" in /usr/src/sys/modules/usb > > > > > > *** Error code 1 > > > > > > > > > > > > Stop. > > > > > > make[3]: stopped making "install" in /usr/src/sys/modules > > > > > > *** Error code 1 > > > > > > [...] > > > > > > > > > > > > On a similar box running CURRENT this failure doesn't show up, but the (working) box > > > > > > has been updated more often within the past two weeks. > > > > > > > > > > > > I fear that I might have issued "make delete-old" on the wrong console prior to "make > > > > > > installworld", but I do not know wether the failure shown is a typical/well known > > > > > > symptome. > > > > > > > > > > > > Any tips and tricks to fix this nasty failure? > > > > > > > > > > > > Thanks in advance > > > > > > > > > > > > o.h. > > > > > > > > > > > > -- > > > > > > > > > > > > A FreeBSD user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > A FreeBSD user > > > > > > > > > > > > > > > > > > > > -- > > A FreeBSD user > > > > > > > [-- Attachment #2 --] <html><head></head><body><div>Well. This if_mtw code is pretty new:</div><div><br></div><div><a href="https://cgit.freebsd.org/src/commit/?id=c14b016242613da79516e83fc6faef35d827cc18">https://cgit.freebsd.org/src/commit/?id=c14b016242613da79516e83fc6faef35d827cc18</a><br></div><div><br></div><div>Maybe something is not compatible with your NODEBUG settings. </div><div><br></div><div><br></div><br><p><small><strong>Van:</strong> A FreeBSD User <freebsd@walstatt-de.de><br><strong>Datum:</strong> 7 februari 2025 17:12<br><strong>Aan:</strong> Ronald Klop <ronald-lists@klop.ws><br><strong>CC:</strong> FreeBSD CURRENT <freebsd-current@freebsd.org><br><strong>Onderwerp:</strong> Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such file or directory<br></small></p><blockquote style="margin-left: 5px; border-left: 3px solid #ccc; margin-right: 0px; padding-left: 5px;"><div class="MessageRFC822Viewer do_not_remove" id="P"><!-- P --> <!-- processMimeMessage --><div class="MultipartMixedViewer do_not_remove"><!-- P.P --> <div class="TextPlainViewer do_not_remove" id="P.P.P1"><!-- P.P.P1 -->Am Fri, 7 Feb 2025 16:53:30 +0100 (CET)<br> Ronald Klop <ronald-lists@klop.ws> schrieb:<br> <br> > What is in your /etc/make.conf and /etc/src.conf?<br> > <br> > Regards,<br> > Ronald.<br> <br> Remark: <br> <br> I use on all CURRENT boxes a special scheme for configuring the kernel/world. The kernel<br> config files are located in /etc/config/amd64/kernel_conf/, the kernel config file is<br> <br> /etc/config/amd64/kernel_conf/WALHALL (for a certain kernel):<br> <br> [...]<br> include GENERIC<br> include NODEVICE-WALHALL<br> include "std.nodebug"<br> include ADDON-WALHALL<br> <br> #makeoptions WITH_KERNEL_RETPOLINE=YES<br> makeoptions <br> WITH_EXTRA_TCP_STACKS=YES,WITH_MALLOC_PRODUCTION=YES,-DWITH_MALLOC_PRODUCTION<br> <br> ident WALHALL<br> [...]<br> <br> NODEVICE-WALHALL: mostly GENERIC, but unwanted and unneeded options prepended with<br> "nooptions", same with devices not needed, prepended with "nodevice".<br> Also an exchange/addendum:<br> [...] <br> # For full debugger support use (turn off in stable branch):<br> include "std.nodebug"<br> to avoid debugging bloats.<br> <br> In ADDON-XXXXX there are several non-optional devices/options in place.<br> <br> I realised in my initial post this:<br> <br> > > > > > ===> usb/mtw (install) <br> > > > > > install -T release -o root -g wheel -m 444 if_mtw.ko /boot/kernel/<br> > > > > > install -T dbg -o root -g wheel -m 444 if_mtw.ko.debug /usr/lib/debug/boot/kernel/<br> > > > > > install: /usr/lib/debug/boot/kernel: No such file or directory<br> > > > > > *** Error code 71<br> <br> <br> usb/mtw is the ONLY(!) line in the whole output indicating the debug install of a kernel<br> module, although I thought I had all DEBUG stuff disabled.<br> <br> <br> /etc/make.conf:<br> <br> mostly vanilla, except this last line:<br> [...]<br> ##<br> ## make.conf.local<br> ##<br> .include "/usr/local/etc/make.conf.local"<br> <br> In /usr/local/etc/make.conf.local we setup some special treatments of several ports (options).<br> No world settings.<br> <br> <br> /etc/src.conf is :<br> <br> #<br> CPUTYPE?= native<br> # World<br> #CFLAGS+= -O3<br> # Kernel<br> #COPTFLAGS+= -O3<br> #<br> #CXXFLAGS+= -std=c++22<br> #<br> WITH_CLANG_EXTRAS= YES<br> #WITH_LLVM_BINUTILS= YES<br> #<br> WITH_OFED_EXTRAS= YES<br> #<br> #WITH_BSD_GREP= YES<br> #<br> WITH_BEARSSL= YES<br> #<br> WITH_SORT_THREADS= YES<br> #<br> WITH_ZONEINFO_LEAPSECONDS_SUPPORT= YES<br> #<br> WITH_MALLOC_PRODUCTION= YES<br> #<br> WITHOUT_ASSERT_DEBUG= YES<br> WITHOUT_TESTS= YES<br> WITHOUT_DEBUG_FILES= YES<br> #<br> WITHOUT_CLEAN= YES<br> #<br> WITHOUT_REPRODUCIBLE_BUILD= YES<br> #<br> WITHOUT_LOADER_PXEBOOT= YES<br> #PXEBOOT_DEFAULT_INTERP= 4th<br> LOADERSIZE?= 525000<br> #<br> WITH_BHYVE_SNAPSHOT= YES<br> #<br> NOINSTALL_DEBUG= YES<br> <br> KERNCONF= WALHALL<br> KERNCONFDIR= /etc/config/amd64/kernel_conf/<br> > <br> > <br> > Van: A FreeBSD User <freebsd@walstatt-de.de><br> > Datum: vrijdag, 7 februari 2025 16:47<br> > Aan: Ronald Klop <ronald-lists@klop.ws><br> > CC: FreeBSD CURRENT <freebsd-current@freebsd.org><br> > Onderwerp: Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such<br> > file or directory<br> > > <br> > > Am Fri, 7 Feb 2025 14:45:04 +0100<br> > > A FreeBSD User <freebsd@walstatt-de.de> schrieb:<br> > > <br> > > > Am Fri, 7 Feb 2025 14:08:24 +0100 (CET)<br> > > > Ronald Klop <ronald-lists@klop.ws> schrieb:<br> > > > <br> > > > > Does it work if you just do<br> > > > ><br> > > > > mkdir -p /usr/lib/debug/boot/kernel/<br> > > > ><br> > > > > and restart the make installkernel?<br> > > > ><br> > > > > Regards,<br> > > > > Ronald. <br> > > ><br> > > ><br> > > > Hello Ronald.<br> > > ><br> > > > I already did that, but the newly created directory seems to vanish each time I start<br> > > > "make installkernel" or "make kernel" (or with "-j8" for parallel install ...).<br> > > ><br> > > > I've issued newly "make cleanworld" and "make cleandir" additionaly and do a complete new<br> > > > build - again. It takes a least an hour on my 12 years old hardware ;-)<br> > > ><br> > > > Will report in when finished/failes again ...<br> > > ><br> > > > Kind regards,<br> > > ><br> > > > Oliver <br> > > <br> > > <br> > > No luck! After a complete fresh buildworld/buildkernel, the failure is persistant.<br> > > <br> > > <br> > > > ><br> > > > > <br> > > > > Van: A FreeBSD User <freebsd@walstatt-de.de><br> > > > > Datum: vrijdag, 7 februari 2025 13:56<br> > > > > Aan: FreeBSD CURRENT <freebsd-current@freebsd.org><br> > > > > Onderwerp: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such<br> > > > > file or directory <br> > > > > ><br> > > > > > Hello,<br> > > > > ><br> > > > > > Host is actual running<br> > > > > ><br> > > > > > 15.0-CURRENT #40 main-n275030-46a9fb7287f4: Sat Jan 25 07:09:38 CET 2025 amd64<br> > > > > ><br> > > > > > Trying to rebuild (from clean/scratch after "make cleanworld") and install<br> > > > > > kernel/world.<br> > > > > ><br> > > > > > make kernel works fine.<br> > > > > > make installkernel bails out with:<br> > > > > ><br> > > > > > [...] <br> > > > > > ===> usb/rsufw/rsurtl8712fw (install) <br> > > > > > install -T release -o root -g wheel -m 444 rsu-rtl8712fw.ko /boot/kernel/ <br> > > > > > ===> usb/mtw (install) <br> > > > > > install -T release -o root -g wheel -m 444 if_mtw.ko /boot/kernel/<br> > > > > > install -T dbg -o root -g wheel -m 444 if_mtw.ko.debug /usr/lib/debug/boot/kernel/<br> > > > > > install: /usr/lib/debug/boot/kernel: No such file or directory<br> > > > > > *** Error code 71<br> > > > > ><br> > > > > > Stop.<br> > > > > > make[5]: stopped making "install" in /usr/src/sys/modules/usb/mtw<br> > > > > > *** Error code 1<br> > > > > ><br> > > > > > Stop.<br> > > > > > make[4]: stopped making "install" in /usr/src/sys/modules/usb<br> > > > > > *** Error code 1<br> > > > > ><br> > > > > > Stop.<br> > > > > > make[3]: stopped making "install" in /usr/src/sys/modules<br> > > > > > *** Error code 1<br> > > > > > [...]<br> > > > > ><br> > > > > > On a similar box running CURRENT this failure doesn't show up, but the (working) box<br> > > > > > has been updated more often within the past two weeks.<br> > > > > ><br> > > > > > I fear that I might have issued "make delete-old" on the wrong console prior to "make<br> > > > > > installworld", but I do not know wether the failure shown is a typical/well known<br> > > > > > symptome.<br> > > > > ><br> > > > > > Any tips and tricks to fix this nasty failure?<br> > > > > ><br> > > > > > Thanks in advance<br> > > > > ><br> > > > > > o.h.<br> > > > > ><br> > > > > > --<br> > > > > ><br> > > > > > A FreeBSD user<br> > > > > ><br> > > > > ><br> > > > > ><br> > > > > > <br> > > > ><br> > > > > <br> > > ><br> > > ><br> > > > <br> > > <br> > > <br> > > <br> > > -- <br> > > <br> > > A FreeBSD user<br> > > <br> > > <br> > > <br> > > <br> > <br> > <br> <br> <br> <br> -- <br> <br> A FreeBSD user<br> </freebsd-current@freebsd.org></freebsd@walstatt-de.de></ronald-lists@klop.ws></freebsd@walstatt-de.de></freebsd-current@freebsd.org></ronald-lists@klop.ws></freebsd@walstatt-de.de></ronald-lists@klop.ws></div><!-- TextPlainViewer --> <hr> <div class="DefaultViewer do_not_remove"><!-- P.P.P2 --> </div><!-- DefaultViewer --> </div><!-- MultipartMixedViewer --> </div><!-- MessageRFC822Viewer --> </blockquote><br><br><br></body></html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?618457604.2994.1738945130707>
