Bug 526124 - ne model failed to get ip address
Summary: ne model failed to get ip address
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Naphtali Sprei
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On: 511912
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-28 21:53 UTC by Eduardo Habkost
Modified: 2014-03-26 01:02 UTC (History)
8 users (show)

Fixed In Version: kvm-83-121.el5
Doc Type: Bug Fix
Doc Text:
Clone Of: 511912
Environment:
Last Closed: 2010-03-30 07:56:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 0 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 13:19:48 UTC

Description Eduardo Habkost 2009-09-28 21:53:38 UTC
This bug is for the KVM side of the change. Once etherboot is changed to include rtl8029.zrom on the -zroms-kvm subpackage, the kvm package must be changed to point to the right zrom file (instead of ne.zrom, that is being used today).

+++ This bug was initially created as a clone of Bug #511912 +++

Description of problem:
When using etherboot zrom files to NIC boot with ne model,it failed to get ip address.Other models of virtio,rtl8139,e1000,pcnet32 are all ok to get ip address.


Version-Release number of selected component (if applicable):
rhel5.4 x86_64 etherboot-zroms-kvm-5.4.4-10.el5


How reproducible:
100%

Steps to Reproduce:
1.# qemu-img create rom.img 10G
2.# qemu-kvm -name 'pxe' -m 256 -vnc :10  -net nic,vlan=0,macaddr=00:11:22:33:44:00,model=ne2k_pci -net tap,vlan=0,ifname=pxe,script=/etc/qemu-ifup-switch -boot n
  
Actual results:
It couldn't get ip address and accessed to profile selection menu(we are using cobbler to test this)
It threw out:
Probing pci nic...
Probing isa nic...
[NE*000]
<sleep>


Expected results:
Should get ip address and accessed to profile selection menu.

Additional info:
Using that commands above,virtio,rtl8139,pcnet32,e1000 all work well.


--- Additional comment from nsprei on 2009-09-17 10:09:51 EDT ---

reproduced by running qemu-kvm from package qemu-system-x86-0.10.6-1 (from the lfarkas repository) the with following params:
-boot n -name 'pxe' -m 256 -vnc :10  -net nic,vlan=0,macaddr=00:11:22:33:44:00,model=ne2k_pci   -net tap,vlan=0

The installed package has a soft-link from /usr/share/qemu/pxe-ne2k_pci.bin to ../etherboot/ne.zrom, which is the one used for this nic.

Replacing the file /usr/share/etherboot/ne.zrom from the package etherboot-zroms-kvm-5.4.4-16.el5 with the latest pc-bios/pxe-ne2k_pci.bin of the qemu-kvm git repository solves the problem.

--- Additional comment from nsprei on 2009-09-22 06:56:35 EDT ---

Created an attachment (id=362067)
etherboot zrom generated from rom-o-matic site for the ne2k-pci

generated from rom-o-matic site, on 22-September-2009, etherboot format,  5.4.4(i386),  rtl8029.zrom, default values suggested by site, except for: ASK_BOOT=-1, PXE_DHCP_STRICT selected

--- Additional comment from nsprei on 2009-09-22 07:01:15 EDT ---

zrom attached solves the problem: network boot works fine.

--- Additional comment from nsprei on 2009-09-27 05:55:49 EDT ---

The etherboot package should put the rtl8029 images in the kvm supported part.
The kvm package should point the ne2k-pci pxe file[s] to the rtl8029 from the etherboot package.

Comment 2 lihuang 2009-10-09 14:20:41 UTC
Test in kvm-83-124.el5
PXE boot with ne2k_pci NIC works fine.

.qa.[root@lihuang ~]# /usr/libexec/qemu-kvm -m 2048 -smp 2 /dev/null  -net nic,model=ne2k_pci -net tap,script=/etc/qemu-ifup -boot n -monitor stdio
QEMU 0.9.1 monitor - type 'help' for more information
(qemu) info network 
VLAN 0 devices:
  tap.0: ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
  ne2k_pci.0: model=ne2k_pci,macaddr=52:54:00:12:34:56
(qemu) 

.qa.[root@lihuang ~]# nmap -v -sP 10.66.70.0/24 | grep -a1 "52:54:00:12:34:56" 
Host dhcp-66-70-36.nay.redhat.com (10.66.70.36) appears to be up.
MAC Address: 52:54:00:12:34:56 (QEMU)

Comment 7 errata-xmlrpc 2010-03-30 07:56:56 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html


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