From owner-freebsd-questions Wed Jan 17 20:20:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from level3.dynacom.net (level3.dynacom.net [206.107.213.213]) by hub.freebsd.org (Postfix) with SMTP id 312F137B400 for ; Wed, 17 Jan 2001 20:20:03 -0800 (PST) Received: (qmail 15515 invoked by uid 0); 18 Jan 2001 04:20:02 -0000 Received: from unknown (HELO urx.com) (206.159.132.160) by mail.urx.com with SMTP; 18 Jan 2001 04:20:02 -0000 Message-ID: <3A666EF1.A45F5452@urx.com> Date: Wed, 17 Jan 2001 20:20:01 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: anthony Cc: Bill Moran , freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD4.2-RELEASE kernel rebuilding errors References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG anthony wrote: > > > > > Prior to doing it via /usr/src's Makefile, I config'd and > > > > made it manually via /usr/src/sys/compile/APRYAN. 'APRYAN' > > > > being the kernel config. > > > > > > > > Since the kernel obviously didnt install via 'make buildkernel', > > > > would the manual way of doing it work? Would I have to recompile > > > > the modules as well? > > > > Thanks in advanced. > > > > -anthony > > > > ERRORS (after the wi install from 'make buildkernel'): > .. > > > > > > Typical message from doing a buildkernel with out doing a buildworld > > > first. Buildkernel depends on /usr/obj being populated by the > > > buildworld. > That makes sense. > > > > Would it compile fine by using the handbook method (config, make depend, > > make?) without /usr/obj being populated?? > > Yes, which I refered to as doing it 'manually'. The kernel > installed fine, just hoping it wont core on reboot. Does > 'make buildkernel' update or install anything other then > the kernel itself? > -anthony Josh's comments covers it. If you haven't upgraded your sources, the old way is the way to go. I keep seeing these masochistic people that do "config -r"'s when they don't need to. I also won't to know if you need to do a clean and will run the config -r when things break. If you have cvsuped 4-stable, then you are safer using the method in /usr/src/UPDATING. The buildkernel method is designed to walk you though a system change that requires a crossbuild. The transition from 4.0 to 4.1 was such a situation. I will occur again when gcc++ moves to the next version. The config method probably won't work then either. Since then, that hasn't been a problem; however, I really don't like doing an installworld until I have a kernel built. So, I simply created a script that did all of the steps except running mergemaster. I usually time it to see how long it takes and when it finishes I run mergemaster manually. Kent > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message