From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753622AbcI0Muy (ORCPT ); Tue, 27 Sep 2016 08:50:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38830 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752865AbcI0Muo (ORCPT ); Tue, 27 Sep 2016 08:50:44 -0400 Date: Tue, 27 Sep 2016 13:50:42 +0100 From: "Richard W.M. Jones" To: Sitsofe Wheeler Cc: Randy Dunlap , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "linux-kernel@vger.kernel.org" , "Brian C. Lane" Subject: Re: Warning from free_init_pages with large initrd Message-ID: <20160927125029.GM26315@redhat.com> References: <20160924153222.GA7405@sucs.org> <6DD13E16-A20B-4BFF-9405-FF6CFDEDB693@zytor.com> <0c7dca7c-3789-389e-1494-c1cbb5d18e1e@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 27 Sep 2016 12:50:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 27, 2016 at 11:20:06AM +0100, Sitsofe Wheeler wrote: > (See http://www.gossamer-threads.com/lists/linux/kernel/2534175 for > the history of this thread ) > > On 26 September 2016 at 20:00, Randy Dunlap wrote: > > > > but the warning in free_init_pages() is about alignment, not size... > > Maybe the concatenation is bad? > > What would l have to pull apart to be able to tell? > > Having said that I've just noticed that newer versions of the script > concatenate an ISO to the initrd (rather than another cpio) - > https://github.com/rhinstaller/livecd-tools/commit/8067be50907da9461e442c11a664c89e066ccac6#diff-88c69e43bb69726c532af3a136cc50e8 > . Unfortunately after rebuilding the initrd with the > livecd-iso-to-pxeboot version from Fedora 24 the warning persists. > CC'ing a few of the tool's authors on this email. I would just comment that I wrote livecd-iso-to-pxeboot for a specific purpose -- virt-p2v -- where the size of the ISO rarely exceeded around 100-200 MB, which is large for an initramfs, but about an order of magnitude smaller than what you are trying. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top