Moving from 3.4 to -STABLE?

Neil Ford neil at ourshack.com
Mon May 7 21:41:15 BST 2001


On Mon, May 07, 2001 at 01:13:50PM +0100, Josef Karthauser wrote:
> On Mon, May 07, 2001 at 01:06:08PM +0100, Neil Ford wrote:
> > Okay, details first;
> > Machine in question is a Toshiba Libretto 50CT currently with 3.4 installed
> > (from a CD set, which I still have).
> > 
> > /usr/src is empty :-( Currently running a generic kernel.
> > 
> > No CD drive, 2 PCMCIA slots, working 3Com networking card, PCMCIA floppy (not
> > sure if it's supported), 56K surftime dial-up internet connection. 3 other
> > machines in the house running various incarnations of -STABLE.
> > 
> > cvsup not installed :-( Doh!
> > 
> > My normal update method is build a custom kernel (or at least a copy of GENERIC
> > suitably named), grab the latest sources and do the build world dance.
> > However that's usually on machines with some version of 4 installed and with
> > CD drives.
> > 
> > What's the best way for me to proceed with this machine? Can I safely install
> > cvsup (by grabbing the pkg maybe), grab the latest sources, create a custom
> > kernel file (but not build it) and then do the build world process? Will I hit
> > any problems?
> 
> The think to remember is the sequence is slightly different for a 3.x ->
> 4.x transition.
> 
> I'd go to 4.1 first, unless you're doing a binary upgrade.
> 
> # cvsup releng_4_1_0_release-supfile
> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel
> # reboot
> # cd /usr/src
> # make installkernel
> 
> You _must_ be running on a 4.x kernel _before_ doing the installworld.
> There are some non-backward compatible ABI changes between userland and
> the kernel.
> 
> Joe

Thanks for that Joe, much appreciated.

A couple of quick questions though:

I normally provide KERNEL=<custom_kernel_name> after the make buildkernel, am
I right in assuming if you don't provide this it builds GENERIC.

Should the second make installkernel actually be the make installworld or do I
really have to build the kernel twice?

If all goes smoothly then there should be yet another machine to play with at
the weekend, assuming the P75 in the Libretto doesn't mean it's still compiling
next Saturday :-)

Neil.
-- 
Neil C. Ford
Managing Director, Yet Another Computer Solutions Company Limited
neil at yacsc.com - http://www.yacsc.com




More information about the Ukfreebsd mailing list