Greetings, I am trying to debug a Xen crash and need some help. When I am attempting to use the (relatively) new adjust_global scheduler callback function, the machine reboots (this may be due to other changes I have made in the hypervisor to modify DornerWorks'' ARINC 653 scheduler to work with CPU pools). I have enabled xend/xenstored tracing, but the log files do not contain anything useful. I have used gdb to trace to the point where the hypercall is made from Dom0 to the hypervisor, but do not know how to proceed from here. I have read about using kdb to debug the hypervisor, but I am a bit confused. It looks as though kdb (in http://xenbits.xensource.com/ext/debuggers.hg) is integrated into a particular branch of Xen, which is not kept synchronized with the current version of xen-unstable. Can I use kdb with any version of Xen? If so, how? What files do I need to download and what should I do to build them? Or does someone have other suggestions? Thank you, Kathy Hadley DornerWorks, Ltd. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Connect a serial line and collect the hypervisor''s debug console output. You''ll probably get a crash dump when the machine reboots itself. -- Keir On 15/06/2010 14:13, "Kathy Hadley" <Kathy.Hadley@dornerworks.com> wrote:> Greetings, > I am trying to debug a Xen crash and need some help. When I am attempting > to use the (relatively) new adjust_global scheduler callback function, the > machine reboots (this may be due to other changes I have made in the > hypervisor to modify DornerWorks¹ ARINC 653 scheduler to work with CPU pools). > I have enabled xend/xenstored tracing, but the log files do not contain > anything useful. I have used gdb to trace to the point where the hypercall is > made from Dom0 to the hypervisor, but do not know how to proceed from here. I > have read about using kdb to debug the hypervisor, but I am a bit confused. > It looks as though kdb (in http://xenbits.xensource.com/ext/debuggers.hg) is > integrated into a particular branch of Xen, which is not kept synchronized > with the current version of xen-unstable. Can I use kdb with any version of > Xen? If so, how? What files do I need to download and what should I do to > build them? Or does someone have other suggestions? > > Thank you, > Kathy Hadley > DornerWorks, Ltd. > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
The following thread has a discussion of setting up a serial console for debugging, if you need it: http://www.mailinglistarchive.com/html/xen-devel@lists.xensource.com/2009-05/msg00004.html -George On Tue, Jun 15, 2010 at 2:25 PM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> Connect a serial line and collect the hypervisor''s debug console output. > You''ll probably get a crash dump when the machine reboots itself. > > -- Keir > > On 15/06/2010 14:13, "Kathy Hadley" <Kathy.Hadley@dornerworks.com> wrote: > >> Greetings, >> I am trying to debug a Xen crash and need some help. When I am attempting >> to use the (relatively) new adjust_global scheduler callback function, the >> machine reboots (this may be due to other changes I have made in the >> hypervisor to modify DornerWorks¹ ARINC 653 scheduler to work with CPU pools). >> I have enabled xend/xenstored tracing, but the log files do not contain >> anything useful. I have used gdb to trace to the point where the hypercall is >> made from Dom0 to the hypervisor, but do not know how to proceed from here. I >> have read about using kdb to debug the hypervisor, but I am a bit confused. >> It looks as though kdb (in http://xenbits.xensource.com/ext/debuggers.hg) is >> integrated into a particular branch of Xen, which is not kept synchronized >> with the current version of xen-unstable. Can I use kdb with any version of >> Xen? If so, how? What files do I need to download and what should I do to >> build them? Or does someone have other suggestions? >> >> Thank you, >> Kathy Hadley >> DornerWorks, Ltd. >> >> >> >> >> > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, Jun 15, 2010 at 02:38:05PM +0100, George Dunlap wrote:> The following thread has a discussion of setting up a serial console > for debugging, if you need it: > > http://www.mailinglistarchive.com/html/xen-devel@lists.xensource.com/2009-05/msg00004.html >And some info here: http://wiki.xensource.com/xenwiki/XenSerialConsole -- Pasi> -George > > On Tue, Jun 15, 2010 at 2:25 PM, Keir Fraser <keir.fraser@eu.citrix.com> wrote: > > Connect a serial line and collect the hypervisor''s debug console output. > > You''ll probably get a crash dump when the machine reboots itself. > > > > -- Keir > > > > On 15/06/2010 14:13, "Kathy Hadley" <Kathy.Hadley@dornerworks.com> wrote: > > > >> Greetings, > >> I am trying to debug a Xen crash and need some help. When I am attempting > >> to use the (relatively) new adjust_global scheduler callback function, the > >> machine reboots (this may be due to other changes I have made in the > >> hypervisor to modify DornerWorks¹ ARINC 653 scheduler to work with CPU pools). > >> I have enabled xend/xenstored tracing, but the log files do not contain > >> anything useful. I have used gdb to trace to the point where the hypercall is > >> made from Dom0 to the hypervisor, but do not know how to proceed from here. I > >> have read about using kdb to debug the hypervisor, but I am a bit confused. > >> It looks as though kdb (in http://xenbits.xensource.com/ext/debuggers.hg) is > >> integrated into a particular branch of Xen, which is not kept synchronized > >> with the current version of xen-unstable. Can I use kdb with any version of > >> Xen? If so, how? What files do I need to download and what should I do to > >> build them? Or does someone have other suggestions? > >> > >> Thank you, > >> Kathy Hadley > >> DornerWorks, Ltd. > >> > >> > >> > >> > >> > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel