From owner-freebsd-stable Tue Jul 11 13:26:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by hub.freebsd.org (Postfix) with ESMTP id CBE4037BB5F for ; Tue, 11 Jul 2000 13:26:24 -0700 (PDT) (envelope-from papalia@UDel.Edu) Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by copland.udel.edu (8.9.3/8.9.3) with ESMTP id QAA12655; Tue, 11 Jul 2000 16:26:19 -0400 (EDT) Date: Tue, 11 Jul 2000 16:26:19 -0400 (EDT) From: John To: Christoph Sold Cc: Christoph Sold , Jeff Wyman , freebsd-stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to makeyerkernels In-Reply-To: <396B7FE4.66D8E962@i-clue.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > I'm starting to wonder why people continue to drag this message on, it's > > > > just astounding. > > > > > > > > It's been well explained by many. It should be pretty clear now what you > > > > need to do in order to get a kernel working under the condition that > > > > either you: > > > > > > > > - Are upgrading by source and need to work around older tools that have > > > > not yet been replaced by newly built tools. > > > > > > > > - Are on an established system and simply building a plain old kernel. > > > > > > > > And I agree with others when they say that if you're going to complain > > > > about the process, either you need to understand it better, or contribute > > > > by creating a new, better process. > > > > > > > > What is everybody else missing? > > > > > > It is neither explained in /usr/src/UPDATING, nor in the above HEADS UP > > > message. > > > > > > A clear explanation, including all steps, would be helpful. The step > > > missing from the original HEADS UP is you have to move kernel.GENERIC to > > > kernel BEFORE you reboot. This is not done automatically for you. > > > > > > Just my .02 Euro > > > -Christoph Sold > > > > It doesn't include a list of detailed information, but an exact copy of the > > procedure actually *is* in /usr/src/UPDATING, including the need to > > move the kernel from /YOURNAME to /kernel and how to do it. If it > > wasn't for this info, I know I wouldn't have been able to build a new > > kernel myself :) Pasted it below: > > > > To build a kernel > > ----------------- > > cd /usr/src > > # If you have not already done so, please buildworld here > > # You will also need to update your config file to 4.0. Usually > > # people tend to start with GENERIC from 4.0 and hack from there. > > make buildkernel KERNEL= > > make installkernel KERNEL= > > # Verify that the new kernel works, it will be installed as > > # /YOUR_KERNEL_HERE > > chflags noschg /kernel > > chflags noschg /YOUR_KERNEL_HERE > > mv /kernel /kernel.old > > mv /YOUR_KERNEL_HERE /kernel > > chflags schg /kernel > > > > hope that helps? > > That helped, thanks. I just verified with my source: this explanation > was missing there. Supposedly bad timing with CVSup. I just re-ran CVSup > again, and it updated /usr/src/UPDATING (along wiht some unrelated > pieces). Bingo. Good work, folks. > Interesting. It's actually been there for several months now? There was a whole big argument a few months back because this info appeared at the end of /usr/src/UPDATING instead of at the beginning. But anyway, it's been there a while, and now you've got it :) -John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message