From: Jayson King <jaysonk@sbcglobal.net>
To: kernel@kolivas.org, LKML <linux-kernel@vger.kernel.org>
Subject: SOLVED [Was: backporting BFS to 2.6.27]
Date: Sun, 04 Oct 2009 23:54:48 -0500 [thread overview]
Message-ID: <4AC97C18.4060601@sbcglobal.net> (raw)
In-Reply-To: <4AC6638E.3020803@sbcglobal.net>
Jayson King wrote:
> The kernel compiles, but it panics:
>
> Kernel alive
> Kernel really alive
> PANIC: early exception 0e rip 10:ffffffff810ad10b error 0 cr2 18.
>
> There's no stack trace but that address is in __kmalloc.
I enabled earlyprintk=vga in boot options and got a stack trace, which
pointed to a kmalloc call in sched_init. It turns out that this is a
no-no in 2.6.27 as page_alloc is not set up. Replacing the call with
alloc_bootmem instead allows the kernel to boot.
I will wrap up a new patch and post it in a bit.
Jayson
prev parent reply other threads:[~2009-10-05 4:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-02 20:33 backporting BFS to 2.6.27 Jayson King
2009-10-02 22:04 ` Jayson King
2009-10-05 4:54 ` Jayson King [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=4AC97C18.4060601@sbcglobal.net \
--to=jaysonk@sbcglobal.net \
--cc=kernel@kolivas.org \
--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.