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

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


  • To: "Markus Armbruster" <armbru@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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