Dave,
Toshi's patch works fine for me.
Apart from this, runq command does not work against my vmcore(non-SMP).
runq fails with the following message.
I am afraid it might be another CONFIG_SMP related issue.
crash> set debug 10
debug: 10
crash> runq
runq: per_cpu_symbol_search(per_cpu__runqueues): NULL
runq: per-cpu runqueues does not exist
crash>
Takuo
----- Original Message -----
> >>>> But it only happens when I use KDUMP format instead of
> >>>> NETDUMP_ELF32.
> > I cannot reconfirm this. Please forget about it.
> > I forgot to mention one thing. I had to remove the following line
> > from symbol.c as my target is non-SMP
> > 1413: lm->mod_percpu = ULONG(modbuf + OFFSET(module_percpu));
> > I hope you will find a better way.
> >
> > Best Regards,
> >
> > Takuo
>
> I'm sorry about making trouble.
> Attachment is my proposal fix.
>
> Thanks,
> Toshi.
Sorry -- I responded to your first message before seeing your
similar patch. I will queue that for the next release.
And checking the upstream module.h, I see now that they have
encapulated module.percpu within CONFIG_SMP. Sorry for the
confusion.
Thanks,
Dave
--
Crash-utility mailing list
Crash-utility(a)redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility