Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 602927

Summary: RHEL 6 KVM Host crash when running netperf from one RHEL6 guest
Product: Red Hat Enterprise Linux 6 Reporter: Qianfeng Zhang <frzhang>
Component: kernelAssignee: Herbert Xu <herbert.xu>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0CC: fyang, herbert.xu, khong, llim, mjenner, mst, mwagner, ndai, syeghiay, tburke
Target Milestone: betaKeywords: TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-11 15:40:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
libvirt XML for the testing guest
none
dmesg from the vmcore collected using kdump
none
Revert "[net] bridge: make bridge support netpoll" none

Description Qianfeng Zhang 2010-06-11 02:59:24 UTC
* Description of problem:

  When vhost-net is enabled as a backend on the RHEL6 KVM host,  running netperf on the  RHEL6 guest (again the host) will make the host panic. If 
vhost-net is not loaded, with the same test, the issue doesn't occur.  

   ( the  attached  rhel6-212-g1.xml  is the libvirt XML for the guest, 
      dmesg.txt is the dmesg from the vmcore collected using kdump ) 


* Software  Versions 
   a) On the RHEL6 host

      kernel-2.6.32-31.el6.x86_64
      libvirt-0.8.1-7.el6.x86_64
      qemu-kvm-0.12.1.2-2.68.el6.x86_64

   b) Kernel version on the RHEL6 guest
      kernel-2.6.32-23.el6.x86_64

   c) netperf is from 
      ftp://ftp.netperf.org/netperf/netperf-2.4.5.tar.gz

* The issue is very easy to produce

* To produce

   step 1) on the host
        #> modprobe vhost-net
        #> virsh start  rhel6-212-g1
        #> netserver

   step 2) on the guest
        #> netperf -H 192.168.122.1 -l 180 -t TCP_STREAM -c
   

  


Additional info:

Comment 1 Qianfeng Zhang 2010-06-11 03:00:45 UTC
Created attachment 423120 [details]
libvirt XML for the testing guest

Comment 2 Qianfeng Zhang 2010-06-11 03:01:38 UTC
Created attachment 423121 [details]
dmesg from the vmcore  collected using kdump

Comment 4 RHEL Program Management 2010-06-11 03:23:19 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 5 Herbert Xu 2010-06-15 12:04:45 UTC
*** Bug 603193 has been marked as a duplicate of this bug. ***

Comment 6 Herbert Xu 2010-06-15 12:06:59 UTC
*** Bug 603293 has been marked as a duplicate of this bug. ***

Comment 8 Herbert Xu 2010-06-15 12:16:44 UTC
Created attachment 424131 [details]
Revert "[net] bridge: make bridge support netpoll"

This patch reverts

commit 460d5c086f08eff12b4c862c9a1c412cda4e8e7e
Author: Amerigo Wang <amwang>
Date:   Sat May 22 09:16:06 2010 -0400

    [net] bridge: make bridge support netpoll

as it introduced a use-after-free bug on the bridge transmit path that affects all bridge users, regardless of whether netpoll is enabled or not.

Comment 9 Herbert Xu 2010-06-17 13:42:33 UTC
*** Bug 604985 has been marked as a duplicate of this bug. ***

Comment 10 Aristeu Rozanski 2010-06-17 15:38:51 UTC
Patch(es) available on kernel-2.6.32-36.el6

Comment 13 Keqin Hong 2010-06-21 07:20:19 UTC
Verified on kernel-2.6.32-37.el6 using steps mentioned in Comment 0, PASS.

host info:
qemu-kvm-0.12.1.2-2.77.el6.x86_64
kernel-2.6.32-37.el6

Also tested according to https://bugzilla.redhat.com/show_bug.cgi?id=603293#c0, no kernel panic either.

Comment 14 Keqin Hong 2010-06-29 02:36:05 UTC
set VERIFIED according to Comment 13

Comment 15 releng-rhel@redhat.com 2010-11-11 15:40:20 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.