Kernel compilation on CentOS
Kernel compilation on CentOS
Hi all,
I am tyring to compile kernel version 2.6.32.3 on centos 6.9(final),it compiles and when booting up it crashes.
If i try making rpm of same kernel and install ,it boots up with that kernel and it works fine.
For compilation,steps
===================
1.make mrproper
2.make menuconfig(just to load the configuration file)
3.make bzImage
4.make modules
5.make modules_install
6.make install
For compiling RPM
=================
1.make clean && make mrproper
2.cp /boot/config-`uname -r` ./.config
3.make menuconfig(just to load the configuration file)
4.make rpm
installing rpm from /root/rpmbuild/RPMS/arch
creating ram disk and editing grub.
I am compiling on HP G7 server
Please help me with the steps on how to compile.
Thanks in advance
vivek
I am tyring to compile kernel version 2.6.32.3 on centos 6.9(final),it compiles and when booting up it crashes.
If i try making rpm of same kernel and install ,it boots up with that kernel and it works fine.
For compilation,steps
===================
1.make mrproper
2.make menuconfig(just to load the configuration file)
3.make bzImage
4.make modules
5.make modules_install
6.make install
For compiling RPM
=================
1.make clean && make mrproper
2.cp /boot/config-`uname -r` ./.config
3.make menuconfig(just to load the configuration file)
4.make rpm
installing rpm from /root/rpmbuild/RPMS/arch
creating ram disk and editing grub.
I am compiling on HP G7 server
Please help me with the steps on how to compile.
Thanks in advance
vivek
Re: Kernel compilation on CentOS
Are you configuring the kernel for your hardware at any step?
Re: Kernel compilation on CentOS
No,i am not configuring kernel
Re: Kernel compilation on CentOS
Why? Why would you attempt to build 2.6.32.3 when it's more than 7 years old? It'll be riddled with security vulnerabilities and is unsafe to use.
We already ship a 2.6.32 kernel that's up to date and patched against known problems.
We already ship a 2.6.32 kernel that's up to date and patched against known problems.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Kernel compilation on CentOS
Hi
we have an application which requires compilation of kernel 2.6.32.3 even though
centos 6.9(final) is providing higher and stable version.
we have an application which requires compilation of kernel 2.6.32.3 even though
centos 6.9(final) is providing higher and stable version.
Re: Kernel compilation on CentOS
It dates from January 2010 and is unsafe to use.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Kernel compilation on CentOS
Interesting. "Compilation", not "existence"?vivekgwd wrote:we have an application which requires compilation of ...
Whatever the actual dependency is, it does not sound healthy.
Is there chance to talk sense into the application?
Re: Kernel compilation on CentOS
What happens if you try to run the said application using standard CentOS kernels?
Re: Kernel compilation on CentOS
Thanks for suggestions,
our application till now was running on RHEL 6.5 with our custom kernel(2.6.32.3)
we are now migrating to centos 6.9(final),so for that purpose, we need to compile this kernel
as initial part of project.
i just wanted to know whether i am following correct steps to compile kernel on centos.
if not,please suggest me how to move forward.
our application till now was running on RHEL 6.5 with our custom kernel(2.6.32.3)
we are now migrating to centos 6.9(final),so for that purpose, we need to compile this kernel
as initial part of project.
i just wanted to know whether i am following correct steps to compile kernel on centos.
if not,please suggest me how to move forward.
Re: Kernel compilation on CentOS
Identify why your app is tied to an obsolete kernel and replace it with the CentOS supplied one.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke