From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Ingo Molnar <mingo@elte.hu>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Pavel Machek <pavel@suse.cz>,
kernel list <linux-kernel@vger.kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>,
Andi Kleen <andi@firstfloor.org>
Subject: Re: CONFIG_NUMA breaks hibernation on x86-32 with PAE
Date: Mon, 10 Nov 2008 19:23:15 +0100 [thread overview]
Message-ID: <200811101923.16548.rjw@sisk.pl> (raw)
In-Reply-To: <20081110082802.GA22392@elte.hu>
On Monday, 10 of November 2008, Ingo Molnar wrote:
>
> * KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
>
> > On Mon, 10 Nov 2008 08:55:29 +0100
> > Pavel Machek <pavel@suse.cz> wrote:
> >
> > > >
> > > > * Pavel Machek <pavel@suse.cz> wrote:
> > > >
> > > > > ...at least on 2.6.27 and 2.6.28-rc3. Resume gets to
> > > > > acpi_hibernation_leave, then SLAB corruption is detected and machine
> > > > > ends in series of oops.
> > > > >
> > > > > Any ideas how to debug that?
> > > >
> > > > do you get any serial log or USB key output, so that it's debuggable
> > > > directly?
> > >
> > > Well, I can transcribe the BUG() from a picture, I guess, but it does
> > > not seem to contain much useful info: SLAB corruption was detected and
> > > backtrace is not quite important at that point...
> > >
> > > Serial console is probably possible, but would take few days to setup.
> > > Pavel
> >
> > How about this patch ?
> > ==
> > http://marc.info/?l=linux-mm-commits&m=122624388629106&w=2
> > ==
>
> note, that fix of Rafael's is now upstream as:
>
> c5d7124: Fix __pfn_to_page(pfn) for CONFIG_DISCONTIGMEM=y
>
> and included in v2.6.28-rc4.
>
> But yes, this area of code (the save/restore of memory maps) would be
> the main suspect to investigate.
It surely is, but the root cause need not be there, actually.
The problem only happens with CONFIG_NUMA enabled, only on 32-bit systems
and it _doesn't_ happen if the kernel is booted with highmem=0.
Evidently, CONFIG_NUMA is sufficient for the breakage to appear, even if
CONFIG_DISCONTIGMEM is not set (CONFIG_SPARSEMEM is set in this case, but
hibernation works with CONFIG_SPARSEMEM and without CONFIG_NUMA, both for
CONFIG_HIGHMEM64G=y).
I've been investigating this issue for quite some time now and it's starting
to look like a problem with kmap_atomic() or something along these lines.
Thanks,
Rafael
prev parent reply other threads:[~2008-11-10 18:18 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-09 14:07 Pavel Machek
2008-11-10 7:52 ` Ingo Molnar
2008-11-10 7:55 ` Pavel Machek
2008-11-10 8:04 ` Ingo Molnar
2008-11-10 8:28 ` Pavel Machek
2008-11-10 12:53 ` Ingo Molnar
2008-11-10 18:05 ` Andi Kleen
2008-11-10 18:33 ` Rafael J. Wysocki
2008-11-10 19:07 ` Andi Kleen
2008-11-10 12:55 ` Andi Kleen
2008-11-10 18:28 ` Rafael J. Wysocki
2008-11-11 10:30 ` Pavel Machek
2008-11-11 14:17 ` Rafael J. Wysocki
2008-11-11 10:45 ` Pavel Machek
2008-11-11 14:20 ` Rafael J. Wysocki
2008-11-11 15:03 ` Pavel Machek
2008-11-11 16:47 ` Rafael J. Wysocki
2008-11-12 10:49 ` Pavel Machek
2008-11-12 21:57 ` Rafael J. Wysocki
2008-11-12 22:22 ` [PATCH] x86: Hibernate: Fix breakage on x86_32 with CONFIG_NUMA set (was: Re: CONFIG_NUMA breaks hibernation on x86-32 with PAE) Rafael J. Wysocki
2008-11-12 22:26 ` [PATCH] x86: Make NUMA on 32-bit depend on EXPERIMENTAL again Rafael J. Wysocki
2008-11-12 22:29 ` Ingo Molnar
2008-11-12 22:29 ` [PATCH] x86: Hibernate: Fix breakage on x86_32 with CONFIG_NUMA set (was: Re: CONFIG_NUMA breaks hibernation on x86-32 with PAE) Ingo Molnar
2008-11-10 8:24 ` CONFIG_NUMA breaks hibernation on x86-32 with PAE KAMEZAWA Hiroyuki
2008-11-10 8:27 ` Pavel Machek
2008-11-10 8:28 ` Ingo Molnar
2008-11-10 18:23 ` Rafael J. Wysocki [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=200811101923.16548.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=andi@firstfloor.org \
--cc=hpa@zytor.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=pavel@suse.cz \
/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
all inboxes | Powered by JetHome®