* how to debug xen itself?
@ 2011-12-25 12:19 Mohamad Rezaei
2011-12-27 8:44 ` Mohamad Rezaei
0 siblings, 1 reply; 5+ messages in thread
From: Mohamad Rezaei @ 2011-12-25 12:19 UTC (permalink / raw)
To: xen-devel
hi,
I am trying to debug xen hypervisor through gdb, and its kgdb. I have
compiled xen with these options: --> make debug=y optimize=0
crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
I was expecting xen to stop, and wait for my gdb connection through
serial port, but it boots up flawlessly. I am not sure what is my
problem. Should I do something other than that.
I am doing this because I want to use debugger to get better view of xen
internals.
--
Best Regards,
Mohamad Rezaei
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to debug xen itself?
2011-12-25 12:19 how to debug xen itself? Mohamad Rezaei
@ 2011-12-27 8:44 ` Mohamad Rezaei
2011-12-27 11:00 ` Tim Deegan
0 siblings, 1 reply; 5+ messages in thread
From: Mohamad Rezaei @ 2011-12-27 8:44 UTC (permalink / raw)
To: xen-devel
On 12/25/2011 03:49 PM, Mohamad Rezaei wrote:
> hi,
>
> I am trying to debug xen hypervisor through gdb, and its kgdb. I have
> compiled xen with these options: --> make debug=y optimize=0
> crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
>
> I was expecting xen to stop, and wait for my gdb connection through
> serial port, but it boots up flawlessly. I am not sure what is my
> problem. Should I do something other than that.
>
> I am doing this because I want to use debugger to get better view of xen
> internals.
>
Can someone just let me know if I am doing something wrong?
--
Best Regards,
Mohamad Rezaei
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to debug xen itself?
2011-12-27 8:44 ` Mohamad Rezaei
@ 2011-12-27 11:00 ` Tim Deegan
2011-12-27 11:50 ` Pasi Kärkkäinen
0 siblings, 1 reply; 5+ messages in thread
From: Tim Deegan @ 2011-12-27 11:00 UTC (permalink / raw)
To: Mohamad Rezaei; +Cc: xen-devel
At 12:14 +0330 on 27 Dec (1324988042), Mohamad Rezaei wrote:
> On 12/25/2011 03:49 PM, Mohamad Rezaei wrote:
> > hi,
> >
> > I am trying to debug xen hypervisor through gdb, and its kgdb. I have
> > compiled xen with these options: --> make debug=y optimize=0
> > crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
> >
> > I was expecting xen to stop, and wait for my gdb connection through
> > serial port, but it boots up flawlessly. I am not sure what is my
> > problem. Should I do something other than that.
> >
> > I am doing this because I want to use debugger to get better view of xen
> > internals.
> >
> Can someone just let me know if I am doing something wrong?
You asked your question on Christmas Day - most people in Europe and the
USA are on holiday, so you shouldn't expect an answer to your question.
I don't use the gdb debugger so I can't help you; I don't think many
people do, so you may en up debugging the debugger yourself.
Tim.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to debug xen itself?
2011-12-27 11:00 ` Tim Deegan
@ 2011-12-27 11:50 ` Pasi Kärkkäinen
2011-12-27 12:28 ` Ian Campbell
0 siblings, 1 reply; 5+ messages in thread
From: Pasi Kärkkäinen @ 2011-12-27 11:50 UTC (permalink / raw)
To: Tim Deegan; +Cc: xen-devel, Mohamad Rezaei
On Tue, Dec 27, 2011 at 11:00:32AM +0000, Tim Deegan wrote:
> At 12:14 +0330 on 27 Dec (1324988042), Mohamad Rezaei wrote:
> > On 12/25/2011 03:49 PM, Mohamad Rezaei wrote:
> > > hi,
> > >
> > > I am trying to debug xen hypervisor through gdb, and its kgdb. I have
> > > compiled xen with these options: --> make debug=y optimize=0
> > > crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
> > >
> > > I was expecting xen to stop, and wait for my gdb connection through
> > > serial port, but it boots up flawlessly. I am not sure what is my
> > > problem. Should I do something other than that.
> > >
> > > I am doing this because I want to use debugger to get better view of xen
> > > internals.
> > >
> > Can someone just let me know if I am doing something wrong?
>
> You asked your question on Christmas Day - most people in Europe and the
> USA are on holiday, so you shouldn't expect an answer to your question.
>
> I don't use the gdb debugger so I can't help you; I don't think many
> people do, so you may en up debugging the debugger yourself.
>
Some google-hits:
"[Xen-devel] Debugging XEN Hypervisor":
http://old-list-archives.xen.org/archives/html/xen-devel/2009-10/msg00328.html
"[Xen-devel] Debugging XEN Hypervisor":
http://old-list-archives.xen.org/archives/html/xen-devel/2009-09/msg01064.html
"[Xen-devel] kdb does not support XEN?":
http://old-list-archives.xen.org/archives/html/xen-devel/2010-12/msg01519.html
Hopefully those help..
-- Pasi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to debug xen itself?
2011-12-27 11:50 ` Pasi Kärkkäinen
@ 2011-12-27 12:28 ` Ian Campbell
0 siblings, 0 replies; 5+ messages in thread
From: Ian Campbell @ 2011-12-27 12:28 UTC (permalink / raw)
To: Pasi Kärkkäinen
Cc: xen-devel@lists.xensource.com, Tim (Xen.org), Mohamad Rezaei
On Tue, 2011-12-27 at 11:50 +0000, Pasi Kärkkäinen wrote:
> On Tue, Dec 27, 2011 at 11:00:32AM +0000, Tim Deegan wrote:
> > At 12:14 +0330 on 27 Dec (1324988042), Mohamad Rezaei wrote:
> > > On 12/25/2011 03:49 PM, Mohamad Rezaei wrote:
> > > > hi,
> > > >
> > > > I am trying to debug xen hypervisor through gdb, and its kgdb. I have
> > > > compiled xen with these options: --> make debug=y optimize=0
> > > > crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
> > > >
> > > > I was expecting xen to stop, and wait for my gdb connection through
> > > > serial port, but it boots up flawlessly. I am not sure what is my
> > > > problem. Should I do something other than that.
> > > >
> > > > I am doing this because I want to use debugger to get better view of xen
> > > > internals.
> > > >
> > > Can someone just let me know if I am doing something wrong?
> >
> > You asked your question on Christmas Day - most people in Europe and the
> > USA are on holiday, so you shouldn't expect an answer to your question.
> >
> > I don't use the gdb debugger so I can't help you; I don't think many
> > people do, so you may en up debugging the debugger yourself.
> >
>
> Some google-hits:
>
> "[Xen-devel] Debugging XEN Hypervisor":
> http://old-list-archives.xen.org/archives/html/xen-devel/2009-10/msg00328.html
>
> "[Xen-devel] Debugging XEN Hypervisor":
> http://old-list-archives.xen.org/archives/html/xen-devel/2009-09/msg01064.html
>
> "[Xen-devel] kdb does not support XEN?":
> http://old-list-archives.xen.org/archives/html/xen-devel/2010-12/msg01519.html
>
>
> Hopefully those help..
As might http://xenbits.xen.org/docs/unstable/misc/crashdb.txt.
Mohamad -- if you figure this out please consider updating the above
document by posting a patch against xen-unstable.hg
docs/misc/crashdb.txt or perhaps by creating a wiki page.
Ian.
>
> -- Pasi
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-27 12:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-25 12:19 how to debug xen itself? Mohamad Rezaei
2011-12-27 8:44 ` Mohamad Rezaei
2011-12-27 11:00 ` Tim Deegan
2011-12-27 11:50 ` Pasi Kärkkäinen
2011-12-27 12:28 ` Ian Campbell
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).