From nobody Fri Feb 07 16:12:08 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 4YqJsT69jKz5mQFT for ; Fri, 07 Feb 2025 16:12:45 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YqJsT5BFmz3glV for ; Fri, 07 Feb 2025 16:12:45 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub1.goneo.de (hub1.goneo.de [85.220.129.52]) (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 smtp6.goneo.de (Postfix) with ESMTPS id CA4DE240F3B; Fri, 7 Feb 2025 17:12:43 +0100 (CET) Received: from hub1.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 hub1.goneo.de (Postfix) with ESMTPS id 3B3F92405D8; Fri, 7 Feb 2025 17:12:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1738944762; 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=/1ZnFZHQUpTrOAnJnrgci9138Bx9WQcZL88BZQROy5s=; b=N2pFLPppX2/nXjQWBO+dKkaYI6eJ+WiGi9l2aXlscXIRWL4wAf4apxw+D+PtWg7jS62+Lf R7mia84DBCabvQe4SakqbQ9iAbZ/2bHvunT2PX663574kzsPYJsJ3qdkHzRfttnfXiGgeU PsivJJGJmGqDPvmJE9J/8kp7fKcDHfQaa7Zm6IizGYLKJN0KlT0ruxtLthzWGwi6kSzScw xO6906SMJphj2tubNjrcNEXH4wtKE0LnB4cxSaR1NRgXhG9h4gJTrrV6tuBAy8yitR/vnc RlDSOAQDYJS1UzKl5lLYkUiYLYWtDFDmsv9RW4NYOyrPYXfagg8H8IK9iLM+Qw== Received: from thor.sb211.local (dynamic-2a02-3100-2517-1902-c80c-1bcb-ce5a-de38.310.pool.telefonica.de [IPv6:2a02:3100:2517:1902:c80c:1bcb:ce5a:de38]) (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 hub1.goneo.de (Postfix) with ESMTPSA id DA2982404BC; Fri, 7 Feb 2025 17:12:41 +0100 (CET) Date: Fri, 7 Feb 2025 17:12:08 +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: <20250207171235.1c3e3507@thor.sb211.local> In-Reply-To: <1206160507.3283.1738943610064@localhost> References: <20250207135556.0318bab1@thor.sb211.local> <985946155.263.1738933704535@localhost> <20250207144321.5409c258@thor.sb211.local> <20250207164741.0c98a45c@thor.sb211.local> <1206160507.3283.1738943610064@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_/aZ/8VBDE_KCcneCH42iRIXK"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 1d7121 X-Rspamd-UID: 44ac86 X-Rspamd-Queue-Id: 4YqJsT5BFmz3glV 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_/aZ/8VBDE_KCcneCH42iRIXK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Fri, 7 Feb 2025 16:53:30 +0100 (CET) Ronald Klop schrieb: > What is in your /etc/make.conf and /etc/src.conf? >=20 > Regards, > Ronald. Remark:=20 I use on all CURRENT boxes a special scheme for configuring the kernel/worl= d. The kernel config files are located in /etc/config/amd64/kernel_conf/, the kernel conf= ig 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=3DYES makeoptions \ WITH_EXTRA_TCP_STACKS=3DYES,WITH_MALLOC_PRODUCTION=3DYES,-DWITH_MALLOC_PROD= UCTION ident WALHALL [...] NODEVICE-WALHALL: mostly GENERIC, but unwanted and unneeded options prepend= ed 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. In ADDON-XXXXX there are several non-optional devices/options in place. I realised in my initial post this: > > > > > =3D=3D=3D> usb/mtw (install) =20 > > > > > install -T release -o root -g wheel -m 444 if_mtw.ko /boot/kern= el/ > > > > > 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 instal= l 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 sever= al ports (options). No world settings. /etc/src.conf is : # 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 KERNCONF=3D WALHALL KERNCONFDIR=3D /etc/config/amd64/kernel_conf/ >=20 > =20 > 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 > >=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 vanish e= ach time I start > > > "make installkernel" or "make kernel" (or with "-j8" for parallel ins= tall ...). > > > > > > I've issued newly "make cleanworld" and "make cleandir" additionaly a= nd 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 =20 > >=20 > >=20 > > No luck! After a complete fresh buildworld/buildkernel, the failure is = persistant. > >=20 > > =20 > > > > > > > > =20 > > > > Van: A FreeBSD User > > > > Datum: vrijdag, 7 februari 2025 13:56 > > > > Aan: FreeBSD CURRENT > > > > Onderwerp: make installkernel: failure: install: /usr/lib/debug/boo= t/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 C= ET 2025 amd64 > > > > > > > > > > Trying to rebuild (from clean/scratch after "make cleanworld") an= d 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 /bo= ot/kernel/ =20 > > > > > =3D=3D=3D> usb/mtw (install) =20 > > > > > install -T release -o root -g wheel -m 444 if_mtw.ko /boot/kern= el/ > > > > > 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, bu= t 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 co= nsole prior to "make > > > > > installworld", but I do not know wether the failure shown is a ty= pical/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 A FreeBSD user --Sig_/aZ/8VBDE_KCcneCH42iRIXK Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ6Yw8wAKCRCxzvs8Oqok r/QbAQDl0kW8RUVf02koGqnePtSvtLU/ZG2Xqutp1SDT8QQhUQEAwfEBhrjmcT0I kW1KONyaKQu3afhcaW7lhl5O2SaTsAo= =tznM -----END PGP SIGNATURE----- --Sig_/aZ/8VBDE_KCcneCH42iRIXK--