WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: mini-os for Xen2

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: mini-os for Xen2
From: Rick <judicator3@xxxxxxxxx>
Date: Mon, 14 Feb 2005 20:32:29 -0500
Delivery-date: Tue, 15 Feb 2005 01:35:11 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=eSFonPbmsJzV3BUP11gJHUBLeK5DeGGdFe6y1fotrH/MZMctBeHe2s/IZaRkUhAiOMbj7XeJgMi76+h3Q4EQsBKj7n5tFlqEU9lSOiPL9TARvBnEQp7cBS+FCoBcM8/Uzn2E63CNK3ibQkwR/mnvT+UPuNSSBQdpSuZm01E0uz0=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <a146ff9b05021318522b82f043@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1238BE@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <a146ff9b05021318522b82f043@xxxxxxxxxxxxxx>
Reply-to: Rick <judicator3@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > You need to be using a debug=y build of Xen to use console_io from an
> > unprivileged domain.
> >
> > Ian

Hello,

I was having some problems to boot XEN when it was compiled with
'debug=y'. But I was able to slove that. I just had to remove some of
the extra messages that get printed during the boot process when
'debug=y' is turned on and that seemed to solve the problem.

However, I still cannot get my mini-os to print something to the console. 
I modified the function "do_console_io()" in the file
xen/drivers/char/console.c  to catch whenever the mini-os tries to
write to the console.  "do_console_io()" is being invoked correctly
and the check that (current->id == 0 ) is NOT being performed since I
compiled with "debug=y".

So everything should be fine and the unprivileged mini-os should be
able to write to the console. But in the function call
"serial_puts(sercon_handle, kbuf)", sercon_handle is -1. So the
serial_puts() function is not being executed correctly.

Are there some initial setup I need to do in my mini-os in order to
use the console_io hypercalls.

Thanks
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>