From: Goncalo Gomes <Goncalo.Gomes@EU.CITRIX.COM>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Konrad Rzeszutek Wilk <konrad@darnok.org>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"dave.mccracken@oracle.com" <dave.mccracken@oracle.com>
Subject: Re: crash in is_xen_swiotlb_buffer
Date: Thu, 3 May 2012 11:20:34 +0100 [thread overview]
Message-ID: <20120503102034.GA11043@eire.uk.xensource.com> (raw)
In-Reply-To: <20120502195035.GA31755@phenom.dumpdata.com>
On Wed, 02 May 2012, Konrad Rzeszutek Wilk wrote:
...snip...
> > [ 0.000000] Hardware name: PowerEdge R310
> > [ 0.000000] Modules linked in:
> > [ 0.000000] Pid: 0, comm: swapper Not tainted 3.2.9 #9
> > [ 0.000000] Call Trace:
> > [ 0.000000] [<c104236b>] ? warn_slowpath_common+0x6a/0x7b
> > [ 0.000000] [<c1005442>] ? xen_mc_issue+0x34/0x62
> > [ 0.000000] [<c1042389>] ? warn_slowpath_null+0xd/0x10
> > [ 0.000000] [<c1005442>] ? xen_mc_issue+0x34/0x62
> > [ 0.000000] [<c1005f3b>] ? xen_set_pmd_hyper+0x3c/0x42
> > [ 0.000000] [<c102edbe>] ? set_pmd_pfn+0xde/0xf9
> > [ 0.000000] [<c168b652>] ? init_alloc_remap+0x1b3/0x216
> > [ 0.000000] [<c168aa48>] ? setup_node_data+0x4c/0x22f
> > [ 0.000000] [<c168b203>] ? T.744+0x290/0x2c2
> > [ 0.000000] [<c168b2ac>] ? T.743+0x77/0x1a1
> > [ 0.000000] [<c1025290>] ? default_get_apic_id+0x14/0x33
> > [ 0.000000] [<c168b3ed>] ? initmem_init+0x5/0xb7
> > [ 0.000000] [<c167cef4>] ? setup_arch+0x5bf/0x694
> > [ 0.000000] [<c100b840>] ? __spin_time_accum+0x26/0x36
> > [ 0.000000] [<c167852c>] ? start_kernel+0x81/0x34d
> > [ 0.000000] [<c167a258>] ? xen_start_kernel+0x554/0x55b
> > [ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
>
> So I've been able to reproduce this and it is due to CONFIG_NUMA=y
> set on 32-bit builds.
>
> From a brief look, it looks as this is happening:
>
> /* perform actual remap */
> for (pfn = 0; pfn < size >> PAGE_SHIFT; pfn += PTRS_PER_PTE)
> set_pmd_pfn((unsigned long)remap_va + (pfn << PAGE_SHIFT),
> (node_pa >> PAGE_SHIFT) + pfn,
> PAGE_KERNEL_LARGE);
>
> The PAGE_KERNEL_LARGE means that the PSE bit (so the 2MB) is set
> which is a no-no. What is weird is that acpi_numa is disabled when booting
> under Xen, but somehow this (which in my case was the 'fake_numa' code)
> still gets turned on. Even doing 'numa=off' on the command line causes
> this to appear.
Thanks for the investigation, I'll turn off NUMA in my config.
Goncalo
prev parent reply other threads:[~2012-05-03 10:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 16:32 crash in is_xen_swiotlb_buffer Goncalo Gomes
2012-03-13 8:39 ` Konrad Rzeszutek Wilk
2012-03-13 14:26 ` Goncalo Gomes
2012-03-13 14:27 ` Goncalo Gomes
2012-03-13 15:58 ` Goncalo Gomes
2012-03-13 16:57 ` Konrad Rzeszutek Wilk
2012-03-13 17:14 ` Goncalo Gomes
2012-03-13 16:55 ` Konrad Rzeszutek Wilk
2012-03-13 17:15 ` Goncalo Gomes
2012-03-13 17:32 ` Goncalo Gomes
2012-03-13 17:35 ` Konrad Rzeszutek Wilk
2012-03-13 18:04 ` Goncalo Gomes
2012-03-13 19:09 ` Goncalo Gomes
2012-03-13 19:25 ` Konrad Rzeszutek Wilk
2012-03-13 22:34 ` Goncalo Gomes
2012-03-13 22:33 ` Konrad Rzeszutek Wilk
2012-03-13 23:45 ` Konrad Rzeszutek Wilk
2012-03-16 19:11 ` Goncalo Gomes
2012-03-16 19:59 ` Konrad Rzeszutek Wilk
2012-03-18 15:50 ` Goncalo Gomes
2012-05-02 19:50 ` Konrad Rzeszutek Wilk
2012-05-03 10:20 ` Goncalo Gomes [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=20120503102034.GA11043@eire.uk.xensource.com \
--to=goncalo.gomes@eu.citrix.com \
--cc=dave.mccracken@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=konrad@darnok.org \
--cc=xen-devel@lists.xensource.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).