Bright: Kernel Management
Jump to navigation
Jump to search
Change the version of kernel running
In this instance I wanted to boot up and older kernel after an update to ensure the OFED modules loaded correctly.
[root@head-boston boot]# cmsh
[head-boston]% softwareimage use default-image
[head-boston->softwareimage[default-image]]% list
Name (key) Path Kernel version
-------------------- ---------------------------------------- ---------------------------------
GPU-image /cm/images/GPU-image 2.6.32-358.23.2.el6.x86_64
default-image /cm/images/default-image 2.6.32-431.29.2.el6.x86_64.debug # <--- This is the kernel we are updating
epcc /cm/images/epcc 2.6.32-358.23.2.el6.x86_64
gpu6.5-image /cm/images/gpu6.5-image 2.6.32-431.11.2.el6.x86_64.debug
phi6.5-image /cm/images/phi6.5-image 2.6.32-431.20.3.el6.x86_64.debug
storage-image /cm/images/storage-image 2.6.32-358.23.2.el6.x86_64
test-image /cm/images/test-image 2.6.32-358.23.2.el6.x86_64
[head-boston->softwareimage[default-image]]% set kernelversion 2.6.32-358.23.2.el6.x86_64
[head-boston->softwareimage*[default-image*]]% list
Name (key) Path Kernel version
-------------------- ---------------------------------------- ---------------------------------
GPU-image /cm/images/GPU-image 2.6.32-358.23.2.el6.x86_64
default-image /cm/images/default-image 2.6.32-358.23.2.el6.x86_64 # <--- Now its updated
epcc /cm/images/epcc 2.6.32-358.23.2.el6.x86_64
gpu6.5-image /cm/images/gpu6.5-image 2.6.32-431.11.2.el6.x86_64.debug
phi6.5-image /cm/images/phi6.5-image 2.6.32-431.20.3.el6.x86_64.debug
storage-image /cm/images/storage-image 2.6.32-358.23.2.el6.x86_64
test-image /cm/images/test-image 2.6.32-358.23.2.el6.x86_64
[head-boston->softwareimage*[default-image*]]% commit
================================ default-image =================================
Field Message
------------------------ -------------------------------------------------------------
module Warning: Module ipmi_si does not exist for specified kernel.Reboot the nodes and the old kernel will be booted