Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752553AbcJJOrW (ORCPT ); Mon, 10 Oct 2016 10:47:22 -0400 Received: from mout.gmx.net ([212.227.15.18]:58186 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752147AbcJJOrU (ORCPT ); Mon, 10 Oct 2016 10:47:20 -0400 Subject: Re: parisc crash on boot with 4.8+git To: Meelis Roos References: <57F96010.1040309@gmx.de> <57FA089F.1020301@gmx.de> <57FAA079.5010502@gmx.de> Cc: Linux Kernel list , "linux-parisc@vger.kernel.org" From: Helge Deller Message-ID: <57FBA9F1.6000009@gmx.de> Date: Mon, 10 Oct 2016 16:47:13 +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:QQtWUXRQvEZxVdQVbX7bDXYDfkLCFUhP7zbidD5keRYNr4awA1b vPlX40sWbkIbrZDwgkqazB7CqghaVXx8ARofFEsQFKAQTygaY7gOzAjy+P2BCwnaydV7Awo 7/kEe8KMm7z2BGEEZr5RquDeyi6rBS1oaRpmXgC3Wxk4J8wbtEr35LxpV8o0Zc5oPnuv9th 5UNdYDCG/ymR4moeC2vmA== X-UI-Out-Filterresults: notjunk:1;V01:K0:umHU8KwJUcU=:1iFPV2bp33xggqnMg4Psmm 9U0ZKKnW2MeCSk81ZB29gIDUIWINl6QNzJPRLouBh/uGS12k25LNK48nDQ9sbPde4Cw41XQ09 KWF36k4h/e0jr5wMNR45a+qI9PZlhLC/uGlIJHaXpypy/xjiDZyjsmJWNRkiFBuHVUvvro+op nu+BG/PaS9nk3cpfSA8tzTO+nwHY3yw8+pjmKIx/EV8NQdGpfTFCCRJS44yUmd3dOX5ZZixht 11ElqWNAiQ434/t2ecTwv3sGLO8r3IQTu4dTZrDT91IDwUFxp+Mnzv9yzIyAiEV4NK4iz5zzs bn/APixhbDiDMiDL61ff+NWqxEvutzGs08r2x34CovINW5mZI7JErZA2ivjGiP1JMvQiLQSzA DmmpeViXVbFPJgRQejfx0/HKj8fOd+6htsrcKtbS9BTPlLHJE0N//tZCtB+WLRl05J6YaEExr PRwnGXGpMmAVX6YtSIMeW9WSq9uca0vKbp32js5sxQLVqUESgo/S5AP31NPiL+SCYB5cLVVgg i/473ZfQJ6rKlp/cWui+b+5YvEbcBo+cAN5fgl2vQuSTk+qx5U4C+TVVcA28mY+6x7/FkhD5n S1aPsoEfGbAIUuX8Vir6AnLbjG18S4uJ51enR8ouM34c/cvMBQe9FWtc0YcnknQdH+Y/VkMSA QYjzGCpx36BwhozjjtWdObFRD2U6V1mt6YtS4GW7R8QYNcoZWnrk+qKMkcd6lnXV/WxzYAiWR T0YTzTlqW2zhqA8CEdCXGJnbX829iT1ZT8ZcGferT8QMrRZl796nAT9Ph4WhqBYJELA7GsuiU wkbvFXj Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3563 Lines: 90 On 10.10.2016 08:04, Meelis Roos wrote: >>>>>> 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/ >>> >>> palo ipl 1.96 http://www.parisc-linux.org - Sun, 08 Oct 2016 22:40:31 +0100 >>> >>> Just palo with newst upstream kernel git did not change anything, so >>> it's not palo. >>> >>> >>> Pulled >>> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git >>> but it seems to be alreay up to date - these commits are in my tested >>> upstream that broke the booting? >> >> Really? I just updated it a few hours ago. Please pull the "for-next" branch. >> >> Can you send the last line of your "System.map" file, e.g. >> 0000000041f00000 B _end >> >> What is the output of palo when booting ? > > Sorry, I pulled from the default branch before, now for-next and it did > pull stuff. > > System.map ends with > > 0000000040900000 B _end > > > > HARD Booted. > palo ipl 1.96 http://www.parisc-linux.org - Sun, 08 Oct 2016 22:40:31 +0100 > > Partition Start(MB) End(MB) Id Type > 1 1 32 f0 Palo > 2 33 224 83 ext2 > 3 225 31696 83 ext2 > 4 31697 34715 82 swap > > PALO(F0) partition contains: > > Command line for kernel: 'root=/dev/sdb3 console=ttyS1 > palo_kernel=2/vmlinux' > Selected kernel: /vmlinux from partition 2 > ELF64 executable > Entry 00100000 first 00100000 n 5 > Segment 0 load 00100000 size 135536 mediaptr 0x1000 > Segment 1 load 00122000 size 23320 mediaptr 0x23000 > Segment 2 load 00200000 size 4541488 mediaptr 0x29000 > Segment 3 load 00655000 size 1393916 mediaptr 0x47e000 > Segment 4 load 00800000 size 1045640 mediaptr 0x5d3000 > Branching to kernel entry point 0x00100000. If this is the last > message you see, you may need to switch your console. This is > a common symptom -- search the FAQ and mailing list at parisc-linux.org > > Linux version 4.8.0-11292-gf79b076 (mroos@rp3410) (gcc version 5.4.0 (Gentoo 5.4.0 p1.0) ) #82 Mon Oct 10 01:25:58 EEST 2016 > unwind_init: start = 0x40770e1c, end = 0x407a94fc, entries = 14446 > FP[0] enabled: Rev 1 Model 20 > 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 > Initialized PDC Console for debugging. > Determining PDC firmware type: 64 bit PAT. > model 00008860 00000491 00000000 00000002 3e45475d0860fe3d 100000f0 00000008 000000b2 000000b2 > vers 00000302 > CPUID vers 20 rev 5 (0x00000285) > capabilities 0x35 > model 9000/800/rp3410 > parisc_cache_init: Only equivalent aliasing supported! > Memory Ranges: > 0) Start 0x0000000000000000 End 0x000000003fffffff Size 1024 MB > 1) Start 0x0000004040000000 End 0x000000407fdfffff Size 1022 MB > Total Memory: 2046 MB 2046 MB ??? That's strange, it should be 2048 MB. Can you check in your firmware "service" or "Configuration" menu, if it reports some entries in your PDT (Page Deallocation Table) ? What happens if you clean the PDT entries (see firmware menu) and boot again? Helge