From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346AbdCPN6K (ORCPT ); Thu, 16 Mar 2017 09:58:10 -0400 Received: from mail-wr0-f182.google.com ([209.85.128.182]:36503 "EHLO mail-wr0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbdCPN6H (ORCPT ); Thu, 16 Mar 2017 09:58:07 -0400 Date: Thu, 16 Mar 2017 14:33:40 +0100 From: Daniel Lezcano To: Linus Torvalds Cc: Vincent Guittot , guodong.xu@linaro.org, mhocko@suse.com, amit.kucheria@linaro.org, linux-kernel@vger.kernel.org, kirill.shutemov@linux.intel.com Subject: Re: Kernel crash at boot time or reboot on ARM64/Hikey Message-ID: <20170316133340.GC2170@mai> References: <20170315214029.GA2170@mai> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 15, 2017 at 02:42:50PM -0700, Linus Torvalds wrote: > Should be fixed in current Git already.. > The v4.11-rc2 still has the issue. At appears at boot time or when rebooting and spits a lot of traces: [ ... ] ** 2467 printk messages dropped ** [ 11.218861] 8540: ffff8000223e8550 ffff0000081a7634 ffff8000223e8560 ffff0000081a7634 ** 2465 printk messages dropped ** [ 11.229744] b980: ffff8000223fb990 ffff0000081a7634 ffff8000223fb9a0 ffff0000081a7634 ** 2469 printk messages dropped ** [ 11.240638] ee40: ffff80002240ee50 ffff0000081a7634 ffff80002240ee60 ffff0000081a7634 ** 2464 printk messages dropped ** [ 11.251519] 2260: ffff800022422270 ffff0000081a7634 ffff800022422280 ffff0000081a7634 ** 2471 printk messages dropped ** [ 11.262418] 5760: ffff800022435770 ffff0000081a7634 ffff800022435780 ffff0000081a7634 ** 2468 printk messages dropped ** [ 11.273302] 8c00: ffff800022448c10 ffff0000081a7634 ffff800022448c20 ffff0000081a7634 ** 2467 printk messages dropped ** [ 11.284187] c080: ffff80002245c090 ffff0000081a7634 ffff80002245c0a0 ffff0000081a7634 ** 2466 printk messages dropped ** [ 11.295069] f4e0: ffff80002246f4f0 ffff0000081a7634 ffff80002246f500 ffff0000081a7634 ** 2468 printk messages dropped ** [ 11.305967] 2980: ffff800022482990 ffff0000081a7634 ffff8000224829a0 ffff0000081a7634 ** 2465 printk messages dropped ** [ 11.316851] 5dc0: ffff800022495dd0 ffff0000081a7634 ffff800022495de0 ffff0000081a7634 ** 2469 printk messages dropped ** [ 11.327742] 9280: ffff8000224a9290 ffff0000081a7634 ffff8000224a92a0 ffff0000081a7634 ** 2469 printk messages dropped ** [ 11.338625] c740: ffff8000224bc750 ffff0000081a7634 ffff8000224bc760 ffff0000081a7634 ** 2471 printk messages dropped ** [ 11.349521] fc40: ffff8000224cfc50 ffff0000081a7634 ffff8000224cfc60 ffff0000081a7634 [ ... ] > Linus > > On Mar 15, 2017 14:40, "Daniel Lezcano" wrote: > > > > > Hi Kirill, > > > > I'm facing an issue with my ARM64/Hikey board. The kernel crashes after > > booting > > when running services. With the linaro toolchain, the same happens but > > when I > > reboot the system. > > > > It is hard to see a clear error, as randomly the console shows an infinite > > dump, a couple of lines saying "Invalid address". > > > > I have been asking Vincent to test if its board was crashing and it > > appears the > > same happens. > > > > After git bisecting, I found this commit is the offending one. > > > > c2febafc67734a62196c1b9dfba926412d4077ba is the first bad commit > > commit c2febafc67734a62196c1b9dfba926412d4077ba > > Author: Kirill A. Shutemov > > Date: Thu Mar 9 17:24:07 2017 +0300 > > > > mm: convert generic code to 5-level paging > > > > Convert all non-architecture-specific code to 5-level paging. > > > > It's mostly mechanical adding handling one more page table level in > > places where we deal with pud_t. > > > > Signed-off-by: Kirill A. Shutemov > > Acked-by: Michal Hocko > > Signed-off-by: Linus Torvalds > > > > :040000 040000 492678235575b71f88062912e3d2a8f0983a7ab1 > > 1e17bdef1b1ecae4261dd431bc4be67107dfdd5b M drivers > > :040000 040000 13e1ad3cf4523bab0e62efe9afa846c53b2738fc > > 183b6407eea0f34e5132dc67aaae1d8e3e23e555 M fs > > :040000 040000 1f90d08acc5850318753d5958f615e3b2a484ec7 > > dcdc7cce85ddbc5b5ef68fcfc77bb2809b4e1115 M include > > :040000 040000 9b3446e04a8d7939962c2df710f6113eea696a50 > > f6e627b0d378f0a00d2987fdd0c7b215306e6e3c M lib > > :040000 040000 77b15108634671b2286fcefcd3009ea96ba41543 > > 6fc93cb7cb991c2c26b50ce7762ba469e5d4f367 M mm > > > > Was this issue already spotted ? > > > > Thanks in advance > > > > -- Daniel > > > > -- > > > > Linaro.org │ Open source software for ARM SoCs > > > > Follow Linaro: Facebook | > > Twitter | > > Blog > > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog