[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Viewing core dump from Windows XP HVM


  • To: "Jonathan Ervine" <jervine@xxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Ryan Persaud" <Ryan_Persaud@xxxxxxxxxxxx>
  • Date: Wed, 16 Jan 2008 07:35:33 -0700
  • Delivery-date: Wed, 16 Jan 2008 06:36:09 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AchX/TOesj5nanxhTrKBHCAVtRGCRQATYtxw
  • Thread-topic: [Xen-users] Viewing core dump from Windows XP HVM

Jon,

The file size is:
-rw-------   1 root root 546209864 Jan 15 10:43 core

I've allocated 512MB to the XP HVM domain (dom0 is standard XenLinux).  

Here is the output when I attempt to run GDB:
[root@localhost xen]# gdb file core
GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib64/tls/libthread_db.so.1".

"/var/log/xen/core" is not a core dump: File format not recognized
(gdb) q
[root@localhost xen]# gdb -c core
GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "x86_64-redhat-linux-gnu".
"/var/log/xen/core" is not a core dump: File format not recognized

If I run the file command on the core, I get:
core:ELF 64-bit LSB core file AMD x86-64, version 1

-Ryan

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Jonathan Ervine
> Sent: Wednesday, January 16, 2008 12:03 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Viewing core dump from Windows XP HVM
> 
> On Wednesday 16 January 2008 04:37:52 Ryan Persaud wrote:
> > Hello,
> >
> > I was wondering if anyone knew of a good tool for viewing 
> core dumps 
> > generated by running xm dump-core (xen 3.1) on a Windows XP HVM.
> > Basically, I'm trying to figure out where the kernel memory begins, 
> > and it's slow going with a hex editor.  I tried using GDB, 
> but I got 
> > the message: "not in executable format: File format not recognized"
> 
> Hi Ryan,
> What command are you using when trying to view the core file 
> in gdb? Are you running gdb file <corefile_name> ? Just want 
> to rule the blindingly obvious first of all.
> 
> How large is the core file that is/has been generated, and 
> how much RAM does your system (Dom0 I guess?) have available?
> 
> Jon
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.