From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935063AbcIXQIf (ORCPT ); Sat, 24 Sep 2016 12:08:35 -0400 Received: from silver.sucs.swan.ac.uk ([137.44.10.1]:35361 "EHLO silver.sucs.swan.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932768AbcIXQId (ORCPT ); Sat, 24 Sep 2016 12:08:33 -0400 X-Greylist: delayed 2157 seconds by postgrey-1.27 at vger.kernel.org; Sat, 24 Sep 2016 12:08:32 EDT Date: Sat, 24 Sep 2016 16:32:22 +0100 From: Sitsofe Wheeler To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: Warning from free_init_pages with large initrd Message-ID: <20160924153222.GA7405@sucs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, While trying to PXE boot a Fedora LiveISO on VMware ESXi the kernel throws the following warning: [ 0.955216] Unpacking initramfs... [ 5.391977] ------------[ cut here ]------------ [ 5.391986] WARNING: CPU: 0 PID: 1 at arch/x86/mm/init.c:671 free_init_pages+0x94/0xa0 [ 5.391988] Modules linked in: [ 5.391992] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.8.0-0.rc7.git2.1.fc26.x86_64 #1 [ 5.391993] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/30/2014 [ 5.391995] 0000000000000286 00000000c1677634 ffff9d943abffd58 ffffffffb6467073 [ 5.391999] 0000000000000000 0000000000000000 ffff9d943abffd98 ffffffffb60ae7ab [ 5.392001] 0000029fb71cab9d ffff9d9300000000 ffff9d9380000000 ffff9d9329861000 [ 5.392003] Call Trace: [ 5.392008] [] dump_stack+0x86/0xc3 [ 5.392020] [] __warn+0xcb/0xf0 [ 5.392022] [] warn_slowpath_null+0x1d/0x20 [ 5.392024] [] free_init_pages+0x94/0xa0 [ 5.392027] [] ? unpack_to_rootfs+0x29d/0x29d [ 5.392039] [] ? set_debug_rodata+0x12/0x12 [ 5.392042] [] free_initrd_mem+0x21/0x23 [ 5.392044] [] populate_rootfs+0xe5/0x105 [ 5.392046] [] do_one_initcall+0x50/0x180 [ 5.392048] [] ? set_debug_rodata+0x12/0x12 [ 5.392049] [] kernel_init_freeable+0x200/0x29c [ 5.392053] [] kernel_init+0xe/0x100 [ 5.392055] [] ret_from_fork+0x1f/0x40 [ 5.392056] [] ? rest_init+0x140/0x140 [ 5.392062] ---[ end trace 0fbf5e487fcf7e56 ]--- [ 6.572994] Freeing initrd memory: 1416828K (ffff9d9329861000 - ffff9d9380000000) 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). The issue was originally filed on https://bugzilla.redhat.com/show_bug.cgi?id=1274966 but was usually against older kernels... -- Sitsofe | http://sucs.org/~sits/