[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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?

Yes
 
Is the serial console that Dom0 sees usuable outside kdb?

Yes
 
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=y
CONFIG_KDB_MODULES=y
# CONFIG_KDB_OFF is not set
CONFIG_KDB_CONTINUE_CATASTROPHIC=2



>
> Does anyone else use this debugger for dom0 work ?

I haven't used it.

Thanks for the info Konrad.

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.