From girgen@partitur.se  Mon Mar 20 15:40:09 2000
Return-Path: <girgen@partitur.se>
Received: from maild.telia.com (maild.telia.com [194.22.190.3])
	by hub.freebsd.org (Postfix) with ESMTP id 9C49637BB4A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Mar 2000 15:39:58 -0800 (PST)
	(envelope-from girgen@partitur.se)
Received: from d1o90.telia.com (d1o90.telia.com [195.67.216.241])
	by maild.telia.com (8.9.3/8.9.3) with ESMTP id AAA13236;
	Tue, 21 Mar 2000 00:39:40 +0100 (CET)
Received: from stordatan.telia.com (t2o90p43.telia.com [195.67.216.163])
	by d1o90.telia.com (8.8.8/8.8.8) with ESMTP id AAA15398;
	Tue, 21 Mar 2000 00:39:30 +0100 (CET)
Received: (from girgen@localhost)
	by stordatan.telia.com (8.9.3/8.9.1) id AAA07702;
	Tue, 21 Mar 2000 00:39:04 +0100 (CET)
	(envelope-from girgen@partitur.se)
Message-Id: <200003202339.AAA07702@stordatan.telia.com>
Date: Tue, 21 Mar 2000 00:39:04 +0100 (CET)
From: Palle Girgensohn <girgen@partitur.se>
Reply-To: Palle Girgensohn <girgen@partitur.se>
To: FreeBSD-gnats-submit@freebsd.org
Cc: imp@village.org
Subject: Please update the UPDATING document
X-Send-Pr-Version: 3.2

>Number:         17518
>Category:       docs
>Synopsis:       Please update the UPDATING document
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 20 15:50:01 PST 2000
>Closed-Date:    Wed May 17 18:33:25 MDT 2000
>Last-Modified:  Wed May 17 18:34:15 MDT 2000
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
Partitur
>Environment:
Updating from version 3.x to version 4.
	

>Description:
The UPDATING document in the src dir need a few more
lines to prevent problems.

	To build a kernel
	-----------------
	Update config, genassym and go:
		cd src/usr.bin/genassym
		make depend all install clean
		cd ../../usr.sbin/config
		make depend all install clean
		cd ../../sys/i386/conf

+ Before config can run, it needs to find a libc.so.4 to link with. I
  did this by setting LD_LIBRARY_PATH to /usr/obj/usr/src/lib/libc,
  but there are many other ways.

		config YOUR_KERNEL_HERE
		cd ../../compile/YOUR_KERNEL_HERE
		make depend && make
		make install


	To update from 3.x to 4.0 stable
	--------------------------------
	cd /usr/src
	make buildworld
	cd sbin/mknod
	make install
	<follow directions to build/install a kernel>

+ also, kld modules need to be installed, especially if you're using
  vinum! cd sys/modules && make install is one way to go, but perhaps
  copying the old ones somewhere safe first is a good idea

	<follow rebuild disk /dev entries above>	[*]
	reboot
	<in single user>
	cd /usr/src

+ a make test here is a very good idea. If the user (like I did on one
  of my machines) forgets to remove the /etc/rc.conf.local, the make
  binary will get installed first of all, and since it cannot run
  without the new libc, thing will come to a prompt halt. make will
  not run again until you get libc.so.4 in your ld path.

	make -DNOINFO installworld
	make installworld


>How-To-Repeat:

Get a 3.x installation preferrably with vinum volume
management. Follow the UPDATING document when updating to version 4.

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->imp 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Mar 22 05:08:30 PST 2000 
Responsible-Changed-Why:  
Over to UPDATING's maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Wed May 17 18:33:25 MDT 2000 
State-Changed-Why:  
I've updated things with this info. 

>Unformatted:
