Delay before console login prompt

I get a delay of about 60 seconds between when the kernel seems to be 'done' and the login appears. At the bottom of /var/log/messsages is

May 27 04:49:38 localhost modprobe: FATAL: Could not load /lib/modules/2.6.18.8-xenU/modules.dep: No such file or directory
May 27 04:50:33 localhost last message repeated 2 times

With nothing in between. This happens with your CentOS 5.3 x86 image and my own image.

Any ideas how I can find out what its doing in this sixty seconds?

Well, I don't know what it is doing in the sixty seconds, but to deal with the modprobe issue, once the image is booted run:

depmod 2.6.18.8-xenU

Future releases of the CentOS image will have this done by default. Let me know if that takes care of the timing issue.

Just a followup to my earlier message. You did not say if you were using the domU kernel inside the image via pygrub or outside the image. From your message I am guessing you are running the kernel outside the image (i.e. in dom0). If you want the domU to find the modules you will need to copy them into the actual image file. That is mount the image as a loop device and copy the modules to /mnt/loop/lib/modules/2.6.18.8-xenU.

Another option is to put the kernel + modules into the image and use pygrub. In other words extract the kernel tarball to the root of the image and then update /boot/grub/grub.conf inside the image as well)

Yes, I'm running with the kernel from dom0 and would prefer to utilise that method.

Clearly its trying to load something, I'm just not sure how to find out what is - if I can find that out I can presumably disable it.

Appears to be networking related.

I just switched from the Centos default of vifbr0 to xenbr0 for networking, and the delay is much shorter: down to a few seconds which seems fine. Still interested to know what its doing though :)

And just as a final bit of information, sticking an empty modules.dep in place gets rid of the error itself


© 2010 Stacklet LLC - Privacy