000035680 - Kernel panic with error "FATAL: Could not load modules.dep no such file or directory" on RSA NetWitness

Document created by RSA Customer Support Employee on Nov 16, 2017
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000035680
Applies ToRSA Product Set: NetWitness Logs and Packets
RSA Product/Service Type: All Appliance
RSA Version/Condition: 10.6.x, 10.5.x
Platform: CentOS
O/S Version: 6
 
IssueAfter updating NW hosts from 10.6.0 to 10.6.x, the newly installed kernel panics with following error.

FATAL: Could not load /lib/modules/2.6.32-xxx.xx.x.el6.x86_64/modules/modules.dep: no such file or directory

 

 
CauseNew Kernel ram disk image(initramfs) does not contain the module.dep file as the file was not installed properly during the kernel update. Or the dep file was corrupted during the update.
Mostly this happens when installation package upload/download was not completely done due to slow network latency between SA Head repo and Hosts.
This is a known issue from RHEL/CentOS 6.
 
Resolution1. Reboot with the previous kernel on Grub in order to rebuild the initramfs file for the new kernel.
2. Rebuild "modules.dep" file to generate missing dep files for the new kernel which led the kernel panic. i.e. "2.6.32-573.12.1.e16".

# depmod -a 2.6.32-573.12.1.el6.x86_64

3. Rebuild initramfs file for the kernel version to generate the new initfamfs file to reflect the dep file generated in the previous step. 

# dracut -f /boot/initramfs-2.6.32-573.12.1.el6.x86_64.img 2.6.32-573.12.1.el6.x86_64

4. Reboot with the new kernel
Notes

Attachments

    Outcomes