kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 42829] New: KVM Guest with virtio network driver loses network connectivity
@ 2012-02-27 22:39 bugzilla-daemon
  2012-02-28 13:11 ` [Bug 42829] " bugzilla-daemon
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: bugzilla-daemon @ 2012-02-27 22:39 UTC (permalink / raw)
  To: kvm

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.

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2012-03-15  8:22 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 22:39 [Bug 42829] New: KVM Guest with virtio network driver loses network connectivity bugzilla-daemon
2012-02-28 13:11 ` [Bug 42829] " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).