[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1505473476.9665.13.camel@abdul.in.ibm.com>
Date: Fri, 15 Sep 2017 16:34:36 +0530
From: abdul <abdhalee@...ux.vnet.ibm.com>
To: linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
mpe <mpe@...erman.id.au>, Rob Herring <robh@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
sachinp <sachinp@...ux.vnet.ibm.com>
Subject: [mainline][DLPAR][Oops] OF: ERROR: Bad of_node_put() on /cpus
Hi,
Mainline kernel panics during DLPAR CPU add/remove operation.
Machine Type: Power8 PowerVM LPAR
kernel 4.13.0
gcc 6.3.1
config: attached
trace messaged:
-------------
drmgr: -c cpu -d 5 -w 30 -r
cpu 8 (hwid 8) Ready to die...
cpu 9 (hwid 9) Ready to die...
cpu 10 (hwid 10) Ready to die...
cpu 11 (hwid 11) Ready to die...
cpu 12 (hwid 12) Ready to die...
cpu 13 (hwid 13) Ready to die...
cpu 14 (hwid 14) Ready to die...
cpu 15 (hwid 15) Ready to die...
OF: ERROR: Bad of_node_put() on /cpus
CPU: 0 PID: 10896 Comm: drmgr Not tainted 4.13.0-autotest #1
Call Trace:
[c00000026ecdf810] [c00000000278a2a4] dump_stack+0x15c/0x1f8
(unreliable)
[c00000026ecdf850] [c0000000025371a4] of_node_release+0x1a4/0x1c0
[c00000026ecdf8e0] [c0000000027948c8] kobject_put+0x1a8/0x310
[c00000026ecdf960] [c000000002794bdc] kobject_del+0xbc/0xf0
[c00000026ecdf990] [c000000002535ff4] __of_detach_node_sysfs+0x144/0x210
[c00000026ecdf9d0] [c000000002536f70] of_detach_node+0xf0/0x180
[c00000026ecdfa40] [c0000000016ed494] dlpar_detach_node+0xc4/0x120
[c00000026ecdfa80] [c0000000016f47d0] dlpar_cpu_remove+0x280/0x560
[c00000026ecdfb60] [c0000000016f4d9c] dlpar_cpu_release+0xbc/0x1b0
[c00000026ecdfbb0] [c00000000161279c] arch_cpu_release+0x6c/0xb0
[c00000026ecdfbe0] [c00000000218ebf0] cpu_release_store+0xa0/0x100
[c00000026ecdfc20] [c000000002178388] dev_attr_store+0x68/0xa0
[c00000026ecdfc50] [c000000001bfaae8] sysfs_kf_write+0xa8/0xf0
[c00000026ecdfc80] [c000000001bf8a3c] kernfs_fop_write+0x2cc/0x400
[c00000026ecdfce0] [c000000001ad33fc] __vfs_write+0x5c/0x340
[c00000026ecdfd80] [c000000001ad89e8] vfs_write+0x1a8/0x3d0
[c00000026ecdfdd0] [c000000001ad9178] SyS_write+0xa8/0x1a0
[c00000026ecdfe30] [c0000000015eb8e0] system_call+0x58/0x6c
[....]
OF: ERROR: Bad of_node_put() on /cpus
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.13.0-autotest #1
Call Trace:
[c0000002719dfcc0] [c00000000278a2a4] dump_stack+0x15c/0x1f8
(unreliable)
[c0000002719dfd00] [c0000000025371a4] of_node_release+0x1a4/0x1c0
[c0000002719dfd90] [c0000000027948c8] kobject_put+0x1a8/0x310
[c0000002719dfe10] [c00000000253519c] of_node_put+0x4c/0x80
[c0000002719dfe30] [c000000002529f2c] of_get_next_parent+0xac/0x120
[c0000002719dfe70] [c0000000016170cc] of_get_ibm_chip_id+0x8c/0x140
[c0000002719dfec0] [c00000000161720c] cpu_to_chip_id+0x8c/0xd0
[c0000002719dfef0] [c00000000164d478] start_secondary+0x258/0x8d0
[c0000002719dff90] [c0000000015eb180] start_secondary_resume+0x10/0x14
Unable to handle kernel paging request for data at address
0xc000306574617473
Faulting instruction address: 0xc000000001a89664
Oops: Kernel access of bad area, sig: 11 [#1]
LE SMP NR_CPUS=2048 NUMA pSeries
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in: rcutorture torture rpadlpar_io rpaphp bridge stp llc
xt_tcpudp ipt_REJECT nf_reject_ipv4 xt_conntrack nfnetlink
iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
nf_nat nf_conntrack iptable_filter vmx_crypto pseries_rng rng_core nfsd
binfmt_misc ip_tables x_tables autofs4
CPU: 2 PID: 17 Comm: cpuhp/2 Not tainted 4.13.0-autotest #1
task: c000000271a62600 task.stack: c000000271a6c000
NIP: c000000001a89664 LR: c000000001a89638 CTR: 0000000000000000
REGS: c000000271a6f520 TRAP: 0300 Not tainted (4.13.0-autotest)
MSR: 800000000280b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE> CR: 28000828
XER: 00000000
CFAR: c0000000015e87d8 DAR: c000306574617473 DSISR: 40000000 SOFTE: 1
GPR00: c0000000019d16b8 c000000271a6f7a0 c000000003561e00
0000000000000001
GPR04: 00000000014000c0 000000027ce71000 0000000000000fe1
c0000000035c6810
GPR08: 000000002e091d1e 000000000000e292 0000000000000000
c000000271a6f7ff
GPR12: 0000000000000000 c00000000fdc0900 c000000001792718
c00000026c0012c0
GPR16: 0000000000000000 c000000002b93350 c000000003466670
c00000000373f938
GPR20: 00000000014080c0 c000000003a30300 c000000002b036d0
c00000027fb953d8
GPR24: c000306574617473 c00000027e007c00 c0000000019d17c8
00000000014000c0
GPR28: 0000000000000007 c00000027e03e438 c00000027e007c00
c0000000037ab3f0
NIP [c000000001a89664] __kmalloc_track_caller+0x5d4/0x680
LR [c000000001a89638] __kmalloc_track_caller+0x5a8/0x680
Call Trace:
[c000000271a6f7a0] [c000000271a6f7d0] 0xc000000271a6f7d0 (unreliable)
[c000000271a6f800] [c0000000019d16b8] kstrdup+0x98/0x110
[c000000271a6f840] [c0000000019d17c8] kstrdup_const+0x98/0xc0
[c000000271a6f860] [c000000001bf3090] __kernfs_new_node+0x80/0x310
[c000000271a6f8d0] [c000000001bf571c] kernfs_new_node+0x5c/0xe0
[c000000271a6f900] [c000000001bf643c] kernfs_create_dir_ns+0x5c/0x170
[c000000271a6f950] [c000000001bfc5fc] sysfs_create_dir_ns+0x9c/0x190
[c000000271a6f990] [c000000002795d60] kobject_add_internal+0x1c0/0x6d0
[c000000271a6fa20] [c000000002796594] kobject_add_varg+0x74/0xf0
[c000000271a6faa0] [c00000000279668c] kobject_init_and_add+0x7c/0xb0
[c000000271a6fae0] [c0000000024f85bc] cpuidle_add_device_sysfs
+0x15c/0x370
[c000000271a6fbd0] [c0000000024f4a54] cpuidle_enable_device+0x114/0x230
[c000000271a6fc20] [c0000000024f97bc] pseries_cpuidle_cpu_online
+0xbc/0x100
[c000000271a6fc50] [c000000001743f08] cpuhp_invoke_callback+0x288/0xb50
[c000000271a6fcd0] [c000000001744b50] cpuhp_up_callbacks+0xb0/0x250
[c000000271a6fd20] [c000000001745fc4] cpuhp_thread_fun+0x214/0x280
[c000000271a6fd60] [c00000000179b9f4] smpboot_thread_fn+0x354/0x480
[c000000271a6fdc0] [c00000000179295c] kthread+0x24c/0x2e0
[c000000271a6fe30] [c0000000015ebc60] ret_from_kernel_thread+0x5c/0x7c
Instruction dump:
4bb73f35 60000000 e95f66a0 e93f66a8 2fb80000 394a0001 39290001 f95f66a0
f93f66a8 419e003c e95e0022 e93f66b0 <7d58502a> 39290001 f93f66b0
2faa0000
---[ end trace 9dc6afde15547583 ]---
Kernel panic - not syncing: Fatal exception
Regard's
Abdul Haleem
IBM Linux Technology Center
View attachment "alpine-4k-pagesize" of type "text/plain" (87956 bytes)
Powered by blists - more mailing lists