[PATCH] kexec: make -a the default

Simon Horman horms at kernel.org
Tue Feb 7 07:08:10 PST 2023


On Fri, Feb 03, 2023 at 12:10:18AM +0100, Ahelenia Ziemiańska wrote:
> AFAICT, there's no downside to this, and running into this each time
> I want to kexec (and, presumably, a significant chunk of the population,
> since lockdown is quite popular) on some machines,
> then going to the manual, then finding out I want the /auto/ flag(!)
> is quite annoying:
>   # kexec -l /boot/vmlinuz-6.1.0-3-amd64 --initrd /boot/initrd.img-6.1.0-3-amd64 --reuse-cmdline
>   kexec_load failed: Operation not permitted
>   entry       = 0x46eff7760 flags = 0x3e0000
>   nr_segments = 7
>   segment[0].buf   = 0x557cd303efa0
>   segment[0].bufsz = 0x70
>   segment[0].mem   = 0x100000
>   segment[0].memsz = 0x1000
>   segment[1].buf   = 0x557cd3046fe0
>   segment[1].bufsz = 0x190
>   segment[1].mem   = 0x101000
>   segment[1].memsz = 0x1000
>   segment[2].buf   = 0x557cd303f6e0
>   segment[2].bufsz = 0x30
>   segment[2].mem   = 0x102000
>   segment[2].memsz = 0x1000
>   segment[3].buf   = 0x7f658fa37010
>   segment[3].bufsz = 0x12a51b5
>   segment[3].mem   = 0x46a55a000
>   segment[3].memsz = 0x12a6000
>   segment[4].buf   = 0x7f6590ce1210
>   segment[4].bufsz = 0x7e99e0
>   segment[4].mem   = 0x46b800000
>   segment[4].memsz = 0x377c000
>   segment[5].buf   = 0x557cd3039350
>   segment[5].bufsz = 0x42fa
>   segment[5].mem   = 0x46eff2000
>   segment[5].memsz = 0x5000
>   segment[6].buf   = 0x557cd3032000
>   segment[6].bufsz = 0x70e0
>   segment[6].mem   = 0x46eff7000
>   segment[6].memsz = 0x9000
> 
> Closes: https://bugs.debian.org/1030248
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli at nabijaczleweli.xyz>

Thanks, applied.



More information about the kexec mailing list