Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbbLNIEJ (ORCPT ); Mon, 14 Dec 2015 03:04:09 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:55303 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbbLNIEH (ORCPT ); Mon, 14 Dec 2015 03:04:07 -0500 Date: Mon, 14 Dec 2015 09:04:03 +0100 From: Pavel Machek To: kernel list , sds@tycho.nsa.gov, luto@amacapital.net, arjan@linux.intel.com, bp@alien8.de, brgerst@gmail.com, dvlasenk@redhat.com, hpa@zytor.com, torvalds@linux-foundation.org, efault@gmx.de, peterz@infradead.org, tglx@linutronix.de Subject: 4.4-rc5: ugly warn on: 5 W+X pages found Message-ID: <20151214080403.GA3708@amd> References: <20151115070022.GA15417@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151115070022.GA15417@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3976 Lines: 97 Hi! > Kernel complains: And now, we are at -rc5, and kernel still complains... ...with a back trace, which is clearly completely useless, and just there to make it scary and make people report. Problem is... noone cares for the reports. (-rc0 version below). Can we get rid of that WARN_ON? If you do care about reports, please add email address those can be reported to. If you don't... just drop it. Hardware is thinkpad x60. Pavel [ 3.267542] NX-protecting the kernel data: 5764k [ 3.278325] ------------[ cut here ]------------ [ 3.282060] WARNING: CPU: 1 PID: 1 at arch/x86/mm/dump_pagetables.c:225 note_page+0x5ec/0x790() [ 3.285993] x86/mm: Found insecure W+X mapping at address ffe69000/0xffe69000 [ 3.289991] Modules linked in: [ 3.293995] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.0-rc5+ #132 [ 3.298178] Hardware name: LENOVO 17097HU/17097HU, BIOS 7BETD8WW (2.19 ) 03/31/2011 [ 3.304343] 00000001 00000000 f5cffeac c42ba698 f5cffed8 f5cffec8 c404059b 000000e1 [ 3.308840] c403cb9c f5cfff50 00000163 00000000 f5cffee0 c40405f6 00000009 f5cffed8 [ 3.313419] c4d3347c f5cffef4 f5cfff1c c403cb9c c4d2c08c 000000e1 c4d3347c ffe69000 [ 3.317935] Call Trace: [ 3.322395] [] dump_stack+0x41/0x59 [ 3.326787] [] warn_slowpath_common+0x6b/0xa0 [ 3.331171] [] ? note_page+0x5ec/0x790 [ 3.335522] [] warn_slowpath_fmt+0x26/0x30 [ 3.339839] [] note_page+0x5ec/0x790 [ 3.344154] [] ptdump_walk_pgd_level_core+0x15f/0x240 [ 3.348440] [] ptdump_walk_pgd_level_checkwx+0x11/0x20 [ 3.352611] [] mark_rodata_ro+0xcd/0xf0 [ 3.356677] [] kernel_init+0x17/0xc0 [ 3.360702] [] ret_from_kernel_thread+0x21/0x38 [ 3.364739] [] ? rest_init+0xa0/0xa0 [ 3.368709] ---[ end trace 7121849c40f4a5ba ]--- [ 3.372716] x86/mm: Checked W+X mappings: FAILED, 5 W+X pages found. > [ 5.256044] ------------[ cut here ]------------ > [ 5.259267] WARNING: CPU: 0 PID: 1 at > arch/x86/mm/dump_pagetables.c:225 note_page+0x5ec/0x790() > [ 5.262668] x86/mm: Found insecure W+X mapping at address > ffe69000/0xffe69000 > [ 5.267109] Modules linked in: > [ 5.271403] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.3.0+ #122 > [ 5.275679] Hardware name: LENOVO 17097HU/17097HU, BIOS 7BETD8WW > (2.19 ) 03/31/2011 > [ 5.279957] 00000000 00000000 f5cffeac c42b9f18 f5cffed8 f5cffec8 > c404062b 000000e1 > [ 5.284387] c403ca9c f5cfff50 00000163 00000000 f5cffee0 c4040686 > 00000009 f5cffed8 > [ 5.288815] c4d268ac f5cffef4 f5cfff1c c403ca9c c4d1f494 000000e1 > c4d268ac ffe69000 > [ 5.293314] Call Trace: > [ 5.297602] [] dump_stack+0x41/0x59 > [ 5.301864] [] warn_slowpath_common+0x6b/0xa0 > [ 5.306054] [] ? note_page+0x5ec/0x790 > [ 5.310209] [] warn_slowpath_fmt+0x26/0x30 > [ 5.314358] [] note_page+0x5ec/0x790 > [ 5.318440] [] ptdump_walk_pgd_level_core+0x14f/0x230 > [ 5.322578] [] ptdump_walk_pgd_level_checkwx+0x11/0x20 > [ 5.326632] [] mark_rodata_ro+0xcd/0xf0 > [ 5.330625] [] kernel_init+0x17/0xc0 > [ 5.334585] [] ret_from_kernel_thread+0x21/0x38 > [ 5.338585] [] ? rest_init+0xa0/0xa0 > [ 5.342583] ---[ end trace bc9ac0874ad9a058 ]--- > [ 5.346630] x86/mm: Checked W+X mappings: FAILED, 5 W+X pages > found. > > ...I'm not quite sure why it does backtrace, or how to debug this > one... > > Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/