From: Mark McLoughlin <markmc@redhat.com>
To: Emmanuel Lacour <elacour@easter-eggs.com>
Cc: kvm@vger.kernel.org
Subject: Re: virtio_net hang
Date: Thu, 13 Nov 2008 15:12:33 +0000 [thread overview]
Message-ID: <1226589153.19068.7.camel@blaa> (raw)
In-Reply-To: <20081113122709.GB14254@easter-eggs.com>
On Thu, 2008-11-13 at 13:27 +0100, Emmanuel Lacour wrote:
> Dear kvm users/developpers,
>
> I have a problem here where the network interface of a guest hang
> 2 or 3 times a day. No more packets can be sent out or received, no
> error in guest or host logs. I have to stop networking, remove module,
> then modprobe again and start the network to get back connection.
The fact that re-loading the virtio_net driver fixes things up makes me
suspect you've found a bug in the virtio_net driver, rather than e.g. a
bug in the kvm-userspace side.
To try and narrow down what's happening, when the interface has hung,
try:
- tcpdump on both eth0 in the guest and the tap device on the host
(tap5 in your example)
- look for anything unusual in the stats for both those interfaces,
e.g. /proc/net/dev, netstat -s etc.
- strace the /usr/bin/kvm process
What you're looking for e.g. is whether a guest->host ping is failing
because the request packet isn't getting to the host or because the
reply packet isn't getting to the guest, and where exactly the packet is
being blocked.
Cheers,
Mark.
next prev parent reply other threads:[~2008-11-13 15:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 12:27 virtio_net hang Emmanuel Lacour
2008-11-13 13:04 ` Daniel P. Berrange
2008-11-13 13:15 ` Emmanuel Lacour
2008-11-13 15:12 ` Mark McLoughlin [this message]
2008-11-13 15:24 ` Emmanuel Lacour
2008-11-14 9:23 ` Emmanuel Lacour
2008-11-14 18:26 ` Mark McLoughlin
2008-11-18 18:37 ` Emmanuel Lacour
2008-11-18 18:48 ` Emmanuel Lacour
2008-11-19 13:13 ` Mark McLoughlin
2008-11-19 19:03 ` Mark McLoughlin
2008-11-20 11:36 ` Emmanuel Lacour
2008-11-21 8:38 ` Emmanuel Lacour
2008-11-22 14:20 ` Emmanuel Lacour
2008-11-21 14:44 ` Guido Günther
2008-11-20 11:34 ` Emmanuel Lacour
2008-11-13 18:27 ` Fabio Coatti
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=1226589153.19068.7.camel@blaa \
--to=markmc@redhat.com \
--cc=elacour@easter-eggs.com \
--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