This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Can I use SGI's kdb with a dom0 pv-ops kernel?

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Can I use SGI's kdb with a dom0 pv-ops kernel?
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Wed, 30 Jun 2010 09:44:46 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 30 Jun 2010 09:45:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WdV3UyYtTXmjE/FlG58QtiXdpBlKwJRry8pwMQ4sLSY=; b=VJN1xpGZIvjZcAeUgWEKBOg9aQUAlrlmh34ktHTW43+HXeI8E7oh7yluh9m1WONzzQ phODIXR7XO3XwH2QALcuwcCeD7L2tTjI5JrZtiuycwUiz6AsoBs2beJJvnVlu8MvYgys 1UDNn8jKymR0ImJ9r0kmUon8rXrGJAq2ubmF8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oKxhbQthunmEtGZKS27iMHWcG/sFLMfH5QrdwfGp0t9P3bqTv+oV+63rfzQuOpLhg5 JE7q4gSQmxfJWmlV3ezL0PZQvtrL69Q+7gh5W3HhkAwYb1Sl9QR4y34kInWx8FjagZGU gG6I6LC3xgjQIqLPoocxwmVBtLCeH+qKMTuxk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100630161133.GD5100@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTim2zaJOu5rWZTEcb4GwLy9tFz85lR6SP6lFFxkj@xxxxxxxxxxxxxx> <20100630161133.GD5100@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jun 30, 2010 at 9:11 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
On Tue, Jun 29, 2010 at 03:05:42PM -0700, Bruce Edge wrote:
> I asked this a few weeks ago but didn't get a response, so at the risk of
> being a nag, I'll abbreviate and restate.
> I know there are other Xen specific debuggers, but I want to know if there's
> any reason why SGI's kdb, http://oss.sgi.com/projects/kdb, should not be
> included in a dom0 pv-ops kernel?

Upstream is integrating one that I think is in 2.6.33
or 2.6.34. So when we rev up that we will get it for free.

Which upstream source is doing this integration? I'm not seeing any reference to it on 

> While the patches apply cleanly and build, the result is that one drops into
> kdb on an oops the serial keyboard is non-functional.
> Is this a problem inherent in including an incompatible debugger, or perhaps
> just something wrong in a .config?

What is your serial setup?

Virtual direct connect via iLO. 
Are you using the serial console also for Xen?

Is the serial console that Dom0 sees usuable outside kdb?

As in, can you use a null modem connection and poke Dom0 via that?

Yep. The main connection to these boxes is the serial port. The kernel cmdline has "console=hvc0,115200n8" so I get boot output on it, I'm using  "exec /sbin/getty -8 38400 hvc0" to get a login on the serial console, which works fine. The 3xCtrl-A also works. 
It's only KDB that doesn't like it. It appears kdb can output to the console but cannot read from it.

These are the kdb patch files I used: (from http://oss.sgi.com/projects/kdb)
-r--r--r-- 1 bedge wlvusers 199234 2010-06-22 11:22 kdb-v4.4-2.6.32-common-3.bz2
-r--r--r-- 1 bedge wlvusers 136442 2010-06-22 11:22 kdb-v4.4-2.6.32-x86-3.bz2

.config changes:

# CONFIG_KDB_OFF is not set

> Does anyone else use this debugger for dom0 work ?

I haven't used it.

Thanks for the info Konrad.

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>