From: Marcio T. <mar...@nu...> - 2013-07-31 21:54:30
|
Hello, I've recently added a new node to an RHEL6 OpenSharedRoot 5 cluster that is much more modern than the rest of the cluster. In particular, this node had an internet adapter which is different from what the other nodes are using, and would not boot using the initrd image of my cluster. I eventually found out the "igb" and "dca" modules were failing to load, because of missing kernel module files. I needed to have a way to tell the "mkinitrd" to include the correct files in the initrd image. I experimented with "mkinitrd -M igb M dca", but this did not work. I also tried to preload the modules prior to running "mkinitrd," under the assumption that "mkinitrd" would package whatever modules were currently in use by the kernel (I'm not sure whether this assumption is correct or not). This did not help either. I eventually got it to work by manually injecting the full path for the missing module into the file cache, and re-running "mkinitrd". E.g: mkinitrd /boot/initrd_sr-$(uname -r).img $(uname r) echo /lib/modules/2.6.32-279.22.1.el6.centos.plus.x86_64/kernel/drivers/dca/dca.k o >> /var/cache/comoonics-bootimage/file-list.txt mkinitrd /boot/initrd_sr-$(uname -r).img $(uname r) While this works, it seems a bit clumsy. Can anyone offer some guidance on what is the correct way to tell "mkinitrd" to package the files for the "dca" module without having to run mkinitrd twice? Thank you, Marcio Teixeira |