Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 22:23:51 +0100 (MET)
From:      Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
To:        kpielorz@caladan.tdx.co.uk (Karl Pielorz)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Compiling Kernels on remote machine & using 'wrong' versions
Message-ID:  <199712162123.WAA03783@rvc1.informatik.ba-stuttgart.de>
In-Reply-To: <Pine.BSF.3.96.971216191332.1252A-100000@caladan.tdx.co.uk> from Karl Pielorz at "Dec 16, 97 07:24:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi All,
> 
> A quick question (which may have been better in questions- - but it's
> kinda kernel related)...
> 
> I'm about to start writing a device driver to run under FreeBSD
> 2.2.5-Release - I have 2 machines, 1 very fast (P-Pro 233), and one very
> slow (486-SX 33). The two are linked via NFS etc. To makes things even
> more complex - the fast one is 2.2.2-Release and the slow one is
> 2.2.5-Release ;-)
> 
> Is there an easy way to Use the 'fast' machine to compile Kernels for the slow
> machine (which is fairly quick at NFS) - if so - how? (for example the
> slow machine appears as:
> 
> /home/phoenix/root
> /home/phoenix/usr
> /home/phoenix/usr2
> /home/phoenix/var

Just build the kernel in /home/phoenix/usr/src/sys/compile/<KERNELNAME>.
AFAIK, the sources below the usr/src/sys directory are used exclusively for
the kernel, regardless of the pathname of this directory.
You have to use the config(8) program from the target (i. e. slow) machine,
because the release of config and kernel sources should match.

> Final question - I accidentally booted the 2.2.5 system with a 2.2.2
> kernel - it boots OK, and seems to run OK (yes, I can hear the screams of
> 'Noooohhh!!' from here) - but is it really that bad - considering I don't

I don't here nothing :-) The 2.2.x releases are supposed to be
stable, i. e. in theory only bugfixes should make the difference
between 2.2.2 and 2.2.5 .  But ... running  a 2.2.2 kernel on a
2.2.5 machine is not tested very well, so your milage may vary.

> really care about the fate of the slow 2.2.5 machine? - That way I can
> keep all my stuff on the 2.2.2 machine (which is nicely, safely stable &
> remote) - and just run the 2.2.5 on 2.2.2 kernels...

Fine, go ahead.

Wolfgang



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