<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.4210" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2>You'll get the huge kernel if you accidentally mark all the
modules to be compiled in instead of modularized.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2>Make sure the modules are marked 'M'.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2>Why not just take the latest Fedora 8 kernel SRPM and
with rpmbuild build it on CentOS?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2>A lot easier and more reliable then adapting a vanilla
kernel.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2>-Ross</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=361074320-20032008><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> centos-bounces@centos.org
[mailto:centos-bounces@centos.org] <B>On Behalf Of </B>David
Hlácik<BR><B>Sent:</B> Thursday, March 20, 2008 4:39 PM<BR><B>To:</B> CentOS
mailing list<BR><B>Subject:</B> [CentOS] build custom
kernel<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi guys!<BR></DIV>
<DIV>i followed tutorial for building custom kernel for centos5 <A
href="http://howtoforge.com/kernel_compilation_centos">http://howtoforge.com/kernel_compilation_centos</A> with
lastest kernel downloaded from <A href="http://kernel.org">kernel.org</A>
.</DIV>
<DIV>in menuconfig i used /boot/config-(mycurrentcentoskernel) as a
configuration. then i compiled with make rpm. </DIV>
<DIV>Result was ok, but my kernel was about 400MB of size! :(</DIV>
<DIV>Next problem was that alltought i we had ip_nat as a module selected in
menuconfig, i did not had it, and i was not able to modprobe ip_nat , so my
iptables were not working.</DIV>
<DIV> </DIV>
<DIV>I am looking for some help and experiences. Probably in thinks like
:</DIV>
<DIV>howto make new kernel for centos to be the most compatible (using
/boot/config... probably).</DIV>
<DIV> </DIV>
<DIV>The reason why i need this is :</DIV>
<DIV> </DIV>
<DIV>- problem with pptpd on x64 centos 5.1 (causes freezing --- found that it
is a kernel bug .. still not fixed in rhel - centos :( )</DIV>
<DIV>- problem with ath_pci (atheros module) which causes masine freezing
after hours of use without any footprints in logs , tested that on fedora 8
this works stable :(</DIV>
<DIV> </DIV>
<DIV>Thanks in advance!<BR><BR>David</DIV></BLOCKQUOTE>
<P></P>
<HR WIDTH="100%">
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
</BODY></HTML>