[CentOS] Where is the kernel source code???

Sun Dec 18 23:28:33 UTC 2005
lnthai2002 at aim.com <lnthai2002 at aim.com>


-----Original Message-----
From: Steve Huff <shuff at vecna.org>
To: CentOS mailing list <centos at centos.org>
Sent: Sun, 18 Dec 2005 18:18:23 -0500
Subject: Re: [CentOS] Where is the kernel source code???

  On Dec 18, 2005, at 3:41 PM, Jim Perrin wrote:

 > Long complicated answer: you'd need to get the src rpm, edit the
 > .config used to add support for the driver, rebuild the rpm.... etc.

  this is not quite correct; rather that messing with the kernel SRPM, 
you should also be able to pull down the kernel-source RPM:

 yum -y install kernel-source

  this will create /usr/src/linux-<kernel version>, which contains the 
kernel source.

  this doc is old, but you may be able to compile a custom kernel using 
a similar procedure:

  
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-cus
tom-kernel-modularized.html

  but i'd add my voice to those recommending that you NOT compile you 
own kernel, and instead use the centosplus kernel, especially if it 
contains the module(s) you need.

 -steve

 ---
  If this were played upon a stage now, I could condemn it as an 
improbable fiction. - Fabian, Twelfth Night, III,v

 _______________________________________________
 CentOS mailing list
 CentOS at centos.org
 http://lists.centos.org/mailman/listinfo/centos

Well, i did try
yum -y install kernel-source
but yum cant find it
No Match for argument: kernel-source
I gonna try the plus kernel
However, i hate using something that i don't know what inside it. I 
prefer making something that i feel suit me (for the same reason, i 
alwas build by comp instead of buy a brand name one although it is 
cheaper in some cases). So far as i have done, all kernel i build on 
gentoo is around 1mb with a few modules. Does it really matter using a 
big complicated kernel instead of a compact one?
Thanks for help, guys
NHUT THAI LE

________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.