Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2025 17:21:55 +0100
From:      A FreeBSD User <freebsd@walstatt-de.de>
To:        Ronald Klop <ronald-lists@klop.ws>
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:  <20250207172222.16703b74@thor.sb211.local>
In-Reply-To: <20250207164741.0c98a45c@thor.sb211.local>
References:  <20250207135556.0318bab1@thor.sb211.local> <985946155.263.1738933704535@localhost> <20250207144321.5409c258@thor.sb211.local> <20250207164741.0c98a45c@thor.sb211.local>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Am Fri, 7 Feb 2025 16:47:14 +0100
A FreeBSD User <freebsd@walstatt-de.de> schrieb:

> Am Fri, 7 Feb 2025 14:45:04 +0100
> A FreeBSD User <freebsd@walstatt-de.de> schrieb:
> 
> > Am Fri, 7 Feb 2025 14:08:24 +0100 (CET)
> > Ronald Klop <ronald-lists@klop.ws> schrieb:
> >   
> > > Does it work if you just do
> > > 
> > > mkdir -p /usr/lib/debug/boot/kernel/

By the way: shouldn't mtree() create missing folders on demand or when not exitent during
install?

I have a feeling, apart from the fact that the install process tries to install "debug" files
(-T dbg, althoug debug should be disabled globally: install -T dbg -o root -g wheel -m 444
if_mtw.ko.debug /usr/lib/debug/boot/kernel/) that my mtree templates could be corrupted during
an incomplete etcupdate run ...?

> > > 
> > > 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 <freebsd@walstatt-de.de>
> > > Datum: vrijdag, 7 februari 2025 13:56
> > > Aan: FreeBSD CURRENT <freebsd-current@freebsd.org>
> > > 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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ6YzPgAKCRCxzvs8Oqok
r2GsAP9aXHHGHM2+3ArL7tKdzO2Bk2dyLXgLoz7unANwiN0CnwEAkhgJDqwOfUdi
e/6DS8hXzGyMhCXKQ/kEuP06QyFcMgI=
=cGMs
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250207172222.16703b74>