lkml.org 
[lkml]   [2016]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2016-03-05 13:01    [W:2.068 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site