crash/gdb: DW_FORM_strp pointing outside of .debug_str section

From: Kallol Biswas
Date: Tue Nov 18 2014 - 18:08:54 EST


Hi,
I have been trying to debug a multi controller hang issue with crash.

It seems that crash works fine on stock ubuntu 14.04 running
3.13.0-39-generic. However when I recompile kernel and try to run
crash on it I get the following error:

crash> mod -s nvme ./nvme.ko
MODULE NAME SIZE OBJECT FILE
ffffffffa01d1240 nvme 58727 ./nvme.ko
crash> add-symbol-file ./nvme.ko 0xffffffffa01d1240
add symbol table from file "./nvme.ko" at
.text_addr = 0xffffffffa01d1240
Reading symbols from /root/mynvme.sriov/nvme.ko...DW_FORM_strp
pointing outside of .debug_str section [in module
/root/mynvme.sriov/nvme.ko]
gdb: gdb request failed: add-symbol-file ./nvme.ko 0xffffffffa01d1240
crash>

Any input on what I might have done wrong? Do I need to rebuild the
crash utility package along with the kernel?

Thanks,
Kallol
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/