From owner-freebsd-questions Fri Apr 26 22:25:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.arnet.com.ar (smtp1.arnet.com.ar [200.45.191.6]) by hub.freebsd.org (Postfix) with SMTP id 88DE737B400 for ; Fri, 26 Apr 2002 22:25:53 -0700 (PDT) Received: (qmail 22474 invoked from network); 27 Apr 2002 05:12:49 -0000 Received: from host000004.arnet.net.ar (HELO mail1.arnet.com.ar) (200.45.0.4) by smtp1.arnet.com.ar with SMTP; 27 Apr 2002 05:12:49 -0000 Received: from mail pickup service by mail1.arnet.com.ar with Microsoft SMTPSVC; Sat, 27 Apr 2002 02:05:46 -0300 Received: from mx2.arnet.com.ar ([200.45.0.3]) by mail1.arnet.com.ar with Microsoft SMTPSVC(5.5.1877.677.67); Fri, 26 Apr 2002 10:02:21 -0300 Received: from smtp-mx-03.arnet.com.ar ([200.45.48.22]) by mx2.arnet.com.ar with Microsoft SMTPSVC(5.5.1877.357.35); Fri, 26 Apr 2002 09:59:27 -0300 Received: from rutger.owt.com ([204.118.6.16]) by smtp-mx-03.arnet.com.ar with Microsoft SMTPSVC(5.0.2195.4905); Fri, 26 Apr 2002 09:56:35 -0300 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"@FreeBSD.ORG 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 X-OriginalArrivalTime: 26 Apr 2002 12:56:36.0218 (UTC) FILETIME=[CC685DA0:01C1ED21] 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