On Fri, Mar 28, 2014 at 10:46 AM, Saket Sinha saket.sinha89@gmail.com wrote:
Hi,
I am working on CentOS 6.5 which has 2.6.32-431 kernel.
I have a problem with my driver and I need to enable Kernel-Memory leak in the kernel for which I will have to recompile the kernel.
I get the kernel source tree from the the source rpm for my running kernel from below link-
http://vault.centos.org/6.5/updates/Source/SPackages/kernel-2.6.32-431.11.2....
and I try to build the kernel according to the below link on CentOS Wiki -
http://www.centos.org/docs/rhel-sag-en-3/s1-custom-kernel-modularized.html
according to which it tells me , after make menuconfig( and customizing my configuration), I need to follow the following steps-
- make bzImage
- make modules
- make modules_install
- make install
but I get errors in the first step only-(make bzImage)
Kindly suggest me as to what I am doing wrong.
First off, for a question like this, it's best to use the CentOS main list (not -devel) or the forums to get assistance.
Second, the doc link you showed is the one written for RHEL-3. The correct wiki page to read is:
http://wiki.centos.org/HowTos/Custom_Kernel
Third, you can file a request at bugs.centos.org to enable the option in the centosplus kernel. This way, you would do not have to recompile your own kernel.
Hope this helps,
Akemi