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] How to disable xen debugger?

To: "Lily Huang" <ushuanglily@xxxxxxxxx>
Subject: Re: [Xen-devel] How to disable xen debugger?
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Wed, 07 Mar 2007 16:47:06 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Mar 2007 07:47:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4d616cca0703070731j1f008721jf9795f6ada8683d2@xxxxxxxxxxxxxx> (Lily Huang's message of "Wed, 7 Mar 2007 10:31:31 -0500")
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4d616cca0703060945t5a176b97v2e3462130796e433@xxxxxxxxxxxxxx> <87zm6plc2p.fsf@xxxxxxxxxxxxxxxxx> <4d616cca0703070731j1f008721jf9795f6ada8683d2@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
"Lily Huang" <ushuanglily@xxxxxxxxx> writes:

> Thanks a lot for your help! I already found the problem. My system is slowed
> down because of misconfiguration, nothing to do with the debugger.
> But another funny thing for me is that once I used ctrl+c to terminate
> gdbserver-xen, the dom0 will immediately reboot. My setting is as follows:
> 1. I ran gdbserver-xen in dom0, and ran my kernel modules in both dom0 and a
> domU. The kernel modules are essentially a frontend (in domU) and a backend 
> (in
> dom0) driver.
> 2. I then debugged the frontend in dom0
> 3. My code runs normally (at least, I didn't see anything wrong).
> After I debugged the code, I did ctrl+c to terminate gdbserver-xen, dom0
> immediatelly reboot, which is not expected. Any solution to this problem?

That's not supposed to happen.  Anything in the logs or on the
console?  Serial console helps with capturing stuff.

> Another question: is there any way to debug the kernel module running in dom0?
> gdbserver-xen seems to only debug domU.

I haven't tried that.

> Again, thanks a lot for your help!

You're welcome :)

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>