All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
	ian.jackson@eu.citrix.com, xen-devel <xen-devel@lists.xen.org>,
	David Vrabel <david.vrabel@citrix.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: kernel BUG at drivers/xen/grant-table.c:923!
Date: Fri, 17 Apr 2015 11:49:32 +0100	[thread overview]
Message-ID: <1429267772.25195.266.camel@citrix.com> (raw)
In-Reply-To: <20150417104531.GA13083@zion.uk.xensource.com>

On Fri, 2015-04-17 at 11:45 +0100, Wei Liu wrote:
> On Fri, Apr 17, 2015 at 11:28:39AM +0100, Ian Campbell wrote:
> > (Was Re: [osstest test] 50423: regressions - FAIL)
> > 
> > This cropped up in an osstest flight (the results only go to Ian and I).
> > 
> > On Fri, 2015-04-17 at 11:10 +0100, Ian Campbell wrote:
> > > On Thu, 2015-04-16 at 21:36 +0000, osstest service user wrote:
> > > > flight 50423 osstest real [real]
> > > > http://logs.test-lab.xenproject.org/osstest/logs/50423/
> > > > 
> > > > Regressions :-(
> > > > 
> > > > Tests which did not succeed and are blocking,
> > > > including tests which could not be run:
> > > >  test-armhf-armhf-xl          15 guest-start/debian.repeat fail REGR. vs. 50331
> > > 
> > > 
> > > Looks to have been a real issue:
> > > 
> > > http://logs.test-lab.xenproject.org/osstest/logs/50423/test-armhf-armhf-xl/serial-cubietruck-gleizes.log
> > > Apr 14 19:01:21.834851 [ 1229.470934] ------------[ cut here ]------------
> > > Apr 14 19:01:22.445308 [ 1229.471001] kernel BUG at drivers/xen/grant-table.c:923!
> > 
> > This seems familiar, anyone remember it? (CCing ARM, netback and generic
> > Linux maintainers).
> > 
> > I had a look over
> > 
> > $ git log v3.16..origin/master -- drivers/net/xen-netback/ drivers/xen/ arch/*/xen
> > 
> > and nothing jumped out at me.
> > 
> > The new tests under flight include running tcpdump for the duration of
> > the migration. I wonder if that might have exposed the problem?
> > 
> > This is ARM for which osstest uses a 3.16 based kernel compared with x86
> > which is still on 3.14. That might explain why this was only seen on arm
> > (if tcpdump triggered it) or it might just be a very rare occurrence.
> > 
> 
> I've never seen this before. If I'm not mistaken this is referring to 
> 
>  918 void gnttab_batch_copy(struct gnttab_copy *batch, unsigned count)
>  919 {
>  920         struct gnttab_copy *op;
>  921
>  922         if (HYPERVISOR_grant_table_op(GNTTABOP_copy, batch, count))
>  923                 BUG();
>  924         for (op = batch; op < batch + count; op++)
>  925                 if (op->status == GNTST_eagain)
>  926                         gnttab_retry_eagain_gop(GNTTABOP_copy, op,
>  927                                                 &op->status, __func__);
>  928 }
> 
> Grant table op hypercall returns an error.
> 
> Would be useful to know what the actually error is.

Based on r0 I think -EFAULT.

Ian.

      reply	other threads:[~2015-04-17 10:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <osstest-50423-mainreport@xen.org>
     [not found] ` <1429265400.25195.246.camel@citrix.com>
2015-04-17 10:18   ` [PATCH OSSTEST] sg-run-job: Repeat rumpuserxen-demo-xenstorels test 150 times Ian Campbell
2015-05-14 10:44     ` Ian Jackson
2015-04-17 10:28   ` kernel BUG at drivers/xen/grant-table.c:923! Ian Campbell
2015-04-17 10:31     ` David Vrabel
2015-04-17 10:47       ` Ian Campbell
2015-04-17 10:45     ` Wei Liu
2015-04-17 10:49       ` Ian Campbell [this message]

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=1429267772.25195.266.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.