Help - Search - Members - Calendar
Full Version: Additional kernel installs
The Planet Forums > Operating Systems > Red Hat Linux
diometuchen
Just curious to see if anyone else has the following kernel rpms even though they may not have the correct hardware to support them on their linux boxes:

kernel-smp-devel-2.6.9-42.0.8.EL
kernel-hugemem-devel-2.6.9-42.0.8.EL

As far as I can gather, my specific server is does not have multiple processors and it only has 1gb of ram in it (kernel-smp and kernel-hugemem are NOT installed). So are the above installs actually necessary to be installed on my currect RHEL4 system? Does anyone know of any other dependencies they may have which would preclude me from removing them? If they are not needed, I'd rather remove them as they're just taking up space serving no purpose, but was wondering if those files actually served an additional purpose. The other kernel files installed are:

kernel-ib-1.0-1
kernel-utils-2.4-13.1.83
kernel-2.6.9-42.0.8.EL
kernel-devel-2.6.9-42.0.8.EL

Thanks for any assistance anyone can provide.
James Jhurani
QUOTE (diometuchen @ Mar 5 2007, 09:33 AM) *
Just curious to see if anyone else has the following kernel rpms even though they may not have the correct hardware to support them on their linux boxes:

kernel-smp-devel-2.6.9-42.0.8.EL
kernel-hugemem-devel-2.6.9-42.0.8.EL

As far as I can gather, my specific server is does not have multiple processors and it only has 1gb of ram in it (kernel-smp and kernel-hugemem are NOT installed). So are the above installs actually necessary to be installed on my currect RHEL4 system? Does anyone know of any other dependencies they may have which would preclude me from removing them? If they are not needed, I'd rather remove them as they're just taking up space serving no purpose, but was wondering if those files actually served an additional purpose. The other kernel files installed are:

kernel-ib-1.0-1
kernel-utils-2.4-13.1.83
kernel-2.6.9-42.0.8.EL
kernel-devel-2.6.9-42.0.8.EL

Thanks for any assistance anyone can provide.


you can remove them, or leave them, as long as they are not being used by your bootloader(grub or lilo) you will never boot into them.
gbock
Someone most likely ran up2date -uf which will install the devel packages for every kernel available.

I would leave kernel-utils as it has some useful tools and provides some functionality which you may want such as microcode updates for your cpu:

CODE
[root@dev test]# rpm -ql kernel-utils | grep -v share
/etc/cpuspeed.conf
/etc/firmware/microcode.dat
/etc/rc.d/init.d/cpuspeed
/etc/rc.d/init.d/irqbalance
/etc/rc.d/init.d/microcode_ctl
/etc/rc.d/init.d/readahead
/etc/rc.d/init.d/readahead_early
/etc/rc.d/init.d/smartd
/etc/readahead.early.files
/etc/readahead.files
/etc/sysconfig/irqbalance
/sbin/microcode_ctl
/sbin/rngd
/usr/bin/rngtest
/usr/sbin/cpuspeed
/usr/sbin/dmidecode
/usr/sbin/hardlink
/usr/sbin/irqbalance
/usr/sbin/longrun
/usr/sbin/readahead
/usr/sbin/smartctl
/usr/sbin/smartd
/usr/sbin/smartd-conf.py
/usr/sbin/x86info



The devel packages for smp are just taking up space and can be removed safetly.

I wouldn't remove old kernels unless you are running into space issues. If some issue arises with the new kernel you should have one or two old kernels to fall back to.

kernel-ib may be a dependency for other rpms and you may want to leave it. It is not that big:

CODE
[root@dev test]# rpm -qp --qf "%{DESCRIPTION}\n" /var/spool/up2date/kernel-ib-1.0-1.i386.rpm
Infiniband updates for udev and boot time kernel module loading

[root@dev test]# rpm2cpio /var/spool/up2date/kernel-ib-1.0-1.i386.rpm | cpio -id && du -sh
368 blocks
276K    .
diometuchen
QUOTE (faze @ Mar 5 2007, 04:22 PM) *
you can remove them, or leave them, as long as they are not being used by your bootloader(grub or lilo) you will never boot into them.


Ahh I figured as much, removed them this past weekend and no burps so far. Thanks!
diometuchen
QUOTE (gbock @ Mar 7 2007, 04:53 AM) *
Someone most likely ran up2date -uf which will install the devel packages for every kernel available.

I would leave kernel-utils as it has some useful tools and provides some functionality which you may want such as microcode updates for your cpu:

CODE
[root@dev test]# rpm -ql kernel-utils | grep -v share
/etc/cpuspeed.conf
/etc/firmware/microcode.dat
/etc/rc.d/init.d/cpuspeed
/etc/rc.d/init.d/irqbalance
/etc/rc.d/init.d/microcode_ctl
/etc/rc.d/init.d/readahead
/etc/rc.d/init.d/readahead_early
/etc/rc.d/init.d/smartd
/etc/readahead.early.files
/etc/readahead.files
/etc/sysconfig/irqbalance
/sbin/microcode_ctl
/sbin/rngd
/usr/bin/rngtest
/usr/sbin/cpuspeed
/usr/sbin/dmidecode
/usr/sbin/hardlink
/usr/sbin/irqbalance
/usr/sbin/longrun
/usr/sbin/readahead
/usr/sbin/smartctl
/usr/sbin/smartd
/usr/sbin/smartd-conf.py
/usr/sbin/x86info

The devel packages for smp are just taking up space and can be removed safetly.

I wouldn't remove old kernels unless you are running into space issues. If some issue arises with the new kernel you should have one or two old kernels to fall back to.

kernel-ib may be a dependency for other rpms and you may want to leave it. It is not that big:

CODE
[root@dev test]# rpm -qp --qf "%{DESCRIPTION}\n" /var/spool/up2date/kernel-ib-1.0-1.i386.rpm
Infiniband updates for udev and boot time kernel module loading

[root@dev test]# rpm2cpio /var/spool/up2date/kernel-ib-1.0-1.i386.rpm | cpio -id && du -sh
368 blocks
276K    .


Yeah, that's likely what happened before. Just extra -devel packages that were never really used. Removed the smp and hugemem devel packages and no problems on my box afterwards. Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.