All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Daniel Mathew <danieljmathew@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Dom0 lockup
Date: Tue, 11 Jan 2011 11:48:39 -0500	[thread overview]
Message-ID: <20110111164839.GH10897@dumpdata.com> (raw)
In-Reply-To: <AANLkTimfBR7+ktg8a04P9BTJF3TjdCFwkkER8VbbZ_n1@mail.gmail.com>

On Thu, Jan 06, 2011 at 01:02:27PM +0530, Daniel Mathew wrote:
> Hi,
> 
> I have been doing some development on HVM. I am passing data between dom0
> and an HVM domU in chunks of 256K in a ring buffer, similar to what the
> console does. A few seconds after starting domU, dom0 locks up; even the

Can you try to limit the guest and the domU to only use one CPU each?
And pin them? It might be that you are missing a couple of memory barriers
and you get your producer/consumer indexes out of sync?

> SysRq keys don't work. For debugging purposes, I have inserted some printk's
> in the hvmemul_read_io function that handles I/O in HVM mode. Prior to

Does the hypervisor serial console work? If so, you can make it print where
the guest or the Dom0 are stuck (it will only give you the eip, and a jumble
of stack, but you should be able to find where what those addresses correspond
to).

> starting domU, I hook up a dom0 file to capture the printk output. I found
> that the logs in this file are ok in the first half; after that, the printk
> outputs are jumbled. After a reset, I found that /var/log/xen/xend.log was
> also corrupted. This has been happening a few times, and I'm not sure how to
> debug the issue. Request some suggestions.
> 
> My development machine is a 4GB Core 2 Duo box. dom0: Debian Lenny (kernel
> version 2.6.32-25, 64bit).
> 
> Thanks,
> Daniel.

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

      reply	other threads:[~2011-01-11 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06  7:32 Dom0 lockup Daniel Mathew
2011-01-11 16:48 ` Konrad Rzeszutek Wilk [this message]

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=20110111164839.GH10897@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=danieljmathew@gmail.com \
    --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.