[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] mini-os under xen 3.0.2



Hello all,

I have successfully installed xen 3.0.2 on a dual celeron system. Linux in 
dom0 works fine. Now, I would like to play with the mini-os (my ultimate goal 
is to implement a small RTOS as guest in Xen, so mini-os looks like an ideal 
starting point). However, I can't seem to get it to run as (I think) it 
should: It boots up, but as far as I understand the source code and the 
README, it should continue by printing  the current time in regular 
intervals, which it does not. Here is the output I receive:


----------------------------------
 Xen Minimal OS!
start_info:   c001d000
  nr_pages:   8192  shared_inf: 00be3000
  pt_base:    c0020000  mod_start:  0x0
  mod_len:    0
  flags:      0x0
  cmd_line:
MM: Init
  _text:        c0000000
  _etext:       c0009577
  _edata:       c000a604
  stack start:  c0011e40
  _end:         c00142a4
  start_pfn:    25
  max_pfn:      2000
Mapping memory range 0xc0400000 - 0xc2000000
MM: Initialise page allocator for c002c000(2c000)-c2000000(2000000)
MM: done
Initialising timer interface
Initialising console ... done.
Initialising scheduler, idle_thread 00000000
Thread "Idle": pointer: 0xc002d00c, stack: 0xc002e000
Thread "init_xs": pointer: 0xc002d034, stack: 0xc0030000
Thread "xenstore": pointer: 0xc002d05c, stack: 0xc0032000
Xenbus initialised.
Thread "init_xs" exited.
--------------------------------

I have inserted some debug printk's into do_hypervisor_callback() to see 
whether any callbacks are made at all. According to this, a vtimer interrupt 
does happen, but only every 10 seconds, which -as I guess-  is far less 
frequent than it should be (The timer handler prints out the current time for 
every 1000th timer event, so it would take almost three hours before the 
first message ist printed). Also interesting is that whenever I hit a key on 
the keyboard, a timer interrupt is pending. It looks like the interrupt is 
somehow not "connected/enabled".

Does anyone have an idea what to do?

Cheers

Rob

P.S.: BTW, I have also tried to use the mini-os in from xen-untested. That one 
looks very different, but, alas, it does not even compile...



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.