From: rek2 <rek2@binaryfreedom.info>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Avi Kivity <avi@redhat.com>, kvm@vger.kernel.org
Subject: Re: network shutdown under heavy load
Date: Thu, 07 Jan 2010 12:02:01 -0500 [thread overview]
Message-ID: <4B461389.2080306@binaryfreedom.info> (raw)
In-Reply-To: <4B2FA4AC.60909@binaryfreedom.info>
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
next prev parent reply other threads:[~2010-01-07 17:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 15:49 network shutdown under heavy load rek2
2009-12-16 12:17 ` Avi Kivity
2009-12-16 13:19 ` Herbert Xu
2009-12-17 18:15 ` rek2
2009-12-18 1:27 ` Herbert Xu
2009-12-21 16:39 ` rek2
2010-01-07 17:02 ` rek2 [this message]
2010-01-10 12:30 ` Avi Kivity
2010-01-10 12:35 ` Herbert Xu
2010-01-10 12:38 ` Avi Kivity
2010-01-13 19:13 ` Tom Lendacky
2010-01-13 21:52 ` Chris Wright
2010-01-19 21:29 ` Tom Lendacky
2010-01-19 23:57 ` Chris Wright
2010-01-20 15:48 ` Tom Lendacky
2010-01-26 21:59 ` Tom Lendacky
2010-02-09 20:03 ` Jean-Philippe Menil
2010-02-09 20:25 ` Chris Wright
2010-02-09 20:46 ` Jean-Philippe Menil
2010-02-10 7:53 ` Jean-Philippe Menil
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=4B461389.2080306@binaryfreedom.info \
--to=rek2@binaryfreedom.info \
--cc=avi@redhat.com \
--cc=herbert@gondor.apana.org.au \
--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 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).