I have a box running CentOS 5.x 32 bit. I noticed these kernels are installed.
[root@ns1 log]# rpm -qa |grep kern |sort kernel-2.6.18-194.11.1.el5 kernel-2.6.18-194.3.1.el5 kernel-2.6.18-194.8.1.el5 kernel-PAE-devel-2.6.18-194.11.1.el5 kernel-PAE-devel-2.6.18-194.3.1.el5 kernel-PAE-devel-2.6.18-194.8.1.el5
[root@ns1 log]# uname -a Linux ns1.xx.net 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:09:06 EDT 2010 i686 i686 i386 GNU/Linux
[root@ns1 log]# free total used free shared buffers cached Mem: 1025500 687176 338324 0 87824 535628 -/+ buffers/cache: 63724 961776 Swap: 2031608 0 2031608
This machine only has 1G of RAM. Should I just remove the PAE kernels?
Matt
short answer... you dont really need it in this case. only if you want to use more then 3gb ram in a 32bit environment
On 08/27/2010 05:26 PM, Matt wrote:
I have a box running CentOS 5.x 32 bit. I noticed these kernels are installed.
[root@ns1 log]# rpm -qa |grep kern |sort kernel-2.6.18-194.11.1.el5 kernel-2.6.18-194.3.1.el5 kernel-2.6.18-194.8.1.el5 kernel-PAE-devel-2.6.18-194.11.1.el5 kernel-PAE-devel-2.6.18-194.3.1.el5 kernel-PAE-devel-2.6.18-194.8.1.el5
[root@ns1 log]# uname -a Linux ns1.xx.net 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:09:06 EDT 2010 i686 i686 i386 GNU/Linux
[root@ns1 log]# free total used free shared buffers cached Mem: 1025500 687176 338324 0 87824 535628 -/+ buffers/cache: 63724 961776 Swap: 2031608 0 2031608
This machine only has 1G of RAM. Should I just remove the PAE kernels?
Matt _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Matt,
On 27 August 2010 16:26, Matt lm7812@gmail.com wrote:
I have a box running CentOS 5.x 32 bit. I noticed these kernels are installed.
[root@ns1 log]# rpm -qa |grep kern |sort kernel-2.6.18-194.11.1.el5 kernel-2.6.18-194.3.1.el5 kernel-2.6.18-194.8.1.el5
These are stock kernel.
If you had these, you'd have PAE kernels: kernel-PAE.i686 : The Linux kernel compiled for PAE capable machines. kernel-PAE-devel.i686 : Development package for building kernel modules to match the PAE kernel.
kernel-PAE-devel-2.6.18-194.11.1.el5 kernel-PAE-devel-2.6.18-194.3.1.el5 kernel-PAE-devel-2.6.18-194.8.1.el5
These are just headers and shouldn't do any harm. Name : kernel-PAE-devel Arch : i686 Version : 2.6.18 Release : 194.11.1.el5 Size : 5.4 M Repo : updates Summary : Development package for building kernel modules to match the PAE kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the PAE kernel package.
And this is the PAE kernel info (all from yum info)
Name : kernel-PAE Arch : i686 Version : 2.6.18 Release : 194.11.1.el5 Size : 17 M Repo : updates Summary : The Linux kernel compiled for PAE capable machines. URL : http://www.kernel.org/ License : GPLv2 Description: This package includes a version of the Linux kernel with support for up to : 16GB of high memory. It requires a CPU with Physical Address Extensions (PAE). : The non-PAE kernel can only address up to 4GB of memory. : Install the kernel-PAE package if your machine has more than 4GB of memory.
[root@ns1 log]# rpm -qa |grep kern |sort kernel-2.6.18-194.11.1.el5 kernel-2.6.18-194.3.1.el5 kernel-2.6.18-194.8.1.el5
These are stock kernel.
On CentOS 5.x 'yum update' seems to purge all but the latest 3 kernels. Is there anyway to also do that on CentOS 4.x? On my CentOS 4.x server I have had '/boot/' fill up and had to uninstall older kernels.
Matt
"Matt" lm7812@gmail.com wrote:
I have a box running CentOS 5.x 32 bit. I noticed these kernels are installed.
[root@ns1 log]# rpm -qa |grep kern |sort kernel-2.6.18-194.11.1.el5 kernel-2.6.18-194.3.1.el5 kernel-2.6.18-194.8.1.el5 kernel-PAE-devel-2.6.18-194.11.1.el5 kernel-PAE-devel-2.6.18-194.3.1.el5 kernel-PAE-devel-2.6.18-194.8.1.el5
You can remove kernel-2.6.18-194.3.1.el5 and kernel-2.6.18-194.8.1.el5 and keep only the newest version, kernel-2.6.18-194.11.1.el5.
Since you don't have kernel-PAE, you can also delete all the kernel-PAE-devel files.
So, you can delete everything except kernel-2.6.18-194.11.1.el5. The other packages don't do any harm, but they take up disk space unnecessarily. The kernel-PAE-devel packages also get updated unnecessarily.
Yves Bellefeuille yan@storm.ca