Hi, friends How to debug Xen? Sometimes, I am confused with sudden hardware restart or halt. I can not see any output to analyze the problems. Can you introduce some debug methods adopted in the Xen development? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
You may want to configure a serial console for your Xen linux system. See here: http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/user.html -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com Email: space.time.universe@gmail.com MSN: teoenming@hotmail.com Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Sat, Oct 24, 2009 at 1:32 PM, Jun Zhu <netzhu.pku@gmail.com> wrote:> Hi, friends > How to debug Xen? Sometimes, I am confused with sudden hardware > restart or halt. I can not see any output to analyze the problems. Can you > introduce some debug methods adopted in the Xen development? > _______________________________________________ > 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 Sat, 24 Oct 2009 13:32:57 +0800 Jun Zhu <netzhu.pku@gmail.com> wrote:> Hi, friends > How to debug Xen? Sometimes, I am confused with sudden hardware > restart or halt. I can not see any output to analyze the problems. > Can you introduce some debug methods adopted in the Xen development?I don''t know what state gdb is in xen, but I wrote up a built in debugger in xen, called kdb. It is an assembly level debugger. If you are dealing with crash, system will just break into kdb. if hang, you can break into it via ctrl+\. If it''s badly hung with interrupts disabled, you can NMI the system, and it would break into kdb. See kdb/README in http://xenbits.xensource.com/ext/debuggers.hg for command details, edit kdb_cmds.c and find f_{cmd}. I''ll update README soon with usage for each command. thanks mukesh PS: If the community is interested, I can send patch. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- Picture Tutorial: How to Setup Slackware64 13.0 HVM domU with Xen 3.5-unstable pv-ops Dom0 Kernel 2.6.31.4 in Fedora 11 x86-64 Dom0
- Picture Tutorial: How to Setup Slackware64 13.0 HVM domU with Xen 3.5-unstable pv-ops Dom0 Kernel 2.6.31.4 in Fedora 11 x86-64 Dom0
- Using Xen Virtualization Environment for Development and Testing of Supercomputing and High Performance Computing (HPC) Cluster MPICH2 MPI-2 Applications
- Using Xen Virtualization Environment for Development and Testing of Supercomputing and High Performance Computing (HPC) Cluster MPICH2 MPI-2 Applications
- Latest Pv_ops dom0 fails to boot