Messages in this thread | | | Date | Sat, 5 Mar 2016 12:25:57 +0100 | From | Ingo Molnar <> | Subject | Re: [linux-next-20160302] Can't unpack initramfs. |
| |
* Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> wrote:
> I'm hitting a problem that initramfs is corrupted when booting from GRUB2 on VMware Player 6.0.6. > This problem does not occur when booting from qemu-kvm or from PXE on VMware Player 6.0.6.
> Bisection reached to "x86/setup: Calculate ramdisk parameters only once".
that commit is crap, as it changed the size calculation:
- u64 ramdisk_size = get_ramdisk_size();
- ramdisk_size); + ramdisk->size);
+ struct ramdisk ramdisk = { + .start_addr = get_ramdisk_image(), + .size = PAGE_ALIGN(get_ramdisk_size()), + .reserve_ramdisk = true + };
I've zapped it.
Thanks,
Ingo
| |