From: David Vrabel <david.vrabel@citrix.com>
To: Vincent Bernardoff <vb@luminar.eu.org>
Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
xen-devel@lists.xen.org
Subject: Re: Crashing kernel with dom0/libxc gnttab/gntshr
Date: Tue, 30 Jul 2013 17:58:38 +0100 [thread overview]
Message-ID: <51F7F0BE.1040503@citrix.com> (raw)
In-Reply-To: <51F7E0AE.4060605@luminar.eu.org>
On 30/07/13 16:50, Vincent Bernardoff wrote:
> I also have a bug using tools/libvchan/vchan-node1:
>
> When killing the server node (sudo ./vchan-node1 server read 0
> /local/domain/0/vchan) before the client node (sudo ./vchan-node1 client
> write 0 /local/domain/0/vchan), the following dmesg error appears.
Does this only happen if both client and server are in the same domain?
Have you tested it using two domains? Did it work?
> I'm using Xen unstable (master branch) and stock Archlinux 3.10.3-1-ARCH
> kernel.
>
> Use the following script (setup.sh) if you want to try reproducing it
> with vchan-node1, vchan-node1 indeed needs some xenstore keys to be
> written in order to work correctly.
[ 902.729307] BUG: Bad page map in process vchan-node1 pte:12bfff167
pmd:b9b5c067
[ 902.729312] page:ffffea0004afffc0 count:1 mapcount:-1 mapping:
(null) index:0xffffffffffffffff
I think this is the test for page_mapcount(page) < 0 in zap_pte_range().
This has looked up the page using the PTE it is trying to clear. Has
it found the correct page? Since the MFN is currently mapped into the
same domain, has the m2p_override stuff confused the look up and it is
checking the grantee page not the granter?
David
next prev parent reply other threads:[~2013-07-30 16:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-30 10:50 Crashing kernel with dom0/libxc gnttab/gntshr Vincent Bernardoff
2013-07-30 10:59 ` Ian Campbell
2013-07-30 13:41 ` Vincent Bernardoff
2013-07-30 15:50 ` Vincent Bernardoff
2013-07-30 15:55 ` Ian Campbell
2013-07-30 16:58 ` David Vrabel [this message]
2013-07-30 21:03 ` Daniel De Graaf
2013-08-02 13:50 ` Stefano Stabellini
2013-08-02 14:10 ` Ian Campbell
2013-08-02 16:49 ` Jeremy Fitzhardinge
2013-08-02 17:02 ` Stefano Stabellini
2013-08-03 10:06 ` Ian Campbell
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=51F7F0BE.1040503@citrix.com \
--to=david.vrabel@citrix.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=stefano.stabellini@eu.citrix.com \
--cc=vb@luminar.eu.org \
--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 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).