Re: [PATCH] arm64: wipe old initrd addresses when patching the DTB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 01, 2019 at 03:50:28PM +0000, Jean-Philippe Brucker wrote:
> When copying the DTB from the current kernel, if the user didn't pass an
> initrd on the command-line, make sure that the new DTB doesn't contain
> initrd properties with stale addresses. Otherwise the next kernel will
> try to unpack the initramfs from a location that contains junk, since
> the initial initrd is long gone:
> 
> [   49.370026] Initramfs unpacking failed: junk in compressed archive
> 
> This issue used to be hidden by a successful recovery, but since commit
> ff1522bb7d98 ("initramfs: cleanup incomplete rootfs") in Linux, the
> kernel removes the default /root mountpoint after failing to load an
> initramfs, and cannot mount the rootfs passed on the command-line
> anymore.
> 
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@xxxxxxx>

Thanks, applied.

_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux