load_elfcorehdr_segment(9)
π load_elfcorehdr_segment π
okay so bestie, welcome to load_elfcorehdr_segment(9) β yes that's the whole title, it's a lot, we love her anyway β¨ this is the section 9 kernel API manual page, and she's lowkey the moment kdump gets its act together π
β¨ NAME β¨
load_elfcorehdr_segment β sets up the crash memory ranges and initializes the elfcorehdr segment, which is literally what you need to load the kdump kernel. no cap, that's the whole job π«Ά
πΈ SYNOPSIS πΈ
int load_elfcorehdr_segment (struct kimage *image , struct kexec_buf
*kbuf );
π¦ ARGUMENTS π¦
imageβ the kexec image. that's her. main character πkbufβ the buffer contents and the memory parameters. the whole vibe check for where stuff goes π
π DESCRIPTION π
Returns 0 on success, and a negative errno on error. that's it, that's the contract, periodt π
fr fr, 0 means slay and anything negative means something went wrong β don't sleep on checking it π
π§ SEE ALSO π§
- Kernel file
./arch/powerpc/kexec/file_load_64.cπ check_realloc_usable_mem(9),add_usable_mem(9),kdump_setup_usable_lmb(9),add_usable_mem_property(9),update_usable_mem_fdt(9),load_backup_segment(9),load_crashdump_segments_ppc64(9),setup_purgatory_ppc64(9),cpu_node_size(9),kexec_extra_fdt_size_ppc64(9),setup_new_fdt_ppc64(9),arch_kexec_kernel_image_probe(9),arch_kimage_file_post_load_cleanup(9)β the whole friend group, go say hi π
aaaand that's the page!! πΈ she lives in ./arch/powerpc/kexec and this edition is dated October 2026 β go forth and load that elfcorehdr segment bestie, you're gonna eat π
πβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms