Comment 21 for bug 1259861

Revision history for this message
Alkis Georgopoulos (alkisg) wrote : Re: 5-10 second delay in kernel boot

The problem is not there in Ubuntu 12.04.2 (kernel 3.5.0-54)
and it is there in Ubuntu 12.04.3 (kernel 3.8.0-44).

My test case is to boot with ip=dhcp break=top. When the problem doesn't exist, I get an initramfs prompt in 2 seconds, when it exists I get it in 12 seconds, and that shows up in dmesg as well.

Comparing those configs from https://wiki.ubuntu.com/Kernel/Configs/QuantalToRaring, I got:
3.5: # CONFIG_IP_PNP is not set
3.8: CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y

Is it possible to revert those?
Can we find out why they were enabled?
If they're only needed on some arches (e.g. ARM), maybe they could only be enabled there?

@rhansen, writing an alias e.g. initramfs_ip=* won't help, e.g. IPAPPEND 3 in pxelinux puts ip=* in the cmdline, I don't think it'll ever be patched to put initramfs_ip=* there...
I think we should either get the configuration change reverted,
or fix ipconfig.c so that it aborts if no NICs/modules are detected.