All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 42829] New: KVM Guest with virtio network driver loses network connectivity
Date: Mon, 27 Feb 2012 22:39:26 GMT	[thread overview]
Message-ID: <bug-42829-28872@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=42829

           Summary: KVM Guest with virtio network driver loses network
                    connectivity
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.3.0-rc5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
        AssignedTo: virtualization_kvm@kernel-bugs.osdl.org
        ReportedBy: stefan.bosak@gmail.com
                CC: avi@redhat.com
        Regression: Yes


Description:
------------
Running KVM guests with virtio network interfaces, the guest will
(probably in some - unidentified - circumstances) stop receiving packets.
A tcpdump on the bugged interface will show only ARP requests being
sent by the server and unanswered.

Possible workarounds:

Temporarily:
- restart network interface in guest

Permanent:
- use e1000 network driver as replacement of virtio_net driver


How to reproduce:
-----------------
1) start KVM guest:
qemu-kvm
-nodefaults
-name vps
-chroot /chroot
-runas kvm
-pidfile /var/run/kvm/vps.pid
-vnc 1.2.3.4:0
-vga std --full-screen
-smp 2 -m 1g -cpu host
-mem-path /hugepages
-mem-prealloc
-kvm-shadow-memory 1g
-enable-kvm
-daemonize
-rtc base=localtime,clock=host,driftfix=none
-balloon virtio
-net nic,model=virtio,vlan=0,macaddr=52:54:00:33:22:11
-net bridge,br=br0,vlan=0
-drive aio=native,index=0,media=disk,cache=none,if=virtio,file=vps.img
-boot order=c,menu=off &

2) generate huge trafic (after few minutes virtio network card crashed):
 from host to guest:
  screen ping 10.8.7.2 -s 65507
  screen iperf -s -i 1 -f M
 from guest to host:
  screen ping 10.8.7.1 -s 65507
  screen iperf -c 10.8.7.2 -i 1 -f M

3) restart guest network interface and repeat step 2) until network crash again

Above situation occurs on (my tests):
host kernel 3.3+
qemu-kvm 1.0+
any guest Linux 2.6+ - 3.3+ kernel
any guest Windows 7+

Same situation described from other users on some forums:
http://bugs.centos.org/view.php?id=5526

http://serverfault.com/questions/362038/
qemu-kvm-virtual-machine-virtio-network-freeze-under-load
(possible, not tested old patch)

Please fix above crashing of virtio_net driver.

Thank you for your time.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

             reply	other threads:[~2012-02-27 22:39 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 22:39 bugzilla-daemon [this message]
2012-02-28 13:11 ` [Bug 42829] KVM Guest with virtio network driver loses network connectivity bugzilla-daemon
2012-02-28 13:49 ` bugzilla-daemon
2012-03-01 10:46 ` bugzilla-daemon
2012-03-01 14:16 ` bugzilla-daemon
2012-03-01 15:22 ` bugzilla-daemon
2012-03-01 23:04 ` bugzilla-daemon
2012-03-01 23:15 ` bugzilla-daemon
2012-03-02  1:05 ` bugzilla-daemon
2012-03-02 11:14 ` bugzilla-daemon
2012-03-02 11:36 ` bugzilla-daemon
2012-03-03 22:12 ` bugzilla-daemon
2012-03-04 21:20 ` bugzilla-daemon
2012-03-06  0:50 ` bugzilla-daemon
2012-03-06  2:26 ` bugzilla-daemon
2012-03-06  2:56 ` bugzilla-daemon
2012-03-06  7:28 ` bugzilla-daemon
2012-03-06 19:35 ` bugzilla-daemon
2012-03-07  5:41 ` bugzilla-daemon
2012-03-07 12:40 ` bugzilla-daemon
2012-03-12 17:15 ` bugzilla-daemon
2012-03-13  3:23 ` bugzilla-daemon
2012-03-15  8:22 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-42829-28872@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.