From owner-freebsd-questions@FreeBSD.ORG Tue May 9 11:08:35 2006 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 B8AAD16A425 for ; Tue, 9 May 2006 11:08:35 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 452B843D77 for ; Tue, 9 May 2006 11:08:35 +0000 (GMT) (envelope-from subhro.kar@gmail.com) Received: by nz-out-0102.google.com with SMTP id l1so1434287nzf for ; Tue, 09 May 2006 04:08:34 -0700 (PDT) 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=nNOzLxmaO0ZwjiiccJ9cFdCmfXsimYxKhvcNPvC0gFr297q3K8mVcRvk8ldYYzN8w3ZMXNYf/cvAogN37iJSDEYAx/E7nfEID4vRt5SsD5D25jwP8IUH3icfgoL04YX4R/pZvsbrVbZ/yHgpSm1uuaUltgqTy3ShjiTGfsBEXjY= Received: by 10.65.147.11 with SMTP id z11mr1616755qbn; Tue, 09 May 2006 04:08:34 -0700 (PDT) Received: by 10.65.250.20 with HTTP; Tue, 9 May 2006 04:08:34 -0700 (PDT) Message-ID: Date: Tue, 9 May 2006 16:38:34 +0530 From: Subhro To: "Ben Hacker Jr" In-Reply-To: <4460757B.5030107@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4460757B.5030107@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Upgrade 5.4 - 6.0 errors. 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: Tue, 09 May 2006 11:08:39 -0000 On 5/9/06, Ben Hacker Jr wrote: > Is there a way to clean out my /usr/src directory and start from scratch > in case it is corrupted some how?? rm -rf /usr/src/* > > $ su root -c "make kernel KERNCONF=3DHACK06" The correct command is make buildkernel KERNCONF=3DHACK06 and not make kernel You need to read the handbook :-) > > Manually attempting to build my kernel will yield the following: > > hackserver$ su root > Password: > hackserver# pwd > /usr/src/sys/i386/conf > > hackserver# config HACK06 > ERROR: version of config(8) does not match kernel! > config version =3D 500013, version required =3D 600003 This is a deprecated method. Not a good idea to try out. :-) Thanks and Best Regards Subhro -- Subhro Kar Security Engineer iViZ Techno Solutions Pvt. Ltd. eRevMax House, 1st Floor Plot XI-16, Sector V Salt Lake City 700091 India