modprobe: FATAL
I have a new Xen VM running CentOS 5, and since the first day I got it, it kept issuing the following error messages :
–--
Feb 17 10:01:01 li22-179 modprobe: FATAL: Could not load /lib/modules/2.6.18.8-domU-linode7/modules.dep: No such file or directory
Feb 17 10:50:08 li22-179 last message repeated 5 times
Feb 17 10:54:22 li22-179 last message repeated 6 times
Feb 17 11:01:01 li22-179 last message repeated 9 time
….
The system looks normal, so I assume the message is a harmless warning. But it is still a little annoying in the syslog. I have no idea what programs trigger this, and googling on the net didn't get me answers. Could someone explain why this happens and how to turn it of ?
Thanks…
ywliu
1 Reply
@ywliu:
Hello,
I have a new Xen VM running CentOS 5, and since the first day I got it, it kept issuing the following error messages :
–--
Feb 17 10:01:01 li22-179 modprobe: FATAL: Could not load /lib/modules/2.6.18.8-domU-linode7/modules.dep: No such file or directory
Feb 17 10:50:08 li22-179 last message repeated 5 times
Feb 17 10:54:22 li22-179 last message repeated 6 times
Feb 17 11:01:01 li22-179 last message repeated 9 time
….
The system looks normal, so I assume the message is a harmless warning. But it is still a little annoying in the syslog. I have no idea what programs trigger this, and googling on the net didn't get me answers. Could someone explain why this happens and how to turn it of ?
Thanks…
ywliu
The xen kernels support modules, but none are installed, so the module directory doesn't exist. You can prevent the message by manually creating it:
mkdir /lib/modules/2.6.18.8-domU-linode7
depmod -a
This should silence those messages.