All of lore.kernel.org
 help / color / mirror / Atom feed
* about mini-os
@ 2008-01-22  9:23 余上
  2008-01-22 11:30 ` Samuel Thibault
  0 siblings, 1 reply; 4+ messages in thread
From: 余上 @ 2008-01-22  9:23 UTC (permalink / raw)
  To: xen-devel

Hi all ,

I find that it needs some hacks to run mini-os under xen-3.2 ,
followings are what I have done:

1, mini-os/arch/x86/x86_32.S , change the __xen_guest config :
from
        .ascii  ",VIRT_BASE=0x0" /* &_text from minios_x86_32.lds */
        .ascii  ",ELF_PADDR_OFFSET=0x0"
to
	.ascii	",VIRT_BASE=0x0C0000000" /* &_text from minios_x86_32.lds */
	.ascii	",ELF_PADDR_OFFSET=0x0C0000000"
because if I don't change VIRT_BASE xen will report "Initial loading
isn't allowed to lowest 1GB of memory"

2, mini-os/arch/x86/minios-x86_32.lds
from
  . = 0x0;
to
  . = 0x0C0000000;

so far , I can run mini-os to the banner and got a page fault:
Bootstraping ...
Xen Minimal OS!
Page fault at linear address 15555c08, eip c000cf61, code 0
(XEN) Domain 0 crashed

any idea ? Thank you very much
yushang

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-22 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22  9:23 about mini-os 余上
2008-01-22 11:30 ` Samuel Thibault
2008-01-22 12:16   ` 余上
2008-01-22 12:27     ` Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.