On Wed, Jun 30, 2010 at 9:11 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Upstream is integrating one that I think is in 2.6.33
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?
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
What is your serial setup?
> 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?
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.
-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_KDB_OFF is not set
I haven't used it.
> Does anyone else use this debugger for dom0 work ?
Thanks for the info Konrad.