[Crash-utility] [patch] crash on a KVM-generated dump

Dave Anderson anderson at redhat.com
Fri Oct 8 14:21:30 UTC 2010


----- "Sami Liedes" <sliedes at cc.hut.fi> wrote:

> On Fri, Oct 08, 2010 at 09:31:02AM -0400, Dave Anderson wrote:
> > I don't think that this is associated with KVM, but rather the
> kernel
> > version used.  It should be pretty easy to debug on your end,
> because it
> > boils down to these initializations at the top of
> x86_64_per_cpu_init()
> >
> >         irq_sp = per_cpu_symbol_search("per_cpu__irq_stack_union");
> >         cpu_sp = per_cpu_symbol_search("per_cpu__cpu_number");
> >
> > If it's a UP kernel, and if "irq_sp" does not get set, then isize would
> > be left uninitialized.
> 
> It's a uniprocessor amd64 kernel. Neither irq_sp nor cpu_sp get set.
> 
> I have
> 
> crash> sym irq_stack_union
> ffffffff81a1c000 (D) irq_stack_union
> crash> sym cpu_number
> symbol not found: cpu_number
> 
> It's not accepted by per_cpu_symbol_search() because its type is not
> 'V' and because it's not between __per_cpu_start and __per_cpu_end.
> __per_cpu_start and __per_cpu_end are the same; I don't know if
> there's something wrong with that.

Try the attached patch.

Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: irq_stack_union.patch
Type: text/x-patch
Size: 372 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20101008/8e8c5ede/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20101008/8e8c5ede/attachment.sig>


More information about the Crash-utility mailing list