[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160305112557.GC23473@gmail.com>
Date: Sat, 5 Mar 2016 12:25:57 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Cc: kuleshovmail@...il.com, bp@...e.de, akpm@...ux-foundation.org,
bhe@...hat.com, dyoung@...hat.com, jroedel@...e.de,
torvalds@...ux-foundation.org, msalter@...hat.com,
peterz@...radead.org, tglx@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [linux-next-20160302] Can't unpack initramfs.
* Tetsuo Handa <penguin-kernel@...ove.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
Powered by blists - more mailing lists