From owner-freebsd-stable Mon Jun 26 20:58: 6 2000 Delivered-To: freebsd-stable@freebsd.org Received: from team7.cba.ualr.edu (team7.cba.ualr.edu [144.167.120.24]) by hub.freebsd.org (Postfix) with ESMTP id 7D86A37BDFD for ; Mon, 26 Jun 2000 20:58:00 -0700 (PDT) (envelope-from joe@team7.cba.ualr.edu) Received: (from joe@localhost) by team7.cba.ualr.edu (8.9.3/8.9.3) id WAA00983; Mon, 26 Jun 2000 22:57:05 -0500 (CDT) (envelope-from joe) Date: Mon, 26 Jun 2000 22:57:05 -0500 From: Joe Royce To: Francisco Reyes Cc: freebsd-stable@freebsd.org Subject: Re: Kernel problem building from 3.4 stable to 4.X stable Message-ID: <20000626225705.A868@team7.cba.ualr.edu> References: <200006270210.WAA27708@sanson.reyes.somos.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006270210.WAA27708@sanson.reyes.somos.net>; from fran@reyes.somos.net on Mon, Jun 26, 2000 at 10:07:24PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 26, 2000 at 10:07:24PM -0400, Francisco Reyes wrote: > On Mon, 26 Jun 2000 23:35:16 +1000 (EST), andrew@ugh.net.au > wrote: > > >On Mon, 26 Jun 2000, Francisco Reyes wrote: > >> When I get to the point of building the kernel I get a number > >> of syntax errors and the last line reports: > >> Specify machine type, e.g. ``machine vax'' > > > >I got this when I accidently cvsuped 3-STABLE rather than 4-STABLE on a > >4.0-RELEASE box. Have you rebuilt config? > > What do you mean by "Have you rebuilt config?" When upgrading from 3.x to 4.0 stable you must rebuild config(8) and genassym(8) prior to rebuilding a new kernel. See below. > I am following the instructions from UPDATING > I am trying to build the new kernel the same way I have built my > previous kernels when staying stable. > > To update from 3.x to 4.0 stable > -------------------------------- > > cd /usr/src > > make buildworld > cd sbin/mknod > make install > cd ../../sys/modules > make install > <---I am there An alternative method of building a kernel is: cd /usr/src/usr.bin/genassym make depend all install clean cd ../../usr.sbin/config make depend all install clean cd ../../sys/i386/conf config YOUR_KERNEL_HERE cd ../../compile/YOUR_KERNEL_HERE make depend && make make install Then continue with the rest of the instructions. HTH, Joe. > > reboot > > cd /usr/src > cd gnu/usr.bin/texinfo/install-info > make install > cd ../../../.. > make installworld > mergemaster > reboot > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message