From nobody Sat Feb 8 19:13:10 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 4Yr0r50bSVz5n4LV for ; Sat, 08 Feb 2025 19:13:57 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (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 4Yr0r36q0qz3qKc for ; Sat, 08 Feb 2025 19:13:55 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=oPCNIy8T; spf=pass (mx1.freebsd.org: domain of freebsd@walstatt-de.de designates 2001:1640:5::8:30 as permitted sender) smtp.mailfrom=freebsd@walstatt-de.de; dmarc=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 14EF6240AF1; Sat, 8 Feb 2025 20:13:49 +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 31709240195; Sat, 8 Feb 2025 20:13:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1739042027; 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=FB37gPbWSSvJ8oQ/g3pgJVYmHOq11eCK3rUNLymB3SE=; b=oPCNIy8TzcaM6yjw0T0DY9qH0BpY1L+03KCEU3qWtkZVF6UaBkTCIzzHfyK25lcwXAEFG2 x4XQKVNbcVy6NCvDgTL5SXmSV5AJgy/zWNMfuAhWkPShW0HAabbdasCrbHI3sebxwEVxcS NH7FgQUm4EPNcvwhdxIe/8sla+7XjA963MswCnylCVisXnVpiavkT+rZH/tJhFfLnuaJSw vj89N2Us610BFq3xDeLBJSf4T5C0qAcg9L5QYmgygnsXacSv/ITmWPaf7v0U3MYxOax49o eGdrum3+9TDhP75xFcIAMDw+XQfsdm0jW1l0QBqMdeE5p0aAiiF0xrLY6Y/NTg== Received: from thor.sb211.local (dynamic-2a02-3100-2204-f802-0512-47e2-4ce8-b433.310.pool.telefonica.de [IPv6:2a02:3100:2204:f802:512:47e2:4ce8:b433]) (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 D053F240031; Sat, 8 Feb 2025 20:13:46 +0100 (CET) Date: Sat, 8 Feb 2025 20:13:10 +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: <20250208201337.55bd5885@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_/2IvZAWbNOnMlYxmLx1y90Vw"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: e02160 X-Rspamd-UID: 8edd82 X-Spamd-Result: default: False [-5.70 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1640:5::8:0/112]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1640:5::8:30:from]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[walstatt-de.de]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[walstatt-de.de:+] X-Spamd-Bar: ----- X-Rspamd-Queue-Id: 4Yr0r36q0qz3qKc --Sig_/2IvZAWbNOnMlYxmLx1y90Vw 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 >=20 >=20 > Maybe something is not compatible with your NODEBUG settings.=20 Problem has been solved with git: 2be8b121bf82 - main - mtw(4) remove misplaced DEBUG_FLAGS >=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_/2IvZAWbNOnMlYxmLx1y90Vw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ6es4gAKCRCxzvs8Oqok r0TiAP47ifSsg2oiK9032lnETTYd86GsWkVJ9PTZBEBo9fy5DAD+OOFalySv6gew SNzXoKc+5uzdstfUf6YAM4Rg2y+1cw0= =yQYR -----END PGP SIGNATURE----- --Sig_/2IvZAWbNOnMlYxmLx1y90Vw--