* Minimal fileset for Xenstore domU boot
@ 2005-09-27 13:24 Jacob Gorm Hansen
2005-09-27 13:43 ` Keir Fraser
0 siblings, 1 reply; 5+ messages in thread
From: Jacob Gorm Hansen @ 2005-09-27 13:24 UTC (permalink / raw)
To: xen-devel
hi,
I am trying to figure out how to boot a domain using Xenstore. My
current setup does not allow me to install the XenD family of tools
and technologies onto my debug machines, and usually I am able to get
by using vmtools instead.
Could someone give me a rough skech of what I need to tell Xenstore in
order for my domain to complete booting? I have disabled both the
blkfront and netfront drivers in Linux, but booting still hangs at
some point after xenbus has been initialized.
How do I access the console, do I need to run xenconsoled?
Thanks,
Jacob
--
Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Minimal fileset for Xenstore domU boot
2005-09-27 13:24 Minimal fileset for Xenstore domU boot Jacob Gorm Hansen
@ 2005-09-27 13:43 ` Keir Fraser
2005-09-27 13:55 ` Jacob Gorm Hansen
0 siblings, 1 reply; 5+ messages in thread
From: Keir Fraser @ 2005-09-27 13:43 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
On 27 Sep 2005, at 14:24, Jacob Gorm Hansen wrote:
> Could someone give me a rough skech of what I need to tell Xenstore in
> order for my domain to complete booting? I have disabled both the
> blkfront and netfront drivers in Linux, but booting still hangs at
> some point after xenbus has been initialized.
>
> How do I access the console, do I need to run xenconsoled?
Yes, you do, and xenconsoled requires xenstored. And your tools must
introduce xenstored to the new domain when it is built.
Without xenconsoled the new domain will stall waiting for the console
ring to empty, which never happens.
-- Keir
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Minimal fileset for Xenstore domU boot
2005-09-27 13:43 ` Keir Fraser
@ 2005-09-27 13:55 ` Jacob Gorm Hansen
2005-09-27 14:07 ` Keir Fraser
2005-09-27 18:10 ` Anthony Liguori
0 siblings, 2 replies; 5+ messages in thread
From: Jacob Gorm Hansen @ 2005-09-27 13:55 UTC (permalink / raw)
To: xen-devel
On 9/27/05, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:
>
> Yes, you do, and xenconsoled requires xenstored. And your tools must
> introduce xenstored to the new domain when it is built.
>
> Without xenconsoled the new domain will stall waiting for the console
> ring to empty, which never happens.
Thanks, I removed the domU console driver for now and my domain boots.
xc_linux_build() takes a console_evtchn as argument, what is the
strategy for obtaining that value from xenconsoled?
Jacob
--
Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Minimal fileset for Xenstore domU boot
2005-09-27 13:55 ` Jacob Gorm Hansen
@ 2005-09-27 14:07 ` Keir Fraser
2005-09-27 18:10 ` Anthony Liguori
1 sibling, 0 replies; 5+ messages in thread
From: Keir Fraser @ 2005-09-27 14:07 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
On 27 Sep 2005, at 14:55, Jacob Gorm Hansen wrote:
> Thanks, I removed the domU console driver for now and my domain boots.
> xc_linux_build() takes a console_evtchn as argument, what is the
> strategy for obtaining that value from xenconsoled?
The tools must write the page frame number of the console page, and the
local event-channel port (that is, domain0's port, not console_evtchn
which is domainU's port) to xenstore at:
<path_to_domU>/console/ring-ref
<path_to_domU>/console/port
See console/daemon/io.c.
-- Keir
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Minimal fileset for Xenstore domU boot
2005-09-27 13:55 ` Jacob Gorm Hansen
2005-09-27 14:07 ` Keir Fraser
@ 2005-09-27 18:10 ` Anthony Liguori
1 sibling, 0 replies; 5+ messages in thread
From: Anthony Liguori @ 2005-09-27 18:10 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
Jacob Gorm Hansen wrote:
>On 9/27/05, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:
>
>
>>Yes, you do, and xenconsoled requires xenstored. And your tools must
>>introduce xenstored to the new domain when it is built.
>>
>>Without xenconsoled the new domain will stall waiting for the console
>>ring to empty, which never happens.
>>
>>
>
>Thanks, I removed the domU console driver for now and my domain boots.
>xc_linux_build() takes a console_evtchn as argument, what is the
>strategy for obtaining that value from xenconsoled?
>
>
Setting up the console is just like setting up xenstore. The tools have
to create an interdomain evtchn between domain-0 and the remote domain.
The xc_linux_build function will return to MFNs. You have to introduce
the domain with the local evtchn for the store and the store MFN. Then
you have to write the local console evtchn and console MFN to the store.
Regards,
Anthony Liguori
>Jacob
>--
>Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-27 18:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27 13:24 Minimal fileset for Xenstore domU boot Jacob Gorm Hansen
2005-09-27 13:43 ` Keir Fraser
2005-09-27 13:55 ` Jacob Gorm Hansen
2005-09-27 14:07 ` Keir Fraser
2005-09-27 18:10 ` Anthony Liguori
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.