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

[Xen-devel] Debugging Dom0 kernel over serial


  • To: xen-devel@xxxxxxxxxxxxx
  • From: James Paton <paton@xxxxxxxxxxx>
  • Date: Tue, 5 Jun 2012 18:24:19 -0500
  • Delivery-date: Tue, 05 Jun 2012 23:25:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi,

Apologies if this is not the appropriate list, but I thought I would 
have better luck here than on xen-users.

I'm a CS graduate student hacking on the xen-blkback driver and would 
like to be able to debug it using gdb over serial. I have spent a great 
deal of time on this with no success (more details can be found at 
http://bit.ly/KMEF6o (Stack Overflow)). 

It eventually occurred to me that it might not even be possible to do 
what I'm trying to do if Xen intercepts interrupts from the serial port 
and tries to direct them to dom0 through some unexpected channel. Then, 
after I've done `echo g > /proc/sysrq_trigger`, the kernel debugger 
might not see the interrupt. Can anyone confirm or disconfirm this? 
What is the usual procedure for debugging the Dom0 kernel?

Thank you,

James Paton

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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