Thank you for your reply. Yes. It works~!. Crash binary version is 7.x under RHEL8 and I include mpykdump-3.9.1-crash7.so with 'extend' option inside 'crash>'.
I thought mpykdump works only with crash64 binary which has included and uploaded mpykdump-3.5.1.tar.gz. That's why I asked full binary like crash64 for 3.9.1 earlier. Now I know that mpykdump-xx.so can be used with OS default 'crash' binary. :)
Thank you so much.
IMHO, debug mode would be better for someone who wants to look inside what happen and want to see how it collect the information in each step. :)
I'm trying to find mutex owner from one structure to another. It was very easy to get it from 'crashinfo --mutex=0xAA..' option. However, not easy to find by manual.
I am looking at KernLocks.py. It seems contains the way how to collect and parse from results.
But, not easy to follow it. I'm not expert yet. :)
BTW, I've got another error again after issue this command 'crashinfo' as below.
That's very strange...I can reproduce the error with crash7, but it works fine on crash8. I'll look into this, but in the meantime you could try switching to crash8 (which I would recommend anyway, as it has many improvements and is much faster to start up on large vmcores).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I've tried to open vmcore with 3.5.0/3.5.1 both on RHEL 7.x/8.x.
I got error message like this.
error message : crash64: cannot determine length of symbol: log_end
and crash64 doesn't work anymore. Couldn't get any 'crash>' shell.
Just back to normal $SHELL after i got error.
There is no problem if i run crash binary which is provided by OS default.
Please, let me know how to fix this issue .
# crash64 /usr/lib/debug/lib/modules/4.18.0-372.9.1.el8.x86_64/vmlinux ./vmcore
-> Just i got bash shell from here. Not get in to 'crash> ' shell.
Last edit: Yoonsuk Cho 2024-06-11
Can you try with the latest PyKdump version, which is 3.9.1? You can download the .so file from https://sourceforge.net/projects/pykdump/files/mpykdump-x86_64/. There are separate versions for crash7 and crash8:
mpykdump-3.9.1-crash7.so
mpykdump-3.9.1-crash8.so
Use the one that matches your version of crash.
There are also many improvements and bug fixes in PyKdump 3.9 compared to 3.5.
Thank you for your reply. Yes. It works~!. Crash binary version is 7.x under RHEL8 and I include mpykdump-3.9.1-crash7.so with 'extend' option inside 'crash>'.
I thought mpykdump works only with crash64 binary which has included and uploaded mpykdump-3.5.1.tar.gz. That's why I asked full binary like crash64 for 3.9.1 earlier. Now I know that mpykdump-xx.so can be used with OS default 'crash' binary. :)
Thank you so much.
IMHO, debug mode would be better for someone who wants to look inside what happen and want to see how it collect the information in each step. :)
I'm trying to find mutex owner from one structure to another. It was very easy to get it from 'crashinfo --mutex=0xAA..' option. However, not easy to find by manual.
I am looking at KernLocks.py. It seems contains the way how to collect and parse from results.
But, not easy to follow it. I'm not expert yet. :)
BTW, I've got another error again after issue this command 'crashinfo' as below.
Last edit: Yoonsuk Cho 2024-06-12
That's very strange...I can reproduce the error with crash7, but it works fine on crash8. I'll look into this, but in the meantime you could try switching to crash8 (which I would recommend anyway, as it has many improvements and is much faster to start up on large vmcores).