From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030926AbbJ3Nqu (ORCPT ); Fri, 30 Oct 2015 09:46:50 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:65252 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030776AbbJ3Nqt (ORCPT ); Fri, 30 Oct 2015 09:46:49 -0400 From: Arnd Bergmann To: Huan Wang Cc: "linux-arm-kernel@lists.infradead.org" , Jin Jason , Russell King - ARM Linux , Fabio Estevam , "linux-kernel@vger.kernel.org" , "shawnguo@kernel.org" Subject: Re: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig Date: Fri, 30 Oct 2015 14:46:43 +0100 Message-ID: <3938714.zt8Y4X5ull@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1442480614-32345-1-git-send-email-b18965@freescale.com> <5073362.oArWDzYkxD@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:l6fQbYHeUFq6wjkUdUy6t7RM2zn0o9UYxOG1aWKdsCMQK9HUxmF oG593lSzQg6awDqyKwPexHOaE+xlQlrr/dBK+9v0fNBz4XfX2qPdmJ3QOYL2XHyqn7lWl/H 6eWwVeSH223wtF7HPDSzjwmJDW2HYvLM5Ry3lQOTEwJUbZYoVjNmyFVxmJnUGVRDhRX7uxk 796H9r/pte5stdoHEJpXQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:KbaeqmrhJPk=:gMzsgyh1lhkrI+YjkRF04m O2HuC2GDdPCT5dvr6M/3X4CcJy0usBLdoxOt07YbgOQovyiMgjFfPxbY7Lny7fRTLV45TXWs4 Bc0hdjpBSchmyTIvtXwAhGT44pKJHxOQEBjg91y0Eyjh2BlB0BSpqCi6BKn4wMbGPgaop5+CG plsfrqpNQpNp0YIBLjWnTbittldHA2rVc3DFZ+DRI3sYNLtJ6osnlUSX57yPqIYu9jlxBM4ZZ 65ogl9LL1P5nL/TO0jTozxvoH3xb2HyghIHXJbILF61K+P4x8Zt1+OhmW6NZj23J4K3GfCJRt x9EQfvnJqJkll5IUbkeaQZVMz8bG3ryBiIDP2/XnxXSNr/+vm1h+VQDmzZIlmlAageBHJO97T BiHoBBsrWrgQrvMRtu5nuQTCDLRoRN5He45ONoLLSeH4UX5mW1ADvVZNRmSubc9IoUh9WsW+Z ljK99Qlr/JVlbS48keWT7BAjQZIZ976Ni2urVEJbSVb7VLCmGeCBVWGXiWfoLzaljo723mQ6w 3rgzozwA2wtKG4HPwMlYtTCiRuy+Tz2OoiAbfES0GprbfHA/tAk+LgOardRxD8PsjfDak2r1z 5graZ9z5WNY7hdaV9g89utZnQqyCik/9uHrO3kSsrTHQkZfCpviRXMy/4NCqHLvrfGAiznJAz 8EKczjxfNxrv95A++sOANA0PPgN3e9gtVH8sC3OGaecntOf3xkbLiXCvyJNB0VnW8zvxUFMmx nLtTyR7EJ7WRb9eT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 27 October 2015 14:40:21 Huan Wang wrote: > > > > Ok. What I was suggesting above though was to try to pinpoint exactly > > where it goes wrong. You have verified that it does not crash before the > > page tables are enabled, but that is very early. You have also shown > > that the kernel crashes before the point at which the 'Booting Linux on > > physical CPU 0xf00' message is printed to the kernel, but that is *much* > > later: setup_arch() calls parse_early_param(), which in turn sets up > > early_console_write(). This means the 'Booting Linux on physical CPU > > 0xf00' > > is still stuck in the log buffer and you may have crashed someone > > inbetween. > > > > If you can call printascii(), you can try to do that just after enabling > > the page tables to see if that was the problem like you suspect, or > > otherwise add more printascii() statements between __turn_mmu_on and > > parse_early_param() to pinpoint the exact code that breaks. > [Alison Wang] Thank you very much for your help. The issue is fixed. > Ah, very good. I'm curious what caused the problem in the end. Arnd