From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752930AbcI0GaB (ORCPT ); Tue, 27 Sep 2016 02:30:01 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:45690 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751962AbcI0G3y (ORCPT ); Tue, 27 Sep 2016 02:29:54 -0400 Subject: Re: Kernel Oops on 4.8.0-rc8 while running trinity tests To: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <3752be15-2382-1ffc-3509-bbea81539357@linux.vnet.ibm.com> Cc: aneesh.kumar@linux.vnet.ibm.com From: Abdul Haleem Date: Tue, 27 Sep 2016 11:59:47 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <3752be15-2382-1ffc-3509-bbea81539357@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16092706-0044-0000-0000-0000014DBCD5 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005816; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000185; SDB=6.00761751; UDB=6.00362896; IPR=6.00536758; BA=6.00004760; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012794; XFM=3.00000011; UTC=2016-09-27 06:29:52 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16092706-0045-0000-0000-0000057AC2E3 Message-Id: <33a0fd86-12ac-088e-3e23-60b419804123@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-27_03:,, 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-1609020000 definitions=main-1609270117 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kernel oops is still reproducible on 4.8.0-rc8 on PowerPC bare metal While running trinity system call fuzzer, I see these kernel oops messages: Unable to handle kernel paging request for data at address 0xe45f770200000000 Faulting instruction address: 0xc000000000055380 Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=32 NUMA PowerNV Modules linked in: torture leds_powernv led_class powernv_op_panel powernv_rng rng_core autofs4 [last unloaded: rcutorture] CPU: 28 PID: 19687 Comm: trinity-main Not tainted 4.8.0-rc8-autotest #1 task: c0000007dc61c600 task.stack: c0000007ddb20000 NIP: c000000000055380 LR: c000000000234968 CTR: 0000000000000000 REGS: c0000007ddb23640 TRAP: 0300 Not tainted (4.8.0-rc8-autotest) MSR: 9000000000009033 CR: 24002442 XER: 00000000 CFAR: c0000000000087d0 DAR: e45f770200000000 DSISR: 40000000 SOFTE: 1 GPR00: 0000000000000007 c0000007ddb238c0 c000000000f7c100 c000000000000000 GPR04: 0000000000000000 0000000000000009 0000000000000000 0000000000000000 GPR08: e45f770200000000 0000000000000000 000000000000007f 0000000000000015 GPR12: 0000000000000000 c00000000ffff000 0000000000000000 0000000000001000 GPR16: 0000000000000001 0000000000000000 c000000002e02798 0000000010034120 GPR20: 0000000010034108 c0000007ddf842e0 c000000000ff0df8 0000000000000000 GPR24: c1fffffffffff7ff 0000000000000000 c0000007ddb23a60 0000000001000000 GPR28: 0000000001000000 c000000002e02400 c000000002e02464 0000000000000000 NIP [c000000000055380] __find_linux_pte_or_hugepte+0x1c0/0x330 LR [c000000000234968] __unmap_hugepage_range+0x178/0x670 Call Trace: [c0000007ddb23980] [c000000000234e80] __unmap_hugepage_range_final+0x20/0x50 [c0000007ddb239b0] [c00000000020a52c] unmap_single_vma+0xcc/0x120 [c0000007ddb239f0] [c00000000020a984] unmap_vmas+0x84/0x120 [c0000007ddb23a40] [c000000000212c00] unmap_region+0xd0/0x1a0 [c0000007ddb23b30] [c000000000214e8c] do_munmap+0x2dc/0x4a0 [c0000007ddb23ba0] [c000000000216800] mmap_region+0x1c0/0x6e0 [c0000007ddb23c90] [c0000000002170fc] do_mmap+0x3dc/0x4c0 [c0000007ddb23d20] [c0000000001f1034] vm_mmap_pgoff+0xc4/0x100 [c0000007ddb23d90] [c0000000002144d0] SyS_mmap_pgoff+0x100/0x2a0 [c0000007ddb23e10] [c000000000012424] sys_mmap+0x44/0x70 [c0000007ddb23e30] [c0000000000095e0] system_call+0x38/0x108 Instruction dump: 7d290030 79081764 3929ffff 3860ffff 7d2a07b4 7c895c36 7d494838 78630044 7908f5e6 79291f24 7d081b78 796b0020 <7d49402a> 7c694214 2eaa0000 f941ffd0 ---[ end trace f4f25c6801290199 ]--- On Friday 26 August 2016 12:02 PM, Abdul Haleem wrote: > Hi, > > Trinity tests failed on mainline4.8.0-rc3with the following error > message: > > Machine Type : PowerPC Bare Metal & also reproducible on PowerVM LPAR > config : attached > > 06:05:25 20:36:07 INFO | Test: running trinity tests > 06:05:25 20:36:07 INFO | trinity > 06:05:25 20:36:07 INFO | START trinity trinity > timestamp=1471912567 localtime=Aug 22 20:36:07 > 06:06:19 Unable to handle kernel paging request for data at address > 0xe475e1dc07000000 > 06:06:19 Faulting instruction address: 0xc0000000000553a0 > 06:06:19 Oops: Kernel access of bad area, sig: 11 [#1] > 06:06:19 SMP NR_CPUS=32 NUMA PowerNV > 06:06:19 Modules linked in: torture iptable_mangle ipt_MASQUERADE > nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat > nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT > nf_reject_ipv4 xt_tcpudp tun bridge stp llc iptable_filter ip_tables > x_tables binfmt_misc kvm_hv kvm leds_powernv led_class > powernv_op_panel powernv_rng rng_core autofs4 btrfs xor raid6_pq [last > unloaded: rcutorture] > 06:06:19 CPU: 24 PID: 16309 Comm: trinity-main Not tainted > 4.8.0-rc3-autotest #1 > 06:06:19 task: c0000007de330000 task.stack: c0000007d85dc000 > 06:06:19 NIP: c0000000000553a0 LR: c0000000002345a8 CTR: 0000000000000000 > 06:06:19 REGS: c0000007d85df640 TRAP: 0300 Not tainted > (4.8.0-rc3-autotest) > 06:06:19 MSR: 9000000000009033 CR: > 24002452 XER: 00000000 > 06:06:19 CFAR: c0000000000087d0 DAR: e475e1dc07000000 DSISR: 40000000 > SOFTE: 1 > 06:06:19 GPR00: 0000000000000007 c0000007d85df8c0 c000000000f7ad00 > c000000000000000 > 06:06:19 GPR04: 0000000000000000 0000000000000009 0000000007000000 > 0000000000000000 > 06:06:19 GPR08: e475e1dc07000000 0000000000000000 000000000000007f > 0000000000000015 > 06:06:19 GPR12: 0000000000000000 c00000000fffe000 0000000000000000 > 0000000000001000 > 06:06:19 GPR16: 0000000000000001 0000000000000000 c0000007ddfa6798 > 00000000100341e0 > 06:06:19 GPR20: 00000000100341c8 c0000007dc336508 c000000000ff0df8 > 0000000000000000 > 06:06:19 GPR24: c1fffffffffff7ff 0000000000000000 c0000007d85dfa60 > 0000000001000000 > 06:06:19 GPR28: 0000000001000000 c0000007ddfa6400 c0000007ddfa6464 > 0000000000000007 > 06:06:19 NIP [c0000000000553a0] __find_linux_pte_or_hugepte+0x1c0/0x330 > 06:06:19 LR [c0000000002345a8] __unmap_hugepage_range+0x178/0x670 > 06:06:19 Call Trace: > 06:06:19 [c0000007d85df980] [c000000000234ac0] > __unmap_hugepage_range_final+0x20/0x50 > 06:06:19 [c0000007d85df9b0] [c00000000020a16c] > unmap_single_vma+0xcc/0x120 > 06:06:19 [c0000007d85df9f0] [c00000000020a5c4] unmap_vmas+0x84/0x120 > 06:06:19 [c0000007d85dfa40] [c000000000212840] unmap_region+0xd0/0x1a0 > 06:06:19 [c0000007d85dfb30] [c000000000214acc] do_munmap+0x2dc/0x4a0 > 06:06:19 [c0000007d85dfba0] [c000000000216440] mmap_region+0x1c0/0x6e0 > 06:06:19 [c0000007d85dfc90] [c000000000216d3c] do_mmap+0x3dc/0x4c0 > 06:06:19 [c0000007d85dfd20] [c0000000001f0d04] vm_mmap_pgoff+0xc4/0x100 > 06:06:19 [c0000007d85dfd90] [c000000000214110] SyS_mmap_pgoff+0x100/0x2a0 > 06:06:19 [c0000007d85dfe10] [c000000000012424] sys_mmap+0x44/0x70 > 06:06:19 [c0000007d85dfe30] [c0000000000095e0] system_call+0x38/0x108 > 06:06:19 Instruction dump: > 06:06:19 7d290030 79081764 3929ffff 3860ffff 7d2a07b4 7c895c36 > 7d494838 78630044 > 06:06:19 7908f5e6 79291f24 7d081b78 796b0020 <7d49402a> 7c694214 > 2eaa0000 f941ffd0 > 06:06:19 ---[ end trace 871b82883646cab5 ]--- > > Regard's > Abdul >