WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] new netfront and occasional receive path lockup

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] new netfront and occasional receive path lockup
From: Christophe Saout <christophe@xxxxxxxx>
Date: Mon, 23 Aug 2010 19:09:08 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Aug 2010 10:09:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saout.de; s=default; t=1282583350; bh=H7tio42qFtwm2hrBHSOgB2aub7iOENigOyaUpO+rNF4=; h=Subject:From:In-Reply-To:References:Date:Message-ID; b=ZncYFHk4Wg5hrqvZ8W5IHeYRdAnaFRPhdLcBNz2a5X7mTLh5B928hUG8eUa55fPpq EwygWQUB/ppTtuqNnTtwiXM/L3mMHpNG4Xr+ORpcA1TS21r94zhlqQs0AXFIuThV2w H1kc+uuGl9QibeOkqPeU35OjdtGj/e64+dtJ2KYs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100823160417.GA19344@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1282495384.12843.11.camel@xxxxxxxxxxxxxxxxxxxx> <1282573612.7881.2.camel@xxxxxxxxxxxxxxxxxxxx> <20100823160417.GA19344@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Konrad,

> > I finally managed to trigger the issue on the test VM, which is now
> > stuck in that state since last night and can be inspected.  Apparently
> > the tx ring on the netback side is full, since every packet sent is
> > immediately dropped (as seen from ifconfig output).  No interrupts
> > moving on the guest.
> 
> What is the kernel and hypervisor in Dom0? And what is it in DomU?

The hypervisor is from the Xen 4.0.0 release and the Dom0 is from
Jeremy's 2.6.32 stable branch for pvops Dom0 (and lately with the
xen/dom0/backend branches merged in top because I hoped there might be
some fixes that help).  The same kernel has been working fine as guest,
but my newer one where I took an upstream 2.6.35, applied some of the
upstream fixes branches and also pulled the xen/netfront in, is now
causeing this issue.  Everything else is working just fine, so I am
pretty sure it is related to a netfront-specific change and not to
anything else.

> > hypervisor? (gdbsx apparently needs that)
> 
> Sure.

Also, I noticed that "gdb /path/to/vmlinux /proc/kcore" does allow me to
inspect the memory.  I'll try to see if I can pinpoint some of the
interesting memory locations.

> An easier path might be to do 'xm debug-keys q' which should
> trigger the debug irq handler. In DomU that should print out all of the
> event channel bits which we can analyze that and see if the
> proper bits are not set (and hence the IRQ handler isn't picking up
> from the ring buffer).

I'm not exactly sure how to read the output of that.
http://www.saout.de/assets/xm-debug-q.txt

        Christophe



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel