From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 09:42:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34E5E16A41F for ; Wed, 21 Dec 2005 09:42:18 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 347A043D5E for ; Wed, 21 Dec 2005 09:42:14 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so69966wxc for ; Wed, 21 Dec 2005 01:42:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NYPA+txh8mn7VyMw8Prs6JMpzXbar4tsB13qb9deFvzen6blnDniGX/uUvAczJOS/tPvhqMXEgks+AXZLJ5JmnVTEjataFMznaISVs4uZdscdBcI47dWoj7o2AZVY9+Dtj1jLkobmrKXIhp5yRu2fDMiCVVLBYPbHUt03O+ihN4= Received: by 10.70.97.9 with SMTP id u9mr563579wxb; Wed, 21 Dec 2005 01:42:12 -0800 (PST) Received: by 10.70.66.9 with HTTP; Wed, 21 Dec 2005 01:42:12 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2005 03:42:12 -0600 From: Nikolas Britton To: "Jeff D. Hamann" In-Reply-To: <001701c605ee$390df850$0a00a8c0@mothra> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000d01c6052e$f0d715e0$0a00a8c0@mothra> <001701c605ee$390df850$0a00a8c0@mothra> Cc: keramida@ceid.upatras.gr, freebsd-questions@freebsd.org Subject: Re: getting an old server up to scratch... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 09:42:18 -0000 On 12/20/05, Jeff D. Hamann wrote: > This is the result after a cvsup attempt using the following cvsupfile: > > stimpy# cd /etc > stimpy# cat cvsupfile > *default host=3Dcvsup5.FreeBSD.org > *default base=3D/usr > *default prefix=3D/usr > *default release=3Dcvs > *default tag=3DRELENG_4 > *default delete use-rel-suffix > *default compress > src-all > *default tag=3D. > ports-all > doc-all > stimpy# > > > stimpy# make buildkernel KERNCONF=3DMYKERNEL > > -------------------------------------------------------------- > >>> Kernel build for MYKERNEL started on Tue Dec 20 21:18:33 PST 2005 > -------------------------------------------------------------- > =3D=3D=3D> MYKERNEL > mkdir -p /usr/obj/usr/src/sys > cd /usr/src/sys/i386/conf; > PATH=3D/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/= obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > config -d /usr/obj/usr/src/sys/MYKERNEL /usr/src/sys/i386/conf/MYKERNEL > ERROR: version of config(8) does not match kernel! > config version =3D 400018, version required =3D 400019 > > Make sure that /usr/src/usr.sbin/config is in sync > with your /usr/src/sys and install a new config binary > before trying this again. > > If running the new config fails check your config > file against the GENERIC or LINT config files for > changes in config syntax, or option/device naming > conventions > > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > stimpy# > Slow down bud, your doing to many things at the same time and missing critical steps. Lets start from the top. Your sup file should look like this: *default host=3Dcvsup5.us.FreeBSD.org *default base=3D/usr *default prefix=3D/usr *default release=3Dcvs tag=3DRELENG_4_11 *default delete use-rel-suffix *default compress src-all Normally you have at least two sup files, one for the system and the other(s) for everything else. After you re-cvsup you need to buildworld, not the kernel. here are the general steps: 1. build world. 2. build kernel, use the generic kernel!!!!!! 3. install kernel. 4. reboot. 5. do a basic test of the system. if basic things such as; ls, cd, more, and grep work then... 6. drop into single user mode ('shutdown now') 7. install world. 8. run mergemaster. 9. reboot. 10. Test out new system. 11. make and install your custom kernel, don't use your old custom config file, make a new one based on the, new, generic kernel config file!! 12. cvsup ports src. 13. update / install new ports. Read the following for the details: http://www.freebsd.org/releng/ http://www.freebsd.org/doc/en/books/handbook/synching.html http://www.freebsd.org/doc/en/books/handbook/cvsup.html http://www.freebsd.org/doc/en/books/handbook/makeworld.html http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html http://www.freebsd.org/doc/en/books/handbook/ports.html