Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753474AbdCMQy1 (ORCPT ); Mon, 13 Mar 2017 12:54:27 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34085 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbdCMQyP (ORCPT ); Mon, 13 Mar 2017 12:54:15 -0400 Subject: Re: [BUG] [PowerPC] Kernel Oops when booting Linux mainline From: Abdul Haleem To: linuxppc-dev Cc: sachinp@linux.vnet.ibm.com, Stephen Rothwell , ego , linux-kernel , "aneesh.kumar" Date: Mon, 13 Mar 2017 22:23:55 +0530 In-Reply-To: <1489396715.19698.24.camel@abdul> References: <1489396715.19698.24.camel@abdul> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-MML: disable x-cbid: 17031316-0012-0000-0000-000003CA0C1B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17031316-0013-0000-0000-00001B4F8B17 Message-Id: <1489424035.19698.29.camel@abdul> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-13_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703130133 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3500 Lines: 81 On Mon, 2017-03-13 at 14:48 +0530, Abdul Haleem wrote: > Hi, > > Mainline boot is broken on PowerPC bare metal with below traces: > Machine Type : Power 8 Bare metal > > [ OK ] Mounted Debug File System. > [ OK ] Started Nameserver information manager. > [ OK ] Started LVM2 metadata daemon. > Unable to handle kernel paging request for data at address 0x300000079 > Faulting instruction address: 0xc000000000811cac > Oops: Kernel access of bad area, sig: 11 [#1] > Unable to handle kernel paging request for instruction fetch > Unable to handle kernel paging request for data at address 0xc000007c77881e28 > Faulting instruction address: 0xc000003c7acd7b80 > Faulting instruction address: 0xc00000000029fd88 > Thread overran stack, or stack corrupted > SMP NR_CPUS=2048 > NUMA > PowerNV > Modules linked in: ip_table�KK~<(E) x_tables�\8|<(E) autofs4(E) raid10 raid456 async_raid6_recov > async_memcpy async_pq async_xor async_tx xor raid6_pq multipath bnx2x(E) mdio(E) libcrc32�^B�w<(E) > CPU: 21 PID: 137 Comm: kworker/21:0 Not tainted 4.11.0-rc1-00335-g56b24d1-dirty #1 > Workqueue: events dbs_work_handler > task: c000003c8e86b380 task.stack: c000003c8eae0000 > NIP: c000000000811cac LR: c000000000813014 CTR: c000000000811c50 > REGS: c000003c8eae3980 TRAP: 0300 Not tainted (4.11.0-rc1-00335-g56b24d1-dirty) > MSR: 900000010280b033 > CR: 24002422 XER: 00000000 > CFAR: c000000000008860 DAR: 0000000300000079 DSISR: 40000000 SOFTE: 1 > GPR00: c000000000813014 c000003c8eae3c00 c000000001019800 c000003c780d0800 > GPR04: 0000000000000540 0000000000000000 0000000000000000 c000003c8e86b380 > GPR08: 0000000000000000 000000000000003c 000000000000003c 0000000000008397 > GPR12: c000000000811c50 c00000000fe05400 c0000000000f2e08 c000003ffb073d80 > GPR16: c000003ffc564328 c000003ffc5640f8 c000003ffc5640a0 0000000000000001 > GPR20: 0000000000000000 0000000000000000 c000000000f50bc0 fffffffffffffef7 > GPR24: 0000000000000000 c000003ffc564400 0000000000000000 0000000300000001 > GPR28: c000003c780d0b60 0000000300000001 c000003c780d0800 c000003c780d0b60 > NIP [c000000000811cac] od_dbs_update+0x5c/0x260 > LR [c000000000813014] dbs_work_handler+0x54/0xa0 > Call Trace: > [c000003c8eae3c00] [c000003ffc564880] 0xc000003ffc564880 (unreliable) > [c000003c8eae3c50] [c000000000813014] dbs_work_handler+0x54/0xa0 > [c000003c8eae3c90] [c0000000000ea600] process_one_work+0x2a0/0x590 > [c000003c8eae3d20] [c0000000000ea998] worker_thread+0xa8/0x660 > [c000003c8eae3dc0] [c0000000000f2f4c] kthread+0x14c/0x190 > [c000003c8eae3e30] [c00000000000b4e8] ret_from_kernel_thread+0x5c/0x74 > Instruction dump: > f821ffb1 ebe30340 813f00ac 895f00ac ebbf0078 71280001 5549003c 993f00ac > 40820164 eb9e0340 7fc3f378 eb7c0078 48001539 60000000 39200000 > ---[ end trace 587e7f5a13c0f2ad ]--- > > > Detailed logs and config is attached. > > FYI, Good commit of last successful boot is : > > commit ea6200e84182989a3cce9687cf79a23ac44ec4db > Merge: b4fb8f6 fc69910 > Author: Linus Torvalds > Date: Wed Mar 8 14:45:31 2017 -0800 > > Merge branch 'core-urgent-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > > > With this patch, ppc boots fine. Thanks for the fix http://lkml.kernel.org/r/20170313052213.11411-1-kirill.shutemov@linux.intel.com Tested-by : Abdul Haleem -- Regard's Abdul Haleem IBM Linux Technology Centre