From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 8 14:27:51 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2A9E16A4CE for ; Mon, 8 Dec 2003 14:27:51 -0800 (PST) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B40F43D28 for ; Mon, 8 Dec 2003 14:27:46 -0800 (PST) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id 17D71A9B1; Mon, 8 Dec 2003 17:27:43 -0500 (EST) Received: by wombat.localnet (Postfix, from userid 1001) id EF1B7B858; Mon, 8 Dec 2003 17:27:42 -0500 (EST) Date: Mon, 8 Dec 2003 17:27:42 -0500 From: Michael Edenfield To: Damian Gerow Message-ID: <20031208222742.GA60526@wombat.localnet> Mail-Followup-To: Damian Gerow , freebsd-hackers@freebsd.org References: <20031206074503.GA73696@siue.dnsalias.net> <20031208174126.GJ82104@sentex.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20031208174126.GJ82104@sentex.net> X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.5.1i cc: freebsd-hackers@freebsd.org Subject: Re: FBSD 5-CURRENT: Kernel Makefile.inc1 Error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 22:27:51 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Damian Gerow [031208 12:43]: > Thus spake Garance A Drosihn (drosih@rpi.edu) [06/12/03 03:31]: > > From the above description, it sounds like you are running > > on a 5.1 system, and you are trying to compile a 5.2 kernel. > > Is this true? > >=20 > > If the system you are on is 5.1, then you are going to have > > to do a 'make buildworld' of the 5.2-source before you can > > do a 'make buildkernel' of a 5.2 kernel. >=20 > It's not clear from what you're saying, but will this cause problems with > the statfs stuff? I've been under the impression that a 5.1->5.2 upgrade > requires me to build and boot a new kernel before I can install a new wor= ld > -- it's not clear if you're saying I need to build /and install/ a new wo= rld > before building a kernel, or if I just need to build world... You basically need to follow the recommended procedure to the letter, as opposed to skipping some of the reboot steps in the middle. with a 5.2 /usr/src: * make buildworld * make buildkernel * make installkernel * reboot to single-user * make installkernel * mergemaster * reboot The issue is, your kernel will continue handing out old file system structures until you reboot with a new one. Rather early in the installworld process, you will stop being able to use fundamental system commands like ls and cp, which expect the new structures. Also, a small number of ports break as well. Between the mergemaster and reboot steps you may wish to rebuild any critical ports. postfix, for example, refuses to start it's smtpd until you rebuild it. Any other ports which behave oddly, particularly those which die with a signal 11, probably need a rebuild. --Mike --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/1PreCczNhKRsh48RAvUaAKDCNs7udGCYaPlRj9mF4TUAcmYk7gCgj9SF 23RShtW2GJauzt0DAAMZhk8= =cZC2 -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--