All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>
To: kvm@vger.kernel.org
Subject: [regression] virtio net locks up
Date: Wed, 11 Jan 2012 16:24:55 +0100	[thread overview]
Message-ID: <jek9k7$5u1$1@dough.gmane.org> (raw)

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


             reply	other threads:[~2012-01-11 15:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 15:24 Bernd Schubert [this message]
2012-01-11 15:39 ` [regression] virtio net locks up 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

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='jek9k7$5u1$1@dough.gmane.org' \
    --to=bernd.schubert@itwm.fraunhofer.de \
    --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.