kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [regression] virtio net locks up
@ 2012-01-11 15:24 Bernd Schubert
  2012-01-11 15:39 ` Bernd Schubert
  2012-01-11 16:04 ` Stefan Hajnoczi
  0 siblings, 2 replies; 13+ messages in thread
From: Bernd Schubert @ 2012-01-11 15:24 UTC (permalink / raw)
  To: kvm

No idea what is going on, but recent kernels lock up here after 
transferring some amount of data. So far I only know that 2.6.32 is the 
last working kernel I have tested and 3.0 is the first non-working 
version I tested.

How to reproduce:

vm1: iperf  -c vm2
vm2: iperf -s vm1

After some time either of both VMs cannot be pinged anymore, neither 
from host nor from the other (still working) VM. Direct access of the 
non-net-working vm via console still works fine.


Also not important if I run with vhost on or off, in both modes it fails.

qemu-kvm version is 1.0.

Here's my qemu-kvm start-up script:

> #! /bin/bash
>
> source  ~/bin/kvm-config.sh
>
> iface=`sudo tunctl -b -u $USER`
> FILE=${IMAGE_DIR}/squeeze1.img
> #NICMODEL=e1000
> NICMODEL=virtio
>
>
> DISKIF=virtio
> #DISKIF=ide
> #DISKIF=scsi
>
> ${kvm}                                                                  \
>         -m 4096                                                         \
>         -net nic,macaddr=52:54:00:12:34:11,model=${NICMODEL}            \
>         -net tap,id=foo,script=${HOME}/bin/kvm-ifup,downscript=${HOME}/bin/kvm-ifdown,ifname=$iface,vhost=on                    \
>         -boot c                                                         \
>         -drive file=${FILE},if=${DISKIF},boot=on,cache=writeback        \
>         ${common_opts}                                                  \
>         "$@"
>
> sudo /usr/sbin/tunctl -d $iface



Any idea what is going on or how to debug it?


Thanks,
Bernd


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

end of thread, other threads:[~2012-08-19  9:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11 15:24 [regression] virtio net locks up Bernd Schubert
2012-01-11 15:39 ` Bernd Schubert
2012-01-11 16:04 ` Stefan Hajnoczi
2012-01-11 16:18   ` Bernd Schubert
2012-01-11 17:09     ` Stefan Hajnoczi
2012-07-30 17:33       ` Bernd Schubert
2012-07-30 18:08         ` Bernd Schubert
2012-07-31 10:23           ` Stefan Hajnoczi
2012-08-01 17:05             ` Bernd Schubert
2012-08-02 10:59               ` Stefan Hajnoczi
2012-08-12 11:45           ` Michael S. Tsirkin
2012-08-17 23:25             ` Bernd Schubert
2012-08-19  9:01               ` Michael S. Tsirkin

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).