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] Bugs in mini-os on i386 architecture

To: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Subject: Re: [Xen-devel] Bugs in mini-os on i386 architecture
From: Grzegorz Milos <gm281@xxxxxxxxx>
Date: Thu, 23 Mar 2006 19:26:24 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 23 Mar 2006 19:28:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EF8D308BE33AF54D8934DF26520252D3041DC816@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <EF8D308BE33AF54D8934DF26520252D3041DC816@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051025)
This is not a bug (it's a feature :) ).

As soon as console is initialised the output is no longer printed to the emergency console. It is available through the usual: xm console <dom_name>. If you want to print something to the emergency console use newly defined function: xprintk.

Cheers
Gregor


I am finding the same issues with x86_64 too. So I think this patch
needs to go in.
Gregor, do you agree? I am also found that minios i386 and x86_64, now
does not complete console_init() with the latest changeset
9364:22f1618cf57c. Any idea why this is happening?
Cheers,
Aravindh

xenbox:~/xen/xen-unstable/extras/mini-os # xm create -c domain_config Using config file "domain_config".
Started domain Mini-OS
xenconsole: Could not read tty from store: No such file or directory
Bootstrapping...
Xen Minimal OS!
start_info:   ffffffff00028000
  nr_pages:   8192  shared_inf: 00faf000
  pt_base:    ffffffff0002b000  mod_start:  0x0
  mod_len:    0
  flags:      0x0
cmd_line: MM: Init
  _text:        ffffffff00000000
  _etext:       ffffffff0000c67a
  _edata:       ffffffff0000de78
  stack start:  ffffffff00014be0
  _end:         ffffffff00017088
  start_pfn:    33
  max_pfn:      2000
Mapping memory range 0xffffffff00400000 - 0xffffffff02000000
MM: Initialise page allocator for
ffffffff00041000(41000)-ffffffff02000000(2000000)
MM: done
Initialising timer interface
Initialising console ...



-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Melvin Anderson
Sent: Monday, March 20, 2006 10:18 AM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Bugs in mini-os on i386 architecture

I have been trying to get mini-os to run on i386 architecture,
(xen-unstable.hg, 9325:1ecb7f1ddc79) but have hit problems:

-- header file extras/mini-os/include/console.h is missing,

-- type mismatch in extras/mini-os/xenbus/xenbus_xs.c causes compile
   to fail, and

-- page fault occurs in extras/mini-os/mm.c because page directory
table
   entries are set up incorrectly.  The array mmu_updates in
new_pt_frame()
   has zero entries, but should have at least 1 entry.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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