From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941579AbcIZTBB (ORCPT ); Mon, 26 Sep 2016 15:01:01 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:54198 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932864AbcIZTA7 (ORCPT ); Mon, 26 Sep 2016 15:00:59 -0400 Subject: Re: Warning from free_init_pages with large initrd To: Sitsofe Wheeler , "H. Peter Anvin" References: <20160924153222.GA7405@sucs.org> <6DD13E16-A20B-4BFF-9405-FF6CFDEDB693@zytor.com> Cc: Thomas Gleixner , Ingo Molnar , x86@kernel.org, "linux-kernel@vger.kernel.org" From: Randy Dunlap Message-ID: <0c7dca7c-3789-389e-1494-c1cbb5d18e1e@infradead.org> Date: Mon, 26 Sep 2016 12:00:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/26/16 10:26, Sitsofe Wheeler wrote: > On 26 September 2016 at 07:47, H. Peter Anvin wrote: >> On September 25, 2016 11:22:04 PM PDT, Sitsofe Wheeler wrote: >>> On 26 September 2016 at 03:14, H. Peter Anvin wrote: >>>> On 09/24/16 08:32, Sitsofe Wheeler wrote: >>>>> >>>>> While trying to PXE boot a Fedora LiveISO on VMware ESXi the kernel >>>>> throws the following warning: >>>>> >>>> [...] >>>>> >>>>> The initrd is big because it holds all the files in the ISO (see >>>>> https://fedorahosted.org/cobbler/wiki/HowToPxeAnyLiveCd for how it >>> was >>>>> made). >>>> >>>> How big is big? >>> >>> The one that matches that backtrace is 1385 Mbytes and was made from a >>> Fedora rawhide ISO. Here are some sizes in megabytes from different >>> versions of Fedora: >>> 960 20/initrd0.img >>> 1416 21/initrd0.img >>> 1379 22/initrd0.img >>> 1430 23/initrd0.img >>> 1492 24/initrd.img > >> And they all fail? > From at least 23 onwards they all continue to boot but give the > previously mentioned warning in dmesg output. > >> Also, is this BIOS or EFI? > Booting from BIOS, not EFI. > >> Also: compressed or uncompressed (if it makes a difference?) > > file reports the following > 20 initrd starts with a gzip header > 21-23 initrds start with a cpio header > 24 and rawhide initrd starts with an xz header > > Looking at livecd-iso-to-pxeboot it seems that the CD's contents is > turned into a gzip'd cpio and then concatenated on the end of the > usual initrd... > but the warning in free_init_pages() is about alignment, not size... Maybe the concatenation is bad? -- ~Randy