<br>
<br><font size=2><tt>crash-utility-bounces@redhat.com wrote on 02/22/2006
07:31:43 AM:<br>
<br>
> Rachita Kothiyal wrote:<br>
> <br>
> ><br>
> > > Rachita Kothiyal wrote:<br>
> ><br>
> ><br>
> > ><br>
> > > This happens in get_idle_threads() when perusing the runqueues
array,<br>
> > > where each per-cpu runqueue data structure contains a pointer
to the<br>
> > > idle (swapper) task for that CPU.  Now, this process
requires that the<br>
> > > per-cpu address manipulations are working correctly in order
to find the<br>
> > > each cpu's runqueue data structure.  It looks like
the ppc64 change<br>
> > > for per-cpu data accesses is suspect here:<br>
> > ><br>
> > > > Fix to recognize post-2.6.15 ppc64 kernels moving the
per_cpu_offsets<br>
> > > > to the "paca" structure.  Without this
patch, crash fails with the<br>
> > > > following error messages: "crash: cannot determine
idle task addresses<br>
> > > > from init_tasks[] or runqueues[]" and "crash:
cannot resolve<br>
> > > > init_task_union".  (pbadari@us.ibm.com)<br>
> > ><br>
> ><br>
> > Right, but I thought this patch fixed this problem.<br>
> > (I am using crash-4.0-2.21, and it includes this patch)<br>
> <br>
> Right -- me too...   ;-)</tt></font>
<br>
<br><font size=2><tt>Badari tested his patch on live system. He can give
more information anyway. </tt></font>
<br>
<br><font size=2><tt>However, I used his patch for testing PPC64 vmcore
before I post my patch. Did not see any issue when invoking crash tool.
Tested on 2.6.16-rc2-gi9. </tt></font>
<br>
<br><font size=2><tt>I will also verify if I have the same vmcore.</tt></font>
<br>
<br><font size=2><tt>Thanks</tt></font>
<br><font size=2><tt>Haren</tt></font>
<br>
<br><font size=2><tt><br>
> <br>
> ><br>
> ><br>
> > > ><br>
> > > > But I was able to run it ok on a live system.<br>
> > > ><br>
> > ><br>
> > > Same kernel?  I have no idea why there would be a difference<br>
> > > between live and vmcore.<br>
> ><br>
> > Yes, same kernel (2.6.16-rc4)<br>
> ><br>
> <br>
> I'm sure Badari can give you more information, but you might start<br>
> by putting some debug printf's in his new ppc64_paca_init() function<br>
> to see whether it's calculating the same kt->__per_cpu_offset[cpu]<br>
> values on a live system vs. its associated vmcore?<br>
> <br>
> Dave<br>
> <br>
> <br>
> <br>
> --<br>
> Crash-utility mailing list<br>
> Crash-utility@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/crash-utility<br>
</tt></font>