Re: Upgrade to 5.3-BETA1: make installkernel - Stop in /usr/src/sys/modules

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Tue, 24 Aug 2004 19:47:01 +0300
On Tue, Aug 24, 2004 at 07:44:42PM +0300, Ruslan Ermilov wrote:
> On Tue, Aug 24, 2004 at 04:40:58PM +0200, Christian Hiris wrote:
> > When i upgraded one of my systems from
> > 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat May 29 14:14:06 CEST 2004     
> > admin_at_matrix010.matrix.net:/usr/obj/usr/src/sys/MATRIX001  i386
> > to 
> > 5.3-BETA1 FreeBSD 5.3-BETA1 #0: Mon Aug 23 16:30:40 CEST 2004     
> > admin_at_matrix010.matrix.net:/usr/obj/usr/src/sys/MATRIX001  i386
> > "make installkernel" fails during module installation.  
> > 
> > The directories /usr/src and /usr/obj were NFS-mounted on this machine.  
> > 
> We don't, strictly speaking, support this type of installation.
> We only support it if build host *exactly* matches the install
> host, read: it's the same arch, CPU, and it's running the same
> __FreeBSD_version world and kernel.
> 
> What happens here is that your build machine has newer make(1)
> binary that understand the `+' modifier.  The install machine
> has an older make(1).  You can try to overcome this problem
> by doing: make installkernel -DALWAYS_CHECK_MAKE, but: no
> guarantees it will work (I don't know how different your build
> and install hosts are), and you'll have to mount /usr/obj
> read-write, for this to work.
> 
I forgot to mention what we *do* support.  We support NFS
mounting remote /, /usr, and /var partitions, and doing an
installworld/installkernel with DESTDIR pointing to NFS
mounts.  This will result in missing file flags (NFS does
not support them), but otherwise it's what we actually
support: host doing build is the host doing an install.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Tue Aug 24 2004 - 14:47:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC