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

From: Christian Hiris <4711_at_chello.at>
Date: Tue, 24 Aug 2004 22:01:50 +0200
On Tuesday 24 August 2004 18:47, Ruslan Ermilov wrote:
> 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.

They run same arch and CPU, but I'm sure  __FreeBSD_version was different. The 
building hosts userland was on  __FreeBSD_version 503000 and the target host 
somewhere around 502nnn (May, 23th 2004).

> >
> > 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

I forgot about the -DALWAYS_CHECK_MAKE flag, now i remeber it... Thanks! 

> > , 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.

Yes,I know that there are no guarantees, but it's a fast and easy to configure 
way to keep track on multiple machines. 

Cheers,
ch

-- 
Christian Hiris <4711_at_chello.at> | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu

Received on Tue Aug 24 2004 - 18:02:04 UTC

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