From nobody Fri Feb 07 16:51:46 2025 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 4YqKl65M2qz5mTHs for ; Fri, 07 Feb 2025 16:52:18 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp052.goneo.de [85.220.129.60]) (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 4YqKl63Rfmz3v8w for ; Fri, 07 Feb 2025 16:52:18 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub2.goneo.de (hub2.goneo.de [85.220.129.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 7F53E240E41; Fri, 7 Feb 2025 17:52:16 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id A2BC7240514; Fri, 7 Feb 2025 17:52:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1738947134; 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: in-reply-to:in-reply-to:references:references; bh=tpBC8/gJV2UDGYMkq3Qoc5hPl+Vdd6NLssKc1Cno4eI=; b=JNvRa3YHH/LVURsPev/aeGvFnQYucjKbiG5pgzr7g2TbbcF16LAbWe3eqnj8xVZdu/G0hK IHBza0a5RucUv3z1btr42OZ98AP78Wj1VzolObhZEqZYwA5S6wJFT7ybxCk5sx3XqFUMbv UJcbfIf+2ImKzM3SfFPVWJEGWiCWmzUFSc0SSTKtO98jJxVJclBc++9iKSilHp2j5XFBvx IXBjmwGxKjnlQbtagLJSbfn0WL3I28AAc25Js1pKMvo9lmpBTAH3nZ9VE7o3vz71F+RNkB F0R9MOx8r4mPYsmSl/ycipqc+CtpfGBLcyZWUn52MvnreHnhiLtcG+YEnIMUwQ== Received: from thor.sb211.local (dynamic-2a02-3100-28ef-8502-f18f-a6e8-96c2-dbc1.310.pool.telefonica.de [IPv6:2a02:3100:28ef:8502:f18f:a6e8:96c2:dbc1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 4C63B2403AB; Fri, 7 Feb 2025 17:52:14 +0100 (CET) Date: Fri, 7 Feb 2025 17:51:46 +0100 From: A FreeBSD User To: Ronald Klop Cc: FreeBSD CURRENT Subject: Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such file or directory Message-ID: <20250207174309.6c0f7022@thor.sb211.local> In-Reply-To: <618457604.2994.1738945130707@localhost> References: <20250207171235.1c3e3507@thor.sb211.local> <618457604.2994.1738945130707@localhost> 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; boundary="Sig_/925nX6sI.hxrezPLuT.KnH3"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: af8f87 X-Rspamd-UID: e9372e X-Rspamd-Queue-Id: 4YqKl63Rfmz3v8w X-Spamd-Bar: ---- 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:25394, ipnet:85.220.128.0/17, country:DE] --Sig_/925nX6sI.hxrezPLuT.KnH3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Fri, 7 Feb 2025 17:18:50 +0100 (CET) Ronald Klop schrieb: > Well. This if_mtw code is pretty new: >=20 > https://cgit.freebsd.org/src/commit/?id=3Dc14b016242613da79516e83fc6faef3= 5d827cc18 There is also a manpage for if_mtw(4) missing (man mtw exists, man if_mtw d= oes not), I just filed a PR for that to not forget about it ... ;-) >=20 >=20 > Maybe something is not compatible with your NODEBUG settings. Well, if so, it must be very, very special to that particular machine and d= epending on a tiny detail. As aformentioned, another "sibbling machine", also running most rec= ent CURRENT, but updated (buildworld/buildkernel) within the past two weeks more often does = not show this nasty problem, althoug having the very same setup scheme - except the kernel name= is different (hardware quite the same ancient crap, brand, model ...).=20 This drives me nuts ... >=20 >=20 >=20 > Van: A FreeBSD User > Datum: 7 februari 2025 17:12 > Aan: Ronald Klop > CC: FreeBSD CURRENT > Onderwerp: Re: make installkernel: failure: install: /usr/lib/debug/boot/= kernel: No such > file or directory >=20 > >=20 > >=20 > >=20 > > Am Fri, 7 Feb 2025 16:53:30 +0100 (CET) > > Ronald Klop schrieb: > > =20 > > > What is in your /etc/make.conf and /etc/src.conf? > > >=20 > > > Regards, > > > Ronald. =20 > >=20 > > Remark:=20 > >=20 > > 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 > >=20 > > /etc/config/amd64/kernel_conf/WALHALL (for a certain kernel): > >=20 > > [...] > > include GENERIC > > include NODEVICE-WALHALL > > include "std.nodebug" > > include ADDON-WALHALL > >=20 > > #makeoptions WITH_KERNEL_RETPOLINE=3DYES > > makeoptions=20 > > WITH_EXTRA_TCP_STACKS=3DYES,WITH_MALLOC_PRODUCTION=3DYES,-DWITH_MALLOC_= PRODUCTION > >=20 > > ident WALHALL > > [...] > >=20 > > NODEVICE-WALHALL: mostly GENERIC, but unwanted and unneeded options pre= pended with > > "nooptions", same with devices not needed, prepended with "nodevice". > > Also an exchange/addendum: > > [...]=20 > > # For full debugger support use (turn off in stable branch): > > include "std.nodebug" > > to avoid debugging bloats. > >=20 > > In ADDON-XXXXX there are several non-optional devices/options in place. > >=20 > > I realised in my initial post this: > > =20 > > > > > > > =3D=3D=3D> usb/mtw (install) =20 > > > > > > > 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/kern= el: No such file or > > > > > > > directory *** Error code 71 =20 > >=20 > >=20 > > usb/mtw is the ONLY(!) line in the whole output indicating the debug in= stall of a kernel > > module, although I thought I had all DEBUG stuff disabled. > >=20 > >=20 > > /etc/make.conf: > >=20 > > mostly vanilla, except this last line: > > [...] > > ## > > ## make.conf.local > > ## > > .include "/usr/local/etc/make.conf.local" > >=20 > > In /usr/local/etc/make.conf.local we setup some special treatments of s= everal ports > > (options). No world settings. > >=20 > >=20 > > /etc/src.conf is : > >=20 > > # > > CPUTYPE?=3D native > > # World > > #CFLAGS+=3D -O3 > > # Kernel > > #COPTFLAGS+=3D -O3 > > # > > #CXXFLAGS+=3D -std=3Dc++22 > > # > > WITH_CLANG_EXTRAS=3D YES > > #WITH_LLVM_BINUTILS=3D YES > > # > > WITH_OFED_EXTRAS=3D YES > > # > > #WITH_BSD_GREP=3D YES > > # > > WITH_BEARSSL=3D YES > > # > > WITH_SORT_THREADS=3D YES > > # > > WITH_ZONEINFO_LEAPSECONDS_SUPPORT=3D YES > > # > > WITH_MALLOC_PRODUCTION=3D YES > > # > > WITHOUT_ASSERT_DEBUG=3D YES > > WITHOUT_TESTS=3D YES > > WITHOUT_DEBUG_FILES=3D YES > > # > > WITHOUT_CLEAN=3D YES > > # > > WITHOUT_REPRODUCIBLE_BUILD=3D YES > > # > > WITHOUT_LOADER_PXEBOOT=3D YES > > #PXEBOOT_DEFAULT_INTERP=3D 4th > > LOADERSIZE?=3D 525000 > > # > > WITH_BHYVE_SNAPSHOT=3D YES > > # > > NOINSTALL_DEBUG=3D YES > >=20 > > KERNCONF=3D WALHALL > > KERNCONFDIR=3D /etc/config/amd64/kernel_conf/ =20 > > >=20 > > > =20 > > > Van: A FreeBSD User=20 > > > Datum: vrijdag, 7 februari 2025 16:47 > > > Aan: Ronald Klop=20 > > > CC: FreeBSD CURRENT=20 > > > Onderwerp: Re: make installkernel: failure: install: /usr/lib/debug/b= oot/kernel: No such > > > file or directory =20 > > > >=20 > > > > Am Fri, 7 Feb 2025 14:45:04 +0100 > > > > A FreeBSD User schrieb: > > > > =20 > > > > > Am Fri, 7 Feb 2025 14:08:24 +0100 (CET) > > > > > Ronald Klop schrieb: > > > > > =20 > > > > > > Does it work if you just do > > > > > > > > > > > > mkdir -p /usr/lib/debug/boot/kernel/ > > > > > > > > > > > > and restart the make installkernel? > > > > > > > > > > > > Regards, > > > > > > Ronald. =20 > > > > > > > > > > > > > > > Hello Ronald. > > > > > > > > > > I already did that, but the newly created directory seems to vani= sh each time I start > > > > > "make installkernel" or "make kernel" (or with "-j8" for parallel= install ...). > > > > > > > > > > I've issued newly "make cleanworld" and "make cleandir" additiona= ly and do a > > > > > complete new build - again. It takes a least an hour on my 12 yea= rs old hardware ;-) > > > > > > > > > > Will report in when finished/failes again ... > > > > > > > > > > Kind regards, > > > > > > > > > > Oliver =20 > > > >=20 > > > >=20 > > > > No luck! After a complete fresh buildworld/buildkernel, the failure= is persistant. > > > >=20 > > > > =20 > > > > > > > > > > > > =20 > > > > > > Van: A FreeBSD User=20 > > > > > > Datum: vrijdag, 7 februari 2025 13:56 > > > > > > Aan: FreeBSD CURRENT=20 > > > > > > Onderwerp: make installkernel: failure: install: /usr/lib/debug= /boot/kernel: No > > > > > > such file or directory =20 > > > > > > > > > > > > > > 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: > > > > > > > > > > > > > > [...] =20 > > > > > > > =3D=3D=3D> usb/rsufw/rsurtl8712fw (install) =20 > > > > > > > install -T release -o root -g wheel -m 444 rsu-rtl8712fw.ko= /boot/kernel/ > > > > > > > =3D=3D=3D> usb/mtw (install) =20 > > > > > > > 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/kern= el: 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 wron= g console prior to > > > > > > > "make installworld", but I do not know wether the failure sho= wn is a > > > > > > > typical/well known symptome. > > > > > > > > > > > > > > Any tips and tricks to fix this nasty failure? > > > > > > > > > > > > > > Thanks in advance > > > > > > > > > > > > > > o.h. > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > A FreeBSD user > > > > > > > > > > > > > > > > > > > > > > > > > > > > =20 > > > > > > > > > > > > =20 > > > > > > > > > > > > > > > =20 > > > >=20 > > > >=20 > > > >=20 > > > > --=20 > > > >=20 > > > > A FreeBSD user > > > >=20 > > > >=20 > > > >=20 > > > > =20 > > >=20 > > > =20 > >=20 > >=20 > >=20 > > --=20 > >=20 > > A FreeBSD user > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > =20 --=20 A FreeBSD user --Sig_/925nX6sI.hxrezPLuT.KnH3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ6Y6PQAKCRCxzvs8Oqok r4iVAP9QUH0JRZRRhbPi46Qd2YV95MmuE/3E2eM+GMmbbjCbXwEAu0mGAwucCThX 7mBMFhjbcThCyMoMMf6aHnQ39qTVAQ8= =P3jH -----END PGP SIGNATURE----- --Sig_/925nX6sI.hxrezPLuT.KnH3--