From: Julian Stecklina <der_julian@web.de>
To: xen-devel@lists.xensource.com
Subject: Xen refuses to load minimal dom0 kernel
Date: Mon, 22 Jan 2007 02:08:33 +0100 [thread overview]
Message-ID: <ep2ahk$8pu$1@sea.gmane.org> (raw)
Hello,
I am trying to link a minimal Domain 0 kernel (adapted from the
Mini-OS), but when Xen tries to build the Domain 0 it panics:
"Domain 0 allocation is too small for kernel image."
which is caused by the following code in xen/arch/x86/domain_build.c:
order = get_order_from_bytes(v_end - dsi.v_start);
if ( (1UL << order) > nr_pages )
panic("Domain 0 allocation is too small for kernel image.\n");
The linker script I am using is adapted from the Mini-OS and links .text
at 0xC0000000 + 0x100000, just like the Linux kernel does. Does any
one has any hints what I am doing wrong and what this test actually
checks for?
Regards,
Julian
next reply other threads:[~2007-01-22 1:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-22 1:08 Julian Stecklina [this message]
2007-01-23 19:12 ` Xen refuses to load minimal dom0 kernel Grzegorz Milos
2007-01-24 14:21 ` Julian Stecklina
2007-01-24 14:49 ` Puthiyaparambil, Aravindh
2007-01-25 13:44 ` Julian Stecklina
2007-01-29 22:33 ` Puthiyaparambil, Aravindh
2007-01-30 15:52 ` Julian Stecklina
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='ep2ahk$8pu$1@sea.gmane.org' \
--to=der_julian@web.de \
--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 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.