Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753748AbcJIJGr (ORCPT ); Sun, 9 Oct 2016 05:06:47 -0400 Received: from mout.gmx.net ([212.227.15.18]:50900 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751882AbcJIJGp (ORCPT ); Sun, 9 Oct 2016 05:06:45 -0400 Subject: Re: parisc crash on boot with 4.8+git To: Meelis Roos References: <57F96010.1040309@gmx.de> Cc: Linux Kernel list , "linux-parisc@vger.kernel.org" From: Helge Deller X-Enigmail-Draft-Status: N1110 Message-ID: <57FA089F.1020301@gmx.de> Date: Sun, 9 Oct 2016 11:06:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:lqZ46+y2VEbRq2Arff1oKP7XHH5oAyxXIqbP82aXwpgCPs5bNbx HsdSpSb2PhkOukswUdRsYqLMf0e1MBqJhtQL3ScAkCobiRf+rUe7O4byr4O0LpPQqpfU0w1 Z2xFirLbITWmAd+N+oqosASKJq+pDNv6Xhi+iXmaKFiaK+KO08I8pBV3N4D2GAeAGo7tl0d I1xfRkDEnVYyNwPgMqfqA== X-UI-Out-Filterresults: notjunk:1;V01:K0:pF9Zd69eVU4=:4wRuW0F9mmfFgJj/KII8s5 9fWMlo0js3gETI6P+7kHjb45iVIxmpCAK2GYRK37ZoWfLtyfkNqqo6GHAyYFGmV/ZVJf/aI+p lAGOK3kEwsC7/VV8zhMjBtj1RfN3rOJUPrwt275PxPDVZY3+gt9lvIWYleu2mVzUcAjhhyDNz kSsR3MHxANJgnqTF9IIY1cAaVs2ZsKX17f5HPGwomx69bQl06T4SrIzex6T0ooJOPNXgZfCUb 3KbybxQ9VX8Ux9fpeySWEIQ9sPAyFJIDr327XSlvWmBWetKwasqOnqkhtp/l5FxVHEb8du4ej isY/btACmmt3nkXAnQst+Co5vJOoMsj6RG5Qv1t0dQE24KcF8G0ZcvHYlBtsDSuYhGn21Kg+1 V+25CFV0Begwg4jFRvlWoGFWLuuz7eqBaRd6F9hEhifIYdWQ2Iev9maTE/zBtOnNRc6bMi8Wl ayzvpk2ko8ckJxpQIjgcU8dRAaWdrA03D85gyoquVW4Wp+7zvyoN4BQbUSVUA4F5Jn1hwZtmc IfN22FPtova+0/X2goN3RcOjZb2OoOFEN/nMTDAPueWJfdp+dJ7jjlig31if91y7MVzZjbdY8 jih7GKlx0lZ1+d+utqBKsMLRALcGq1cTUN00dZhep8fAnEyQDvNnZXZ0aX699rU5azGtMlZDD Y3tDFvnBFMHWYGFetFACSuTdNlgLnAB6CVKF4fTS7102zY7bw54VEEkwKCxfkAN0xjALjrH6Z OWrRg3JVp9+2lih4mCghtL3cs3PseYdlmJoIZPB3ixQ7K60n4rl9xMI6QyiczB9so7+Rm7GoU d/aa9jf Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2233 Lines: 50 On 09.10.2016 11:03, Meelis Roos wrote: >> On 08.10.2016 23:52, Meelis Roos wrote: >>> rp3410 crashed on boot with the following: >>> >>> Linux version 4.8.0-11288-gb66484c (mroos@rp3410) (gcc version 5.4.0 (Gentoo 5.4.0 p1.0) ) #81 Sat Oct 8 20:40:24 EEST 2016 >>> unwind_init: start = 0x4076e980, end = 0x407a7060, entries = 14446 >>> The 64-bit Kernel has started... >>> Kernel default page size is 4 KB. Huge pages enabled with 1 MB physical and 2 MB virtual size. >>> bootconsole [ttyB0] enabled >>> ... >>> Memory Ranges: >>> 0) Start 0x0000000000000000 End 0x000000003fffffff Size 1024 MB >>> 1) Start 0x0000004040000000 End 0x000000407fdfffff Size 1022 MB >>> Total Memory: 2046 MB >>> Backtrace: >>> [<0000000040102d40>] paging_init+0x5e0/0x740 >>> [<0000000040103744>] setup_arch+0x16c/0x1b0 >>> [<0000000040100ce0>] start_kernel+0xb8/0x668 >>> >>> Bad Address (null pointer deref?): Code=15 regs=00000000408034c0 (Addr=000000099cf94000) >> >> You probably are facing one or both of those problems: >> 1. Your kernel is bigger than the initial kernel mappings >> 2. You face a bug in the palo boot loader. >> >> Regarding 1, you probably have CONFIG_TRACE=y or CONFIG_TEST_RHASHTABLE=y enabled? >> Both increase the kernel size a lot and trigger this bug. > > # CONFIG_TEST_RHASHTABLE is not set > > There is no CONFIG_TRACE in my .config. > # CONFIG_FTRACE is not set I meant CONFIG_FTRACE (which you don't seem to have enabled). I just pushed two updated patches to my for-next git tree. Please pull them on top of Linux head and try again (please update palo before). http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next >> Even if you fix the kernel with the patches above, you still may run >> into the palo bug. I've just pushed a fix for it into the palo tree: >> https://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/commit/?id=70bd7a9a41e318c0575755a78c4d18ad97495c47 >> >> If you rebuild palo, please make sure to install the new ipl boot loader into >> the palo partition of your boot disc. palo should report at bootup version 1.96. Same here. Please pull latest version, and install it: https://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/ Helge