openSUSE / kdump

kernel dump helpers
GNU General Public License v2.0
22 stars 24 forks source link

unload.sh: support kexec unload when kexec_file_load is required #29

Closed tabraham closed 2 years ago

tabraham commented 2 years ago

Some systems, such as those using secure boot, require the use of the kexec_file_load syscall instead of kexec_load.

Using kexe -a -p -u will try the new kexec_file_load syscall first, and if it is not supported, fall back to using the old kexec_load.

ptesarik commented 2 years ago

Wow, yes, you're right. I never realized the unload was broken.