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 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....
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-
- make bzImage
- make modules
- make modules_install
- 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@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
On 03/28/2014 01:36 PM, Akemi Yagi wrote:
On Fri, Mar 28, 2014 at 11:27 AM, Saket Sinha saket.sinha89@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
I would point out that I have personally been using kernel-ml on all my main CentOS-6 workstations for months (maybe even years :D) without major problems.
The only issue I have ever really had was getting the NVIDIA drivers to compile post 3.13.x:
http://centosnow.blogspot.com/2014/02/kernel-ml-nvidia-drivers-and-313x-kern...
You might also need a newer acpi .. check the known issues here:
http://elrepo.org/tiki/kernel-ml
But, on both my ThinkPad T520 and Dell M4500N laptops, the kernel-ml works great for me.
On 03/28/2014 04:06 PM, Johnny Hughes wrote:
On 03/28/2014 01:36 PM, Akemi Yagi wrote:
On Fri, Mar 28, 2014 at 11:27 AM, Saket Sinha saket.sinha89@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
I would point out that I have personally been using kernel-ml on all my main CentOS-6 workstations for months (maybe even years :D) without major problems.
The only issue I have ever really had was getting the NVIDIA drivers to compile post 3.13.x:
http://centosnow.blogspot.com/2014/02/kernel-ml-nvidia-drivers-and-313x-kern...
You might also need a newer acpi .. check the known issues here:
http://elrepo.org/tiki/kernel-ml
But, on both my ThinkPad T520 and Dell M4500N laptops, the kernel-ml works great for me.
One last thing if using a kernel named anything other than kernel ...
edit the file /etc/sysconfig/kernel and find:
DEFAULTKERNEL=kernel
and change it to:
DEFAULTKERNEL=kernel-ml
if you want the system to automatically enable the new kernel-ml upon install (in /boot/grub/grub.conf)
On 28 March 2014 21:14, Johnny Hughes johnny@centos.org wrote:
On 03/28/2014 04:06 PM, Johnny Hughes wrote:
On 03/28/2014 01:36 PM, Akemi Yagi wrote:
On Fri, Mar 28, 2014 at 11:27 AM, Saket Sinha saket.sinha89@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
I would point out that I have personally been using kernel-ml on all my main CentOS-6 workstations for months (maybe even years :D) without major problems.
The only issue I have ever really had was getting the NVIDIA drivers to compile post 3.13.x:
http://centosnow.blogspot.com/2014/02/kernel-ml-nvidia-drivers-and-313x-kern...
You might also need a newer acpi .. check the known issues here:
http://elrepo.org/tiki/kernel-ml
But, on both my ThinkPad T520 and Dell M4500N laptops, the kernel-ml works great for me.
One last thing if using a kernel named anything other than kernel ...
edit the file /etc/sysconfig/kernel and find:
DEFAULTKERNEL=kernel
and change it to:
DEFAULTKERNEL=kernel-ml
if you want the system to automatically enable the new kernel-ml upon install (in /boot/grub/grub.conf)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks Johnny,
I have been editing /boot/grub/grub.conf for kernel-ml for as long as I can remember.