<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" lang="EN-US" link="blue" text="#000000"
vlink="purple">
<tt><br>
The kernel is just another package to up2date so it won't matter. For
that matter, up2date is configured to IGNORE kernel updates by default.<br>
<br>
--David<br>
<br>
</tt>
<blockquote
cite="mid648A21EA469E3848922D9860785CD5EF23D484@aspen-mail01.aspenview.org"
type="cite">
<pre wrap="">Hi, regarding step 1. If for example I build the new kernel 'called
2.6.15-prep'. Install it; how does up2date update the various software
components when the kernel name is non-standard?
Also, could I just Modify the 'Makefile' to have the same name as the
running kernel, and just do a make modules;make modules_install?
Thx jason
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:rhn-users-bounces@redhat.com">rhn-users-bounces@redhat.com</a> [<a class="moz-txt-link-freetext" href="mailto:rhn-users-bounces@redhat.com">mailto:rhn-users-bounces@redhat.com</a>]
On Behalf Of David A. Ranch
Sent: Saturday, March 04, 2006 12:22 PM
To: Red Hat Network Users List
Subject: Re: [rhn-users] kernel-devel
When you install the kernel-src.rpm, these sources come with a kernel
.config file that Redhat used to compile that specific kernel up. With
that said, you can occasionally compile new kernel components against
this SRC tree and only install those few modules vs. everything as long
as all of the code dependencies are met. I personally don't recommend
this approach. For example, you won't be able to compile in new SCSI
controller into the kernel unless the base kernel already had base SCSI
support turned on. Make sense? For your netfilter example, I'd
recommend to do the following:
1. install the kernel src.rpm for your RUNNING kernel version
2. make sure that in the top of the kernel's Makefile, the "NAME="
variable is something unique
3. Apply your patches to the kernel
4. Make the entire kernel and all modules
5. make install everything which will create a NEW kernel for you
6. Update your LILO or Grub to boot this new kernel
7. Reboot and use the new kernel. If it works, good! If not, you can
fall back to the stock RH kernel
Why patch the kernel sources at all? Maybe there is a bug fix available
for the kernel but Redhat hasn't released an official binary yet. Or
maybe you have a new piece of HW that the stock Redhat kernel doesn't
support but the vendor offers RHEL drivers. If you patch the Redhat
sources, you'll then have an official Redhat kernel with the drivers you
require.
--David
Jason Sigurdur wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi, what exactly is a 'configured source'? This is something that is
provided by the kernel-devel package. How does it fullfile
</pre>
</blockquote>
<pre wrap=""><!---->requirements
</pre>
<blockquote type="cite">
<pre wrap="">for building modules without the kernel source package?
Why must one 'patch' the kernel "requiring the kernel source tree" for
modules? Is it not the porpose of the kernel-devel package to build
modules with out the kernel-source?
For example; I would like to install a new netfilter module. Why must
one patch the kernel then go throught a make modules and make
modules_install?
Thx confused
jason
_______________________________________________
rhn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rhn-users@redhat.com">rhn-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rhn-users">https://www.redhat.com/mailman/listinfo/rhn-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
rhn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rhn-users@redhat.com">rhn-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rhn-users">https://www.redhat.com/mailman/listinfo/rhn-users</a>
_______________________________________________
rhn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rhn-users@redhat.com">rhn-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rhn-users">https://www.redhat.com/mailman/listinfo/rhn-users</a>
</pre>
</blockquote>
</body>
</html>