Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 16:38:34 +0530
From:      Subhro <subhro.kar@gmail.com>
To:        "Ben Hacker Jr" <strbenjr@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgrade 5.4 - 6.0 errors.
Message-ID:  <b2807d040605090408g6688b254w6d158154120b3761@mail.gmail.com>
In-Reply-To: <4460757B.5030107@yahoo.com>
References:  <4460757B.5030107@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/9/06, Ben Hacker Jr <strbenjr@yahoo.com> 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/*

<snip>

>
>     $ 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 :-)

<snip>

>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b2807d040605090408g6688b254w6d158154120b3761>