From: Don Zickus <dzickus@redhat.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: [RFH] xen domain0 failover stuff
Date: Thu, 30 Mar 2006 16:35:11 -0500 [thread overview]
Message-ID: <20060330213511.GB4802@redhat.com> (raw)
In-Reply-To: <cea9bc0da1c55019f130fb0245ce9e25@cl.cam.ac.uk>
On Mon, Mar 27, 2006 at 11:38:10PM +0100, Keir Fraser wrote:
>
> On 27 Mar 2006, at 23:08, Don Zickus wrote:
>
> >I am ignorantly trying to find a way to start a second domain0 when the
> >first domain0 crashes. My original intent was to find a way to
> >collect a
> >core file much in the same way the domainU core files are collected on
> >a
> >linux box.
> >
> >I managed to hack in some hooks to get a second domain0 loaded and
> >started
> >upon a crash. However, I am stuck without console output, ie printk()
> >is
> >not working. Oddly, early_printk() works fine and I can sort of track
> >the
> >progress of the second domain0 as it boots. So my first question is
> >how
> >does the serial console (not vga) magic work for a domain0 kernel? Do
> >I
> >have to set some internal domain bits to have the console output
> >redirected to the serial port as opposed to userspace and xend (ala
> >domainU kernels)?
>
> The new domain0 must have SIF_INITDOMAIN flag set in its start_info
> flags.
>
> -- Keir
Continuing on my project to get a domain0 to failover to a second domain0,
I have stumbled upon an out of memory problem. Does anyone know what type
of quirky scenario I would have had to create in order to have
xen_create_contiguous_region() fail within
swiotlb_init_with_default_size() of the linux x86_64 kernel?
I have managed to debug it down to alloc_heap_pages(MEMZONE_DMADOM, order)
returning NULL. But my problem is I couldn't figure out how those heaps
were created in the first place.
This domain is supposed to be configured with 256MB of memory (and "xm
list" confirms that). So for the actual domain to run out of memory seems
illogical.
Any thoughts, pointers, or help would be great.
Cheers,
Don
next prev parent reply other threads:[~2006-03-30 21:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-27 22:08 [RFH] xen domain0 failover stuff Don Zickus
2006-03-27 22:38 ` Keir Fraser
2006-03-28 15:32 ` Don Zickus
2006-03-30 21:35 ` Don Zickus [this message]
2006-03-31 5:48 ` Chris Wright
2006-03-31 15:44 ` Don Zickus
2006-03-31 15:56 ` Keir Fraser
2006-03-31 16:14 ` Don Zickus
2006-03-31 16:08 ` Ryan Harper
2006-04-03 15:53 ` Stephen C. Tweedie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060330213511.GB4802@redhat.com \
--to=dzickus@redhat.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.