[Crash-utility] Fwd: [PATCH 0/3] trace.so: Make trace dump -t work again

Ravi Bangoria ravi.bangoria at linux.ibm.com
Wed Mar 20 03:39:44 UTC 2019


On 3/19/19 6:48 PM, Dave Anderson wrote:
>>>>> The problem happens only with module symbols, not with kallsyms.
>>>>>
>>>>> crash> sym -M
>>>>> c008000007810000 MODULE START: crc32c_vpmsum
>>>>> c008000007810000 (^R) __crc32c_vpmsum
>>>>> c008000007810670 (^B) crc32c_vpmsum_cra_init
>>>>> c008000007810690 (^B) crc32c_vpmsum_setkey
>>>>
>>>> Hi Ravi,
>>>>
>>>> I have never seen this before,

Simply do:

  # crash vmcore vmlinux
  crash> sym -M
  c008000007810000 MODULE START: crc32c_vpmsum
  c008000007810000 (^R) __crc32c_vpmsum
  c008000007810670 (^B) crc32c_vpmsum_cra_init

But cmd_mod() seems to be doing right thing:

  crash> mod -s crc32c_vpmsum
  crash> sym -M
  c008000007810000 MODULE START: crc32c_vpmsum
  c008000007810000 (T) __crc32c_vpmsum
  c008000007810670 (t) crc32c_vpmsum_cra_init

>>>> but nonetheless, it does seem that Steve's
>>>> patch
>>>> to the trace.c module is the better course of action.  Does it work OK for
>>>> you?

Yes Steve's patch fixes trace segfault for me.

Thanks,
Ravi




More information about the Crash-utility mailing list