Red Hat Bugzilla – Bug 494541
[KVM] E1000 PXE boot fails with "No IP address"
Last modified: 2009-06-23 07:59:07 EDT
Created attachment 338494 [details]
Description of problem:
Version-Release number of selected component (if applicable):
$ uname -r
Steps to Reproduce:
1. Create new virtual machine with virt-manager
2. change network interface to e1000 and set boot source to PXE
3. start machine
PXE fails to acquire IP address
PXE is able to get IP address (and fails as TFTP filename is not set)
VM screenshot attached.
Looks like it's an issue with the e1000 PXE ROM from etherboot
Does it work with rtl8139 or virtio?
Forgot to mention that rtl and pcnet work (did not test virtio).
*** Bug 495970 has been marked as a duplicate of this bug. ***
Could you try and rebuild etherboot with this change:
--- etherboot-5.4.4/src/Config.old 2009-05-11 12:23:47.000000000 +0100
+++ etherboot-5.4.4/src/Config 2009-05-11 12:23:59.000000000 +0100
@@ -469,7 +469,7 @@
# (Requires TFTP protocol support)
CFLAGS+= -DPXE_IMAGE -DPXE_EXPORT
# Etherboot stricter as a PXE network protocol ROM
-# CFLAGS+= -DPXE_DHCP_STRICT
# Support for PXE emulation. Works only with FreeBSD to load the kernel
# via pxeboot, use only with DOWNLOAD_PROTO_NFS
Eduardo suggests it may help
Tip: using rom-o-matic.net (http://rom-o-matic.net/etherboot/etherboot-5.4.4/contrib/rom-o-matic/) may be useful to play with Etherboot build options without the need to build the images locally.
Etherboot compiled with PXE_DHCP_STRICT works.
Tested with rom-o-matic generated etherboot-5.4.4 for 82540em, all defaults except set PXE_DHCP_STRICT.
Eduardo: should we switch to PXE_DHCP_STRICT, or is that likely to break other people's setups?
(In reply to comment #7)
> Eduardo: should we switch to PXE_DHCP_STRICT, or is that likely to break other
> people's setups?
I have seen many cases of PXE not working because PXE_DHCP_STRICT is disabled, but no cases yet of systems breaking because of PXE_DHCP_STRICT. I recommend we enable it.
Okay, I'm pushing this to updates-testing:
* Mon May 25 2009 Mark McLoughlin <email@example.com> - 5.4.4-14
- Enable PXE_DHCP_STRICT to fix PXE boot failures (bug #494541)
Please test and add a +/- comment to the update
etherboot-5.4.4-14.fc11 has been submitted as an update for Fedora 11.
etherboot-5.4.4-14.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update etherboot'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5506
etherboot-5.4.4-14.fc11 still presents the problem.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
etherboot-5.4.4-15.fc11 has been submitted as an update for Fedora 11.
Okay, I've tracked down the real cause of this in bug #507391, so marking as a dup of that
*** This bug has been marked as a duplicate of bug 507391 ***