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

[Xen-devel] Re: dom0cut script patches


I fixed valid-mfn checking bug, and make some cleanup.
I attach a patch.
You can get tarballs at there:

On 6/5/06, Kazuo Moriwaka <moriwaka@xxxxxxxxxxxxx> wrote:

dom0cut script now support to extract xen hypervisor image
from kdump's whole-machine dump.
It extract xen image with idle domain's pagetable.
Now it copies register info from kdump-dump header.
If these behaviors are not good, please tell me.

I'll attach the patch, and you can get tarball from following:

sample session is following:
$ ./dom0cut_x86_32.py -telf -f --target=xen -dvmcore -oxencore
-xxen-syms -vvmlinux
vmcore doesn't have mfn 0xa0, the page is filled with '\0'
vmcore doesn't have mfn 0xa1, the page is filled with '\0'
vmcore doesn't have mfn 0xfec01, the page is filled with '\0'
vmcore doesn't have mfn 0xfee00, the page is filled with '\0'
$ gdb xen-syms xencore
GNU gdb 6.2.1
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 "i686-pc-linux-gnu"...Using host
libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

#0  0xc011f586 in ?? ()
(gdb) p/x idle_vcpu
$1 = {0xff1d7080, 0xffbf8080, 0x0 <repeats 30 times>}
(gdb) p/x idle_vcpu[0]
$2 = 0xff1d7080
(gdb) p/x *idle_vcpu[0]
$3 = {vcpu_id = 0x0, processor = 0x0, vcpu_info = 0x0, domain = 0xffbfc080,
  next_in_list = 0xffbf8080, timer = {expires = 0x0, cpu = 0x0,
    function = 0xff10f840, data = 0xff1d7080, heap_offset = 0x0,
    killed = 0x0}, sleep_tick = 0x9ef, poll_timer = {expires = 0x0,

Kazuo Moriwaka

Kazuo Moriwaka

Attachment: dumpread.patch.gz
Description: GNU Zip compressed data

Xen-devel mailing list



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