2015-07-15, 16:36
I have an ECS Liva which only supports UEFI booting. I am building and installing bin-x86_64-efi/ipxe.efi, and the "initialising devices..." step takes 20+ seconds to complete. I'd like to improve that.
lspci reports the following network hardware:
Using snp.efi or snponly.efi is much faster, but then dhcp fails, presumably because it thinks the MAC address is 01:01:01:01:...
I added a printf() inside the startup() loop in init.c. This printf is invoked 4 times (not sure how to get the name of the startup functions being called). The third startup function is the one that takes 20 seconds.
I tried several DEBUG options based on other posts here, up to the following:
but still nothing is printed during this 20 second period.
Any ideas on how to speed this up, or diagnose where the 20 seconds is being spent?
lspci reports the following network hardware:
Code:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Using snp.efi or snponly.efi is much faster, but then dhcp fails, presumably because it thinks the MAC address is 01:01:01:01:...
I added a printf() inside the startup() loop in init.c. This printf is invoked 4 times (not sure how to get the name of the startup functions being called). The third startup function is the one that takes 20 seconds.
I tried several DEBUG options based on other posts here, up to the following:
Code:
DEBUG=efi_driver,efi_pci,snp,snpnet,snponly,efi_init,realtek,netdevice
but still nothing is printed during this 20 second period.
Any ideas on how to speed this up, or diagnose where the 20 seconds is being spent?