Badari Pulavarty wrote:
Hi,
After 2.6.15, ppc64 per_cpu_offsets are moved to "paca"
structure. Here is the patch to make crash read per-cpu-offsets
from paca structure.
Without this patch, you get following error while running
crash. Please apply.
crash: cannot determine idle task addresses from init_tasks[] or
runqueues[]
crash: cannot resolve "init_task_union"
Thanks,
Badari
Hi Badari,
This looks just fine to me. Can you verify that "make Warn" compiles it
cleanly? It looks like it should, but I don't have a ppc64 readily available.
Also, a minor nit -- for debug purposes only -- can you add this new
"ppc64_paca" size display to the dump_offset_table() routine -- just
under the "x8664_pda" size display?
Thanks,
Dave
------------------------------------------------------------------------------------------------------------------------
Name: crash-paca-fix.patch
crash-paca-fix.patch Type: text/x-patch
Encoding: 7bit
------------------------------------------------------------------------------------------------------------------------
--
Crash-utility mailing list
Crash-utility(a)redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility