RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 672529 - VMs with virtIO NIC can't access the PXE server
Summary: VMs with virtIO NIC can't access the PXE server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gpxe
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Michael S. Tsirkin
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 679188 (view as bug list)
Depends On:
Blocks: 680148
TreeView+ depends on / blocked
 
Reported: 2011-01-25 12:57 UTC by Rami Vaknin
Modified: 2014-01-12 23:52 UTC (History)
13 users (show)

Fixed In Version: gpxe-0.9.7-6.4.el6
Doc Type: Bug Fix
Doc Text:
Cause What actions or circumstances cause this bug to present. Consequence What happens when the bug presents. Fix What was done to fix the bug. Result What now happens when the actions or circumstances above occur. Note: this is not the same as the bug doesn’t present anymore.
Clone Of:
: 834630 (view as bug list)
Environment:
Last Closed: 2011-05-19 14:04:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
pcaps (1.60 KB, application/x-compressed-tar)
2011-01-25 12:57 UTC, Rami Vaknin
no flags Details
snapshot of installing guest (10.50 KB, image/png)
2011-01-27 06:42 UTC, Amos Kong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0694 0 normal SHIPPED_LIVE gpxe bug fix update 2011-05-18 18:10:19 UTC

Description Rami Vaknin 2011-01-25 12:57:43 UTC
Created attachment 475166 [details]
pcaps

VM with virtIO NIC can't access the PXE server, it reaches a time out:
tftp://10.35.16.92/pxelinux.0............. Connection timed out (0x4c126035)

By sniffing the VM's traffic, it seems that the VM get an IP from the DHCP server but still can't reach its own default gateway, the default gateway doesn't answer to the ARP requests.

The ARP requests that the VM sends are too big (1514 byte, while a regular DHCP Discover is around 60 bytes) and not valid, so the default gateway does not answer to those ARP requests.

Version-Release number of selected component (if applicable):
kernel: 2.6.32-71.el6.x86_64
qemu-kvm-0.12.1.2-2.129.el6.x86_64


Steps to Reproduce:
1. Define a new VM with PXE boot and virtIO NIC


Additional info:

Note that there is no problem when booting the same machine with Fedora's live CD - the networking works well.
Also, when using the e1000 or rtl8139 network interfaces with boot to PXE, the connection to the PXE works well.

17:00:52.562254 ARP, Request who-has 10.35.99.254 tell 10.35.99.4, length 1500

The MAC address of the VM is 00:1a:4a:16:99:04.

/var/log/libvirt/qemu/RHEL6_3.log:

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.0.0 -cpu Penryn -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name RHEL6_3 -uuid 26283ecd-0146-4710-963e-5ba078726893 -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/RHEL6_3.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=2011-01-20T14:19:41 -boot n -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/1af052ad-9b2c-4fa7-b445-9d64c71511ac/9469f758-2e7c-44d3-875a-b85a34bf841c/images/aa3b10a2-3de3-47a7-baf2-c3c3ff788d18/1b0a07db-38c8-48ad-865d-b351277782fa,if=none,id=drive-virtio-disk0,format=qcow2,serial=a7-baf2-c3c3ff788d18,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=23,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:99:04,bus=pci.0,addr=0x3 -chardev socket,id=channel0,path=/var/lib/libvirt/qemu/channels/RHEL6_3.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=0,chardev=channel0,name=com.redhat.rhevm.vdsm -usb -device usb-tablet,id=input0 -vnc 0:2,password -k en-us -vga cirrus

Comment 3 Amos Kong 2011-01-27 06:42:30 UTC
Created attachment 475532 [details]
snapshot of installing guest

When I install guest from cdrom, it fails to setup network.
Does it related this bug ?

[root@intel-5310-32-1 kvm]# rpm -qa |grep qemu
qemu-img-0.12.1.2-2.131.el6.x86_64
qemu-kvm-0.12.1.2-2.131.el6.x86_64
gpxe-roms-qemu-0.9.7-6.3.el6.noarch
qemu-kvm-tools-0.12.1.2-2.131.el6.x86_64
qemu-kvm-debuginfo-0.12.1.2-2.131.el6.x86_64
[root@intel-5310-32-1 kvm]# uname -r
2.6.32-103.el6.x86_64

Comment 4 Michael S. Tsirkin 2011-01-27 06:46:38 UTC
To comment 3:
No, install from cdrom runs regular guest drivers, 
not pxe.

Comment 10 Mike Cao 2011-02-21 09:37:16 UTC
Hi,rvaknin

I can not reproduce it in my environment.Could you help to verify it ?

Thanks,
Mike

Comment 20 john cooper 2011-03-09 16:31:01 UTC
*** Bug 679188 has been marked as a duplicate of this bug. ***

Comment 21 Charles R. Anderson 2011-03-09 17:51:42 UTC
Patch to fix the issue is in the duplicate bug #679188 where it has already been fixed in Fedora.

Comment 22 Florian Nadge 2011-03-14 10:43:44 UTC
Please be so kind and add a few key words to the technical note of this
bugzilla entry using the following structure:

Cause:

Consequence:

Fix:

Result:


For details, see:
https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks

Comment 23 Florian Nadge 2011-03-14 10:43:44 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    What actions or circumstances cause this bug to present.
Consequence
    What happens when the bug presents.
Fix
    What was done to fix the bug.
Result
    What now happens when the actions or circumstances above occur.
    Note: this is not the same as the bug doesn’t present anymore.

Comment 24 errata-xmlrpc 2011-05-19 14:04:07 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/RHBA-2011-0694.html


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