[CentOS] compiling centos 6.5 linux-2.6.32-431.el6-kernel

Thu Jun 19 07:40:33 UTC 2014
Akemi Yagi <amyagi at gmail.com>

On Thu, Jun 19, 2014 at 12:35 AM, Ned Slider <ned at unixmail.co.uk> wrote:
> On 19/06/14 05:57, Dilip Basavaraju wrote:
>> Dear all,
>>
>>              I have compiled the  linux-2.6.32-431.el6-kernel with the following steps
>>
>> 1.    Make mproper
>>
>> 2.    Make menuconfig
>>
>> 3.    Make
>>
>> 4.    Make modules
>>
>> 5.    Make modules_install
>> The compilation is successful but there is a huge change in the size of the .ko generated compared to original .ko from the rpm.
>>
>> Please suggest the steps to compile the centos  linux-2.6.32-431.el6-kernel and use the modules and to build the kernel.rpm
>>
>
> It's extremely well documented in the 3 kernel articles on the Wiki:
>
> http://wiki.centos.org/HowTos#head-c4dbf9ecb355694c78175c7eaad46a2472a3849b

And as to the size of the modules being big, this blog explains it all:

http://blog.toracat.org/2009/03/strip-it-but-not-all-of-it/

Akemi