Comment 14 for bug 1259861

Revision history for this message
Richard Hansen (rhansen) wrote : Re: 5-10 second delay in kernel boot

I have been seeing this on multiple machines since trusty (at least). I'm currently running wily.

I noticed that if I remove the 'ip=dhcp' kernel command line parameter then the 10 second delay goes away. (I added ip=dhcp so that I could ssh into the initramfs to unlock the encrypted root device from remote.) I'm not sure why 'ip=dhcp' causes that delay. I was able to rule out the initramfs—I modified /usr/share/initramfs-tools/init to print the contents of /proc/uptime as early as possible. According to the logged time, init doesn't start running until after the 10 second pause (unless mounting /proc takes 10 seconds when ip=dhcp is in the command line arguments, which I doubt).