Date: 22 Jun 2002 14:54:06 +0100 From: Stacey Roberts <sroberts@dsl.pipex.com> To: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Cc: FreeBSD-Stable <freebsd-stable@FreeBSD.ORG> Subject: Re: cvsup stable-supfile does not update GENERIC (and others) kernel? Message-ID: <1024754047.87383.48.camel@Demon.Strobe.org> In-Reply-To: <m17Lkep-003pR7C@lyxys.ka.sub.org> References: <m17Lkep-003pR7C@lyxys.ka.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-BcSmHQkT2eS5nrGqIHOP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Thanks for the kind reply there. I think I get it now. The GENERIC config file is only updated if and when there *is* and updated one available when I do a cvsup stable-supfile. So., I'll just proceed here and see how things go., Thanks for the assistance and information to you all. Stacey On Sat, 2002-06-22 at 14:10, Wolfgang Zenker wrote: > Hello, >=20 > > Sorry if I mis-understood. >=20 > no problem. Happens to all of us sometimes, I guess. >=20 > 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 whic= h > 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=3DGE= NERIC >=20 > > I also see in A Anderson's book FreeBSD - An Open Source Operating > > System for you Personal Computer, pg 341 step 5: >=20 > > "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... <snip> >=20 > > so it's best to start with a copy of the new GENERIC as a base rather > > than your old config file." >=20 > > 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:- >=20 > As I read the text you quoted, she suggests to copy the file GENERIC to > MYKERN. This makes MYKERN a new copy of GENERIC. >=20 > > make kernel KERNCONF=3DMYKERNEL > > make installkernel KERNCONF-MYKERN >=20 > There seem to be a few minor errors here: "make kernel KERNCONF=3DMYKERN" > 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=3DMYKERN > make installkernel KERNCONF=3DMYKERN > (Note there is a "=3D" instead of "-" in the installkernel line and I > used MYKERN everywhere instead MYKERN in one line and MYKERNEL in the oth= er). >=20 > Wolfgang >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message --=20 Stacey Roberts B.Sc. (HONS) Computer Science Network Systems Engineer --=-BcSmHQkT2eS5nrGqIHOP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Thanks for the kind reply there. I think I get it now. The GENERIC config file is only updated if and when there *is* and updated one available when I do a cvsup stable-supfile. So., I'll just proceed here and see how things go., Thanks for the assistance and information to you all. Stacey On Sat, 2002-06-22 at 14:10, Wolfgang Zenker wrote: > Hello, >=20 > > Sorry if I mis-understood. >=20 > no problem. Happens to all of us sometimes, I guess. >=20 > 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 whic= h > 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=3DGE= NERIC >=20 > > I also see in A Anderson's book FreeBSD - An Open Source Operating > > System for you Personal Computer, pg 341 step 5: >=20 > > "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... <snip> >=20 > > so it's best to start with a copy of the new GENERIC as a base rather > > than your old config file." >=20 > > 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:- >=20 > As I read the text you quoted, she suggests to copy the file GENERIC to > MYKERN. This makes MYKERN a new copy of GENERIC. >=20 > > make kernel KERNCONF=3DMYKERNEL > > make installkernel KERNCONF-MYKERN >=20 > There seem to be a few minor errors here: "make kernel KERNCONF=3DMYKERN" > 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=3DMYKERN > make installkernel KERNCONF=3DMYKERN > (Note there is a "=3D" instead of "-" in the installkernel line and I > used MYKERN everywhere instead MYKERN in one line and MYKERNEL in the oth= er). >=20 > Wolfgang >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message - --=20 Stacey Roberts B.Sc. (HONS) Computer Science Network Systems Engineer -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPRSBfPdn4A8qiCO5EQK32QCg3aMlyTO72o02ZgH/6nOK8sRKJmEAoLZY lQV4YOwCiFJVD8axEP+xtBM+ =Grrv -----END PGP SIGNATURE----- --=-BcSmHQkT2eS5nrGqIHOP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1024754047.87383.48.camel>