From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Schubert Subject: [regression] virtio net locks up Date: Wed, 11 Jan 2012 16:24:55 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:59399 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755380Ab2AKPaQ (ORCPT ); Wed, 11 Jan 2012 10:30:16 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rl07z-00036E-1F for kvm@vger.kernel.org; Wed, 11 Jan 2012 16:30:15 +0100 Received: from tc-gate1.pci.uni-heidelberg.de ([129.206.21.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 16:30:14 +0100 Received: from bernd.schubert by tc-gate1.pci.uni-heidelberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 16:30:14 +0100 Sender: kvm-owner@vger.kernel.org List-ID: 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