<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Ok, I can continue to compile a vmlinux   for testing.<br><br><div>> Date: Thu, 27 Oct 2011 09:34:56 -0400<br>> From: anderson@redhat.com<br>> To: crash-utility@redhat.com<br>> Subject: Re: [Crash-utility] [help]crash can't anaylyse xen guest paravirtulized linux vmcore<br>> <br>> <br>> <br>> ----- Original Message -----<br>> > <br>> > <br>> > my crash can analyse xen hvm guest linux memory dump core :<br>> > <br>> > <br>> > SLES11:/mnt/sles10.2_crash # crash32 -s vmlinux-debug sles10.img<br>> > WARNING: kernel version inconsistency between vmlinux and dumpfile<br>> > <br>> > crash32> bt<br>> > PID: 0 TASK: c02d8280 CPU: 0 COMMAND: "swapper"<br>> > #0 [c0329f9c] schedule at c0288d6d<br>> > #1 [c0329ffc] is386 at c0100194<br>> <br>> OK, so you're saying that it's only an issue with SLES paravirtualized<br>> kernels?<br>> <br>> I compared the output of "crash -d8" output using a 2.6.18-152.el5xen kernel<br>> (fully virtualized with the old Xen patch), and the sequence is pretty<br>> much identical, other than the .xen_p2m and .xen_pages Elf64_Shdr's are<br>> in a different order in the dumpfile.  But that shouldn't make a difference,<br>> because crash doesn't expect them in any particular order.<br>> <br>> So again, the only thing I can see is that the page that contains the<br>> "max_pfn" symbol is full of zeroes -- which is obviously wrong -- and<br>> then while walking the page tables to find the page containing the<br>> "phys_to_machine_mapping" symbol, it finds the page table that should<br>> contain a PTE that points to the page containing it, but the PTE entry<br>> is zero.  Although other PTEs in the page table page do contain legitimate<br>> PTEs.<br>> <br>> The only thing I can think of is that the vmlinux file that you're using<br>> doesn't match the dumpfile, i.e., the "max_pfn" and "phys_to_machine_mapping"<br>> symbols from the vmlinux file are not the same as the kernel represented by<br>> the dumpfile?<br>> <br>> Dave<br>> <br>> <br>> <br>> <br>> --<br>> Crash-utility mailing list<br>> Crash-utility@redhat.com<br>> https://www.redhat.com/mailman/listinfo/crash-utility<br></div>                                     </div></body>
</html>