From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Stecklina Subject: Xen refuses to load minimal dom0 kernel Date: Mon, 22 Jan 2007 02:08:33 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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