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.el6.src.rpm and I try to build the kernel according to the doc link written for RHEL-3 - 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- 1. make bzImage 2. make modules 3. make modules_install 4. make install but I get errors in the first step only-(make bzImage) It was pointed out the CentOS-devel mailing list the below link- http://wiki.centos.org/HowTos/Custom_Kernel which allows me to create a rpm for my customized kernel and install it. Now my question is there no method where in I can apply a kernel source tree from kernel.org(maybe 3,x version) and install it on Centos ? Regards, Saket Sinha
Saket Sinha 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.el6.src.rpm > > and I try to build the kernel according to the doc link written for > RHEL-3 - > > 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- > > 1. make bzImage > 2. make modules > 3. make modules_install > 4. make install > > > but I get errors in the first step only-(make bzImage)But what *are* the errors?> > It was pointed out the CentOS-devel mailing list the below link- > http://wiki.centos.org/HowTos/Custom_Kernel > > which allows me to create a rpm for my customized kernel and install it. > > Now my question is there no method where in I can apply a kernel > source tree from kernel.org(maybe 3,x version) and install it on > Centos ? >I think that the answer's no way. You'd require a new (gnuw? <g>) glibc, and a ton of other things. If you really need a 3.x kernel, I suggest you try the 7 beta. mark
On Fri, Mar 28, 2014 at 11:27 AM, Saket Sinha <saket.sinha89 at gmail.com> wrote:> It was pointed out the CentOS-devel mailing list the below link- > http://wiki.centos.org/HowTos/Custom_Kernel > > which allows me to create a rpm for my customized kernel and install it. > > Now my question is there no method where in I can apply a kernel > source tree from kernel.org(maybe 3,x version) and install it on > Centos ?No problem. Just use kernel-ml/lt from ELRepo: http://elrepo.org/tiki/kernel-ml http://elrepo.org/tiki/kernel-lt Akemi