xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Debugging Dom0 kernel over serial
@ 2012-06-05 23:24 James Paton
  2012-06-06  9:13 ` Ian Campbell
  0 siblings, 1 reply; 13+ messages in thread
From: James Paton @ 2012-06-05 23:24 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-06-07 17:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 23:24 Debugging Dom0 kernel over serial James Paton
2012-06-06  9:13 ` Ian Campbell
2012-06-06 12:50   ` Daniel Kiper
2012-06-06 19:55     ` James Paton
2012-06-06 20:54       ` Ben Guthro
2012-06-06 21:25         ` Konrad Rzeszutek Wilk
2012-06-06 22:07         ` James Paton
2012-06-07 15:12           ` Konrad Rzeszutek Wilk
2012-06-07 17:04             ` Ben Guthro
2012-06-07 17:10               ` James Paton
2012-06-06 21:17   ` Mukesh Rathor
2012-06-07  6:27     ` Ian Campbell
2012-06-07 17:20       ` Mukesh Rathor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).