Kdump for ARM (vmcore generation problem)
Subsystems (2)
Hi,
I'm trying to make Kdump work for ARM. Till now i've managed to get the /dev/oldmem interface working for taking dumps. Now i want to get the /proc/vmcore interface working.
I'm unclear how to generate the elfcore headers required by routines in vmcore.c.
TIA,
Indro
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 5 lines · Indraneel
I'm trying to make Kdump work for ARM. Till now i've managed to get the
/dev/oldmeminterface working for taking dumps. Now i want to get the/proc/vmcoreinterface working.
I'm unclear how to generate the elfcore headers required by routines invmcore.c.
The core headers are generated in kexec-tools (userspace).
Thanks,
Bernhard
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 7 lines · Indraneel
Hi,
I'm trying to make Kdump work for ARM. Till now i've managed to get the/dev/oldmeminterface working for taking dumps. Now i want to get the/proc/vmcoreinterface working.
I'm unclear how to generate the elfcore headers required by routines invmcore.c.
Hi Indraneel,
kexec-tools in user space generates those headers. Have a loot at kexec-tools code.
Thanks
Vivek
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Hi Vivek/Bernhard,
Quoted 9 lines · Vivek Goyal
Quoted 7 lines · Indraneel
Hi,
I'm trying to make Kdump work for ARM. Till now i've managed to get the/dev/oldmeminterface working for taking dumps. Now i want to get the/proc/vmcoreinterface working.
I'm unclear how to generate the elfcore headers required by routines invmcore.c.
Quoted 4 lines
Hi Indraneel,
kexec-tools in user space generates those headers. Have a loot at kexec-tools code.
Thanks for the lead. I'm looking into kexec-tools and trying to do changes for ARM. I'm unable to interpret one of the comments in kexec/crashdump-elf.c which says,
" The separate PT_LOAD program header is required either because the
kernel is mapped at a different location than the rest of the physical memory or because we need to support relocatable kernels. Or both as on x86_64. "
Can you please provide some more clarification for this so that i can figure out whether a separate PT_LOAD header is required for ARM architecture as well (esp. the "kernel mapped to diff. loc. part of the comment").
TIA,
Indro
Quoted 6 lines
Thanks
Vivek
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 25 lines · Indraneel
Hi Vivek/Bernhard,
Quoted 9 lines · Vivek Goyal
Quoted 7 lines · Indraneel
Hi,
I'm trying to make Kdump work for ARM. Till now i've managed to get the/dev/oldmeminterface working for taking dumps. Now i want to get the/proc/vmcoreinterface working.
I'm unclear how to generate the elfcore headers required by routines invmcore.c.Quoted 4 lines
Hi Indraneel,
kexec-tools in user space generates those headers. Have a loot at kexec-tools code.
Thanks for the lead. I'm looking into kexec-tools and trying to do changes for ARM. I'm unable to interpret one of the comments in
kexec/crashdump-elf.cwhich says,
" The separatePT_LOADprogram header is required either because the
kernel is mapped at a different location than the rest of the physical memory or because we need to support relocatable kernels. Or both as onx86_64. "
Quoted 4 lines
Can you please provide some more clarification for this so that i can figure out whether a separate
PT_LOADheader is required for ARM architecture as well (esp. the "kernel mapped to diff. loc. part of the comment").
Is the ARM kernel relocatable? If no, then you don't need this.
Thanks,
Bernhard
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec