From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Subject: Re: mini-os for Xen2 Date: Sat, 12 Feb 2005 06:01:03 -0500 Message-ID: References: Reply-To: Rick Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Hi, I am trying to get a program to load and run directly on XEN. I've been looking at mini-os but I have not been able to compile it. Anyhow, right now I am just trying to get a program to load and print "Hello World". So I've modified mini-os and removed everything from the compilation except for the files head.S and the function start_kernel() in kernel.c. my start_kernel() function looks like this: =========================================================== void start_kernel(start_info_t *si) { HYPERVISOR_console_io (CONSOLEIO_write, 11, "Hello World"); HYPERVISOR_shutdown(); } =========================================================== my head.S file looks like this: =========================================================== #include .globl _start, shared_info _start: cld lss stack_start,%esp push $shared_info call start_kernel stack_start: .long stack_start+8192, __KERNEL_DS /* Unpleasant -- the PTE that maps this page is actually overwritten */ /* to map the real shared-info page! :-) */ .org 0x1000 shared_info: .org 0x2000 =========================================================== In head.S I changed ================================= stack_start: .long stack+8192, __KERNEL_DS ================================= to ================================= stack_start: .long stack_start+8192, __KERNEL_DS ================================= because there were no symbols called "stack" When I try to load this program with XEN using "xm create" I get the following error: Error: Error creating domain: (0, 'Error') Is there something wrong with the Makefile and linking process that comes with mini-os ? Any help will be much appreciated. Thanks Rick On Fri, 11 Feb 2005 18:56:19 -0500, Rick wrote: > Hello, > > I am trying to compile the mini-os under xen2 > I am getting lot's of errors and I guess mini-os was written for a > much earlier version of xen. Is there an updated version of mini-os > somewhere ? Do you stop supporting mini-os ? > > Rick > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click