xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Armin Zentai <armin.zentai@ezit.hu>
To: Zoltan Kiss <zoltan.kiss@citrix.com>, xen-devel@lists.xen.org
Subject: Re: Trying to unmap invalid handle! pending_idx: @ drivers/net/xen-netback/netback.c:998 causes kernel panic/reboot
Date: Mon, 14 Jul 2014 23:15:00 +0200	[thread overview]
Message-ID: <53C44854.4000008@ezit.hu> (raw)
In-Reply-To: <53C3F7B0.2090609@citrix.com>

Hi!

On 14/07/14 17:30, Zoltan Kiss wrote:
> On 14/07/14 13:14, Armin Zentai wrote:
>> Hi!
>>
>> On 14/07/14 13:54, Zoltan Kiss wrote:
>>> Hi,
>>>
>>> Based on the stack trace I think the guest sends packet with more than
>>> MAX_SKB_SLOTS slots, and one slot's grant mapping operation goes wrong.
>>> Then the error handling screws up the internal bookkeeping of pending
>>> slots, and tries to unmap something that is not mapped. Unfortunately it
>>> is quite complicated to emulate grant mapping failures in a predictable
>>> way.
>>> Armin, if we provide some patches (hopefully with a solution, but at
>>> least with some additional logging), would you be able to compile and
>>> verify it?
>>
>> I can compile and install it, the verification may take a few days.
>> We're building up a test system, and try to test with outgoing traffic.
>> If you have any advice, about how to test the new kernel, please share
>> with me (I mean large pps, or large bandwidth is the better, or try to
>> update/downgrade the GPLPV drivers to a specific version).
>>
>> I'm setting the loglevel to DBG.
>
> Also, if you have your vmlinux file, can you please run the following:
>
> addr2line -e <your vmlinux file> ffffffffa02622fc
>
> That would hopefully point out where xenvif_idx_unmap were called in
> check_gop, as it has 3 call sites.
>

I've run it on the vmlinux file, that I've made with make vmlinux.

[root@c2-node16 linux-3.15.4]# addr2line -e vmlinux ffffffffa02622fc
??:0

I think it does not found anything.

At the time we've found one VM that crashes its hypervisor in every 
evening at the same time, this virtual machine is belongs to one of our 
clients, but I'll try to get some info about a scheduled job or 
something that starts in that time.

> Zoli
>

Thanks,
  - Armin

  reply	other threads:[~2014-07-14 21:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14  2:25 Trying to unmap invalid handle! pending_idx: @ drivers/net/xen-netback/netback.c:998 causes kernel panic/reboot Armin Zentai
2014-07-14  9:52 ` Wei Liu
2014-07-14 10:53   ` Armin Zentai
2014-07-14 11:15     ` Wei Liu
2014-07-14 11:54 ` Zoltan Kiss
2014-07-14 12:07   ` Zoltan Kiss
2014-07-14 12:27     ` Zoltan Kiss
2014-07-14 12:14   ` Armin Zentai
2014-07-14 15:30     ` Zoltan Kiss
2014-07-14 21:15       ` Armin Zentai [this message]
2014-07-15  9:32         ` Wei Liu
2014-07-17 19:17     ` Zoltan Kiss
2014-07-20 17:20       ` Armin Zentai
2014-07-21 10:24         ` Zoltan Kiss

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=53C44854.4000008@ezit.hu \
    --to=armin.zentai@ezit.hu \
    --cc=xen-devel@lists.xen.org \
    --cc=zoltan.kiss@citrix.com \
    /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).