From mboxrd@z Thu Jan 1 00:00:00 1970 From: rek2 Subject: Re: network shutdown under heavy load Date: Thu, 07 Jan 2010 12:02:01 -0500 Message-ID: <4B461389.2080306@binaryfreedom.info> References: <4B265E84.3070008@binaryfreedom.info> <4B28CFC0.4030800@redhat.com> <20091216131911.GA18327@gondor.apana.org.au> <4B2A7552.4010102@binaryfreedom.info> <20091218012709.GA7118@gondor.apana.org.au> <4B2FA4AC.60909@binaryfreedom.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , kvm@vger.kernel.org To: Herbert Xu Return-path: Received: from mail.binaryfreedom.info ([216.75.30.35]:48250 "EHLO libre.binaryfreedom.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752745Ab0AGRCF (ORCPT ); Thu, 7 Jan 2010 12:02:05 -0500 In-Reply-To: <4B2FA4AC.60909@binaryfreedom.info> Sender: kvm-owner@vger.kernel.org List-ID: Hi guys, it happen again (in this server I didn't patch with the fix you guys sent) but I did this so if it happen i can test with tcpdump.. seems that the guest can receive packages but can't sent... when I open a tcpdump I saw traffic coming in, but not out. Hope this helps.. also I need to know if the patch you guys sent me will be in newer versions, if not I like to know since I can't update. On 12/21/09 11:39 a.m., rek2 wrote: > You say this version.. is there a newer version with this patch > already apply to it? > > Thanks > > > > On 12/17/09 20:27 p.m., Herbert Xu wrote: >> On Thu, Dec 17, 2009 at 01:15:46PM -0500, rek2 wrote: >>> I been told that today the network when down again and one of the guys >>> here had to log using the console and restart it for that particular >>> guests.. >>> >>> on the guest: >>> uname -a >>> Linux XXXX 2.6.27.25-170.2.72.fc10.x86_64 #1 SMP Sun Jun 21 18:39:34 >>> EDT >>> 2009 x86_64 x86_64 x86_64 GNU/Linux >>> >>> Next time it goes down I will try to run a sniffer and try both sides. >> OK I'm fairly sure this version has a buggy virtio-net. Does >> this patch (if it applies :) help? >> >> diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c >> index 9eec5a5..74b3854 100644 >> --- a/drivers/net/virtio_net.c >> +++ b/drivers/net/virtio_net.c >> @@ -521,8 +521,10 @@ static void xmit_tasklet(unsigned long data) >> vi->svq->vq_ops->kick(vi->svq); >> vi->last_xmit_skb = NULL; >> } >> - if (vi->free_in_tasklet) >> + if (vi->free_in_tasklet) { >> free_old_xmit_skbs(vi); >> + netif_wake_queue(vi->dev); >> + } >> netif_tx_unlock_bh(vi->dev); >> } >> >> Cheers, > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html