How to add kernel modules to the initrd to be loaded on boot
This document (3111917) is provided subject to the disclaimer at the end of this document.
A kernel module needs to be loaded by the kernel image.
In case something goes wrong, please have the rescue CD (CD 1 or the DVD) for the appropriate service pack that you are using.
- Open /etc/sysconfig/kernel for editing
- Locate the line below starting with:INITRD_MODULES="..."
- Add the module name within the quotes. Be careful where the module goes within the quotes. If the item being added is a disk controller, Fibre Channel driver, etc, it may prevent the system from booting. Arbitrary kernel device name assignments are made by the order that the driver is loaded and the physical location of the card/device on the bus. Generally, if you are adding a disk controller, add it at the end, unless you have a specific need to load the driver before the native disks.
- Save and close the file
- Remake the kernel image.mkinitrd
Novell does not support third-party kernel modules. When performing this process with third-party kernel modules, such as vendor supplied disk controller drivers, caution must be taken. If you update the kernel you will need to remake/reinstall the third-party kernel modules and then follow step 5 before you reboot. If the kernel module is for the disk controller, you may not be able to boot.
In some cases, you may be able to use the kernel-syms package to allow you to use an older kernel module on a newer kernel (i.e. you can use a module compiled against an older kernel. The kernel-syms package will only work if the symbols have not changed from the old kernel to the new kernel. While the kernel-syms package does help, it should not be relied on when you upgrade the kernel to load your third-party kernel module.
Novell Support TID 386492: Troubleshooting common boot problems
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3111917
- Creation Date:03-JAN-08
- Modified Date:30-APR-12
- SUSESUSE Linux Enterprise DesktopSUSE Linux Enterprise Real Time ExtensionSUSE Linux Enterprise Server
Did this document solve your problem? Provide Feedback< Back to Support Search