Hi, In some conditions, my domU seem to hang: the console stops printing anything. Since I hence don''t have any feedback, is it possible to dump the state of the domU? Something like registers + stack, for instance. Alternatively, is it possible to forcibly make a dom crash (which triggers the register dump)? Samuel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Samuel You can use xenctx to see registers of the domU. xenctx is in /usr/lib/xen/bin. And you can make the domain crash by using "xm sysrq or xm trigger". If you want coredump, you can use "xm dump-core <domU>". Best Regards, Akio Takebe>Hi, > >In some conditions, my domU seem to hang: the console stops printing >anything. Since I hence don''t have any feedback, is it possible to dump >the state of the domU? Something like registers + stack, for instance. >Alternatively, is it possible to forcibly make a dom crash (which >triggers the register dump)? > >Samuel > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Akio Takebe, le Tue 27 Feb 2007 17:10:41 +0900, a écrit :> You can use xenctx to see registers of the domU. > xenctx is in /usr/lib/xen/bin.It just tells me cannot trace dom0> And you can make the domain crash by using "xm sysrq or xm trigger".My domU isn''t Linux, so it doesn''t react to sysrq. Trigger is not known.> If you want coredump, you can use "xm dump-core <domU>".This is not known either. Maybe I have to old tools? (3.0.2) Samuel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,>Akio Takebe, le Tue 27 Feb 2007 17:10:41 +0900, a 馗rit : >> You can use xenctx to see registers of the domU. >> xenctx is in /usr/lib/xen/bin. > >It just tells me >cannot trace dom0 >Yes, it is for domU, but it is very useful. Do you want to get registers of domU?>> And you can make the domain crash by using "xm sysrq or xm trigger". > >My domU isn''t Linux, so it doesn''t react to sysrq. Trigger is not known. >trigger was applied in xen-unstable laterly. trigger is for hvm domain. I don''t know we can use trigger on x86>> If you want coredump, you can use "xm dump-core <domU>". > >This is not known either. > >Maybe I have to old tools? (3.0.2) >3.0.2 is very old. dump-core is for domU. If you want dom0 dump, you can use kexec of xen, then get dom0 dump by using dom0cut tool. Xen 3.0.4+ have kexec feature. Best Regards, Akio Takebe _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Just to be clear: I want to debug a domU, not dom0. Akio Takebe, le Sat 03 Mar 2007 10:12:52 +0900, a écrit :> >Akio Takebe, le Tue 27 Feb 2007 17:10:41 +0900, a 馗rit : > >> You can use xenctx to see registers of the domU. > >> xenctx is in /usr/lib/xen/bin. > > > >It just tells me > >cannot trace dom0 > > > Yes, it is for domU,But I''m giving the command my domU name: # xm create hurd-net # xenctx hurd-net cannot trace dom0 I''ll try to compile the unstable version. BTW, I finished porting GNU Mach to Xen, so that Hurd/Mach/Xen now works :) Thanks, Samuel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,>Akio Takebe, le Sat 03 Mar 2007 10:12:52 +0900, a ィヲcrit : >> >Akio Takebe, le Tue 27 Feb 2007 17:10:41 +0900, a リクrit : >> >> You can use xenctx to see registers of the domU. >> >> xenctx is in /usr/lib/xen/bin. >> > >> >It just tells me >> >cannot trace dom0 >> > >> Yes, it is for domU, > >But I''m giving the command my domU name: > ># xm create hurd-net ># xenctx hurd-net >cannot trace dom0 >Hmm, it seems to be bug.>I''ll try to compile the unstable version. >Yes, I think it is better.>BTW, I finished porting GNU Mach to Xen, so that Hurd/Mach/Xen now works >:)Wow, it''s good news. Please report it to xen-devel ML. Best Regards, Akio Takebe _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users