Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Management Base Installation and User's Guide

Chapter 5 Rebuilding the Kernel

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The hpmgmtbase scripts examine the running kernel version to assist in the selection of the appropriate binaries for the HP-supplied Open IPMI modules. If the kernel version is changed, the selection process will probably need to be executed again. This situation might not be apparent until a reboot of the new kernel when hpmgmtbase fails to initialize or when other programs that are dependent on the Open IPMI driver fail to start. A careful examination of boot time logs can help isolate this behavior.

This version change can happen because of a planned, supported kernel upgrade (such as an errata from Red Hat) or user-initiated patching and rebuild. After the new kernel is installed, hpmgmtbase can be reconfigured to recognize the new version, as follows:

  1. Shut down any other products and programs that rely on Open IPMI (such as the HP Insight Manager SNMP agents).

  2. Enter the following:

    /etc/init.d/hpmgmtbase stop

  3. Enter the following:

    /etc/init.d/hpmgmtbase reconfigure

  4. Enter the following:

    /etc/init.d/hpmgmtbase start

After a short time (up to 30 seconds) hpseld should be running and hpbmc Summary should work (as outlined in the Chapter 4. If this fails, then the changes made to the kernel may require a complete rebuild of the IPMI modules. Remember that the source modules shipped with your distribution might not actually work on your particular model of HP Integrity Server. HP does not expect the source to be synchronized until Red Hat Enterprise Linux 4.4 or SLES 10.

To fulfill GPL requirements, hpmgmtbase includes the HP-modified source in /opt/hp/hpmgmtbase/OpenIPMI/src. These files are not patches but full source files for each of the source components. To incorporate them into your new kernel, the source files must be fully copied into your kernel source tree, as follows:

  1. Copy the appropriate source files from /opt/hp/hpmgmtbase/src to ../drivers/char/ipmi in your kernel source tree.

    • For any 2.6 kernel, use the source files under kernel 2.6.

    • For a 2.4 kernel and Red Hat Enterprise Linux 3, use the source files under kernel2.4/K22. Red Hat backported some of the 2.4.22 kernel source into their kernel, even though it identifies itself as 2.4.21 base.

    • For other 2.4.21 kernels, use the source files under kernel2.4/K21

  2. Rebuild and install your modules in the fashion appropriate for your kernel major/minor release (2.4 is slightly different than 2.6).

  3. Implement a mechanism that loads your newly compiled modules at boot time (an /etc/init.d/rcX.d script) and runs before the hpmgmtbase scripts.

  4. Enter modprobe ipmi_si (2.6 kernel) or modprobe ipmi_si_drv or ipmi_kcs_drv.

  5. Enter modprobe ipmi_devintf (all kernels).

  6. Enter /etc/init.d/hpmgmtbase reconfigure.

The reconfiguration should recognize that modules are loaded from some other source and ignore any HP-supplied binaries.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.