From owner-freebsd-stable Sat Jun 22 6:21: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from subnet.sub.net (subnet.sub.net [212.227.14.21]) by hub.freebsd.org (Postfix) with ESMTP id DB65137B405 for ; Sat, 22 Jun 2002 06:20:56 -0700 (PDT) Received: from subnet.sub.net (uucp@localhost [127.0.0.1]) by subnet.sub.net (8.12.2/8.11.6/subnet-freebsd-1.0) with ESMTP id g5MDKqUO072579; Sat, 22 Jun 2002 15:20:52 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from lyxys.ka.sub.org (uucp@localhost) by subnet.sub.net (8.12.2/8.12.2/Submit) with bsmtp id g5MDKpRO072578; Sat, 22 Jun 2002 15:20:51 +0200 (CEST) Received: from localhost (2504 bytes) by lyxys.ka.sub.org via sendmail with P:stdio/R:smart_host/T:inet_uusmtp (sender: ) (ident using unix) id for ; Sat, 22 Jun 2002 15:10:27 +0200 (CEST) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Aug-23) Message-Id: From: wolfgang@lyxys.ka.sub.org (Wolfgang Zenker) Subject: Re: cvsup stable-supfile does not update GENERIC (and others) kernel? In-Reply-To: <1024748503.87383.38.camel@Demon.Strobe.org> To: sroberts@dsl.pipex.com Date: Sat, 22 Jun 2002 15:10:27 +0200 (CEST) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, > Sorry if I mis-understood. no problem. Happens to all of us sometimes, I guess. Maybe one source of misunderstandig is that there are several things called "GENERIC". The file /usr/src/sys/i386/conf/GENERIC is NOT a "kernel", but a "kernel config file". A kernel config file specifies which subsystems/drivers/etc. are to be built into a kernel that is compiled using this config file. A kernel built using the "GENERIC" config file is called a "GENERIC" kernel. Such a kernel is used e.g. on the install CDs you can buy or download. The GENERIC _file_ is treated by cvsup like any other source file: it is changed on your system when it has been changed on the server. The GENERIC _kernel_ is not touched by cvsup in any way. It is rebuilt when you use "make kernel" without specifying a KERNCONF or KERNCONF=GENERIC > I also see in A Anderson's book FreeBSD - An Open Source Operating > System for you Personal Computer, pg 341 step 5: > "Type cd /sys/i386/conf and cp GENERIC MYKERN. Edit this new copy of > GENERIC called MYKERN, making the same kind of changes described in the > previous chapter... > so it's best to start with a copy of the new GENERIC as a base rather > than your old config file." > She mentions / suggests here that there should be a new copy of GENERIC > listed in /usr/src/sys/i386/conf for me to use for producing the new > kernel in step 7:- As I read the text you quoted, she suggests to copy the file GENERIC to MYKERN. This makes MYKERN a new copy of GENERIC. > make kernel KERNCONF=MYKERNEL > make installkernel KERNCONF-MYKERN There seem to be a few minor errors here: "make kernel KERNCONF=MYKERN" would actually build AND install a new kernel using the config file named MYKERN. If you want to do it in two seperate steps, it would be make buildkernel KERNCONF=MYKERN make installkernel KERNCONF=MYKERN (Note there is a "=" instead of "-" in the installkernel line and I used MYKERN everywhere instead MYKERN in one line and MYKERNEL in the other). Wolfgang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message