From owner-freebsd-doc Mon Mar 20 15:50: 7 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 26E2A37BD1D for ; Mon, 20 Mar 2000 15:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA23365; Mon, 20 Mar 2000 15:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from maild.telia.com (maild.telia.com [194.22.190.3]) by hub.freebsd.org (Postfix) with ESMTP id 9C49637BB4A for ; 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 Reply-To: Palle Girgensohn To: FreeBSD-gnats-submit@freebsd.org Cc: imp@village.org X-Send-Pr-Version: 3.2 Subject: docs/17518: Please update the UPDATING document Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17518 >Category: docs >Synopsis: Please update the UPDATING document >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 20 15:50:01 PST 2000 >Closed-Date: >Last-Modified: >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 + 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 [*] reboot 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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message