From: Dave Hansen <haveblue@us.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Haren Myneni [imap]" <haren@us.ibm.com>
Subject: 2.6.10-rc2-mm2 crashes in early boot
Date: Fri, 19 Nov 2004 16:03:54 -0800 [thread overview]
Message-ID: <1100909034.6236.11.camel@localhost> (raw)
I enabled crashdump on 2.6.10-rc2-mm2 with CONFIG_SMP=y and hit the bug
in smp_alloc_memory() because trampoline_base was allocated too high.
It needs to be below 0x9F000 and crash_reserve_bootmem() reserves
everything below 0xa0000. I'm not sure how this ever worked with SMP.
Here's my .config: http://sprucegoose.sr71.net/~dave/lkcd-config
Commenting out the following line makes it boot:
static inline void crash_reserve_bootmem(void)
{
if (!dump_enabled) {
-------> reserve_bootmem(0, CRASH_RELOCATE_SIZE);
reserve_bootmem(CRASH_BACKUP_BASE,
CRASH_BACKUP_SIZE + CRASH_RELOCATE_SIZE + PAGE_SIZE);
}
}
The comments don't quite tell *why* LKCD needs any of the memory. (Oh,
wait, there *aren't* any comments :)
-- Dave
next reply other threads:[~2004-11-20 0:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-20 0:03 Dave Hansen [this message]
2004-11-20 1:02 ` 2.6.10-rc2-mm2 crashes in early boot Dave Hansen
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=1100909034.6236.11.camel@localhost \
--to=haveblue@us.ibm.com \
--cc=akpm@osdl.org \
--cc=haren@us.ibm.com \
--cc=linux-kernel@vger.kernel.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.