All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Liu Jian <gjk.liu@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: about kdb for Xen
Date: Fri, 27 Mar 2009 13:53:42 -0700	[thread overview]
Message-ID: <49CD3CD6.8080309@oracle.com> (raw)
In-Reply-To: <8c2dc7030903270351q17449595wecd280022336de3@mail.gmail.com>



Liu Jian wrote:
> On Fri, Mar 27, 2009 at 10:50 AM, Mukesh Rathor
> <mukesh.rathor@oracle.com> wrote:
>> I think I'm not following you. If you enter go first time, the system is
>> crashing. You are hitting an assert (BUG()) in the hypervisor. The
>> victim is accpting input as you are able to type the second "go" when
>> it's says cmd not avail in crash state.
>>
>> After the crash, you can use dr, f, dw, etc... all those commands but
>> not the "go" cmd.
>>
> 
> Yes, "df, f, dw" works well. But the second "go" not and it show as following:
> 
> [1]xkdb> go
> cmd not available in fatal/crashed state......
> 
> Of course, now target victim cannot accept any input.

You are saying you don't get kdb prompt back now?

> 
>> 1. what version of xen are you using?
> 
> All the code is cloned from your branch as following:
> 
> [root@localhost ~]hg clone http://xenbits.xensource.com/ext/debuggers.hg
> 
> In the compile process as following, It show the version is "3.4-unstable"
> 
>> 2. Are you compiling hyp with -DEBUG?
> 
> I just compile xen by:
> 
> [root@localhost xen>make kdb=y
> 
> Do you mean I need other parameters?

The problem is debug is turned on. kdb is not currently supported with
debug on, as I had said before. Do > make kdb=y debug=n
I also suggest frame_pointer=y to get reliable stacks.

Mukesh

  parent reply	other threads:[~2009-03-27 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3411131.2044551237885265110.JavaMail.nabble@isper.nabble.com>
2009-03-25  2:25 ` about kdb for Xen Mukesh Rathor
     [not found]   ` <8c2dc7030903242025o7a661a2yc9fa32370e7709d8@mail.gmail.com>
     [not found]     ` <49CC3EE1.5060807@oracle.com>
     [not found]       ` <8c2dc7030903270351q17449595wecd280022336de3@mail.gmail.com>
2009-03-27 20:53         ` Mukesh Rathor [this message]
     [not found]           ` <8c2dc7030903292141p1d08c7baiff8c53b1b4888476@mail.gmail.com>
2009-03-30 18:49             ` Mukesh Rathor

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=49CD3CD6.8080309@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=gjk.liu@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.