From owner-freebsd-questions Fri Apr 26 5:59:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 9857437B41D for ; Fri, 26 Apr 2002 05:59:14 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id FAA12436; Fri, 26 Apr 2002 05:59:10 -0700 Message-ID: <3CC94F1D.4070103@owt.com> Date: Fri, 26 Apr 2002 05:59:09 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: "Kohler, Raymond J" Cc: Noel Balansag , questions@FreeBSD.ORG Subject: Re: compiling new kernel References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kohler, Raymond J wrote: >>-----Original Message----- >>From: Kent Stewart [mailto:kstewart@owt.com] >>Sent: Friday, April 26, 2002 8:37 AM >>To: Noel Balansag >>Cc: questions@FreeBSD.ORG >>Subject: Re: compiling new kernel >> >> >> >> >>Noel Balansag wrote: >> >> >>>hello all. >>> >>>newbie question. >>> >>>i just upgraded my machine to -p4, no problems whatsoever. >>> >>but, i need to >> >>>rebuild my kernel, enable IPDIVERT and IPFIREWALL. and i >>> >>followed the >> >>>handbook and deleted /usr/obj w/o first checking ( stupid >>> >>me ). it was then >> >>>that i saw that the path of the new GENERIC kernel is through >>>/usr/obj/usr/src.... >>> >>>question, where do i find the new generic kernel? can i >>> >>undelete the whole >> >>>/usr/obj directory? or do i have to start the whole upgrade >>> >>process again? >> >> >>It depends on how far you got into updating your system. If you >>finished buildworld, build[install]kernel, and installworld, you can >>use the config way of building a kernel. A buildkernel depends on a >>populated /usr/obj. >> > > > This is not true. make buildkernel can be done with an empty /usr/obj. You are right. I just tried a buildkernel after rm -rf of /usr/obj/usr. You used to get funny assembly errors but my mkkernel script had no problems building a new kernel. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message