Bug 494541 - [KVM] E1000 PXE boot fails with "No IP address"
[KVM] E1000 PXE boot fails with "No IP address"
Status: CLOSED DUPLICATE of bug 507391
Product: Fedora
Classification: Fedora
Component: etherboot (Show other bugs)
11
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Eduardo Habkost
Fedora Extras Quality Assurance
:
: 495970 (view as bug list)
Depends On:
Blocks: K12LTSP 494832
  Show dependency treegraph
 
Reported: 2009-04-07 08:25 EDT by Kari Hautio
Modified: 2009-06-23 07:59 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-23 07:57:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
VM screenshot (10.26 KB, image/png)
2009-04-07 08:25 EDT, Kari Hautio
no flags Details

  None (edit)
Description Kari Hautio 2009-04-07 08:25:02 EDT
Created attachment 338494 [details]
VM screenshot

Description of problem: 


Version-Release number of selected component (if applicable):

qemu-0.10-5.fc11.x86_64
libvirt-0.6.2-1.fc11.x86_64

$ uname -r
2.6.29.1-46.fc11.x86_64

How reproducible:

always

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
  
Actual results:

PXE fails to acquire IP address

Expected results:

PXE is able to get IP address (and fails as TFTP filename is not set)

Additional info:

VM screenshot attached.
Comment 1 Mark McLoughlin 2009-04-09 11:38:23 EDT
Looks like it's an issue with the e1000 PXE ROM from etherboot

Does it work with rtl8139 or virtio?
Comment 2 Kari Hautio 2009-04-09 12:46:21 EDT
Forgot to mention that rtl and pcnet work (did not test virtio).
Comment 3 Mark McLoughlin 2009-04-19 10:55:36 EDT
*** Bug 495970 has been marked as a duplicate of this bug. ***
Comment 4 Mark McLoughlin 2009-05-11 07:25:02 EDT
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
+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
Comment 5 Eduardo Habkost 2009-05-11 15:33:39 EDT
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.
Comment 6 Kari Hautio 2009-05-14 03:30:13 EDT
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.
Comment 7 Mark McLoughlin 2009-05-21 16:49:02 EDT
Eduardo: should we switch to PXE_DHCP_STRICT, or is that likely to break other people's setups?
Comment 8 Eduardo Habkost 2009-05-21 16:59:02 EDT
(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.
Comment 9 Mark McLoughlin 2009-05-25 09:40:13 EDT
Okay, I'm pushing this to updates-testing:

* Mon May 25 2009 Mark McLoughlin <markmc@redhat.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
Comment 10 Fedora Update System 2009-05-25 09:47:20 EDT
etherboot-5.4.4-14.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/etherboot-5.4.4-14.fc11
Comment 11 Fedora Update System 2009-05-26 03:56:06 EDT
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
Comment 12 Kari Hautio 2009-05-26 04:15:21 EDT
etherboot-5.4.4-14.fc11 still presents the problem.
Comment 13 Bug Zapper 2009-06-09 09:24:39 EDT
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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 14 Fedora Update System 2009-06-19 12:46:41 EDT
etherboot-5.4.4-15.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/etherboot-5.4.4-15.fc11
Comment 15 Mark McLoughlin 2009-06-23 07:57:41 EDT
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 ***

Note You need to log in before you can comment on or make changes to this bug.