WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] How to disable xen debugger?

To: "Markus Armbruster" <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] How to disable xen debugger?
From: "Lily Huang" <ushuanglily@xxxxxxxxx>
Date: Wed, 7 Mar 2007 10:31:31 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Mar 2007 07:31:00 -0800
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hO1cHFEJ+F5IR3oleT0UxkxIe5poqXN4nFWYz3YUho1oMky1YkbRiNesC4ArUBwPwYjCLd97SQIEuB9b9HW2fogxOIl+KxOI8dVjOQWCHeWMUvhiiCDY6jqFffeY2QAL1GOxiGesmvr7Pg0R+gEHgIPi/3gxfPHduVmmrOPyZ/4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sKc1++Grf+lII/Q/hKJTSh667CzP8mgpQvfJpnEvOtQH0f1oNsyJSAL7Q07D3RsxuXp8MoGlrmfEHWir3ZTPlgig2ynTazMm5N0scGjZnggVLiNYlzZZ8blie9HP6SwKbdZXITIHXbULNkulsMIa4vRDEUexWNiXY/xWs17q5kY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87zm6plc2p.fsf@xxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?

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

Again, thanks a lot for your help!

-l



On 3/7/07, Markus Armbruster <armbru@xxxxxxxxxx> wrote:
"Lily Huang" <ushuanglily@xxxxxxxxx> writes:

> Hi,
>
> I followed the instructions in tools/debugger/gdb/README to enable the xen
> debugging feature. But after that my system (a kernel module) works 10 times
> slower. Maybe the debugger slows down the running.
>
> What's the right way to reverse and disable the debugger? I tried to disable
> the "Kernel hacking -> Compile the kernel with debug info [*]" option. But it
> does not help. Any ideas?

Just terminate gdbserver-xen.

If that doesn't do it: What are your exact steps from `runs normally'
to `runs slowly'?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>