Wind River Support Network

HomeDefectsLIN5-2605
Fixed

LIN5-2605 : [5.0.1 Async][fsl-p10xx]The call trace occurs when validate CPU_HOTPLUG with standard kernel.

Created: Apr 18, 2013    Updated: Dec 19, 2017
Resolved Date: Apr 27, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.3
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

Problem Description
======================

root@p1022ds:/opt/wr-test# ./main_test.sh -F -s CPU_HOTPLUG -g bts -u 111
/opt/wr-test/lib/lib_env.sh: line 21: rdate: command not found

	>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	The test case list : 
	 CPU_HOTPLUG
	<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

	Start bts Case CPU_HOTPLUG at Tue Apr 16 05:41:21 UTC 2013 with duration 1800 s
loop: module loaded - 
EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
Breaking affinity for irq 19
Breaking affinity for irq 20
Breaking affinity for irq 21
Breaking affinity for irq 22
Breaking affinity for irq 23
Breaking affinity for irq 26
Breaking affinity for irq 27
Breaking affinity for irq 28
Breaking affinity for irq 29
Breaking affinity for irq 30
Breaking affinity for irq 31
Breaking affinity for irq 34
Breaking affinity for irq 41
Breaking affinity for irq 42
Breaking affinity for irq 43
Breaking affinity for irq 59
Breaking affinity for irq 72
Breaking affinity for irq 74
Breaking affinity for irq 78
Breaking affinity for irq 79
EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
Breaking affinity for irq 19
Breaking affinity for irq 20
Breaking affinity for irq 21
Breaking affinity for irq 22
Breaking affinity for irq 23
Breaking affinity for irq 26
Breaking affinity for irq 27
Breaking affinity for irq 28
Breaking affinity for irq 29
Breaking affinity for irq 30
Breaking affinity for irq 31
Breaking affinity for irq 34
Breaking affinity for irq 41
Breaking affinity for irq 42
Breaking affinity for irq 43
Breaking affinity for irq 59
Breaking affinity for irq 72
Breaking affinity for irq 74
Breaking affinity for irq 78
Breaking affinity for irq 79
[sched_delayed] process 3055 (do_spin_loop) no longer affine to cpu1
Unable to handle kernel paging request for data at address 0x7eb5a16c
Faulting instruction address: 0xc008f7dc
Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT SMP NR_CPUS=2 LTT NESTING LEVEL : 0 
P1022 DS
Modules linked in: loop jbd2 ext4
NIP: c008f7dc LR: c008f77c CTR: c008cd04
REGS: ebd43b60 TRAP: 0300   Not tainted  (3.4.34-WR5.0.1.3_standard)
MSR: 00021000 <CE,ME>  CR: 82888682  XER: 20000000
DEAR: 7eb5a16c, ESR: 00800000
TASK = ee7dbc80[3052] 'cpuhotplug02.sh' THREAD: ebd42000 CPU: 0
GPR00: ffffffff ebd43c10 ee7dbc80 00021000 ffffffff 00000000 7eb5a160 fffffffa 
GPR08: c0a85ea0 c0a85ea0 00000000 00000001 42882682 100f46b8 ecdbc740 00000001 
GPR16: 00000002 00000000 c0a85d60 00000002 c0a5a8b0 00000000 c0a0a230 ee85a000 
GPR24: c09f9a80 c1b7da80 ffffffff 00000000 00000000 00021000 00000000 c0a85ea0 
NIP [c008f7dc] cpudl_set+0xbc/0x268
LR [c008f77c] cpudl_set+0x5c/0x268
Call Trace:
[ebd43c10] [c008f77c] cpudl_set+0x5c/0x268 (unreliable)
[ebd43c30] [c008cda4] rq_offline_dl+0xa0/0xb0
[ebd43c40] [c0078fc4] rq_attach_root+0x98/0x264
[ebd43c60] [c007addc] cpu_attach_domain+0x158/0x270
[ebd43ca0] [c0081468] build_sched_domains+0x894/0xad0
[ebd43d10] [c0081920] partition_sched_domains+0x1f0/0x2c4
[ebd43d60] [c00c00a8] cpuset_update_active_cpus+0x290/0x2a4
[ebd43de0] [c0081a40] cpuset_cpu_active+0x4c/0x94
[ebd43df0] [c071ae40] notifier_call_chain+0x70/0xc0
[ebd43e20] [c0072a18] __raw_notifier_call_chain+0x1c/0x2c
[ebd43e30] [c004514c] __cpu_notify+0x40/0x64
[ebd43e40] [c072d554] _cpu_up+0xec/0x134
[ebd43e70] [c072d618] cpu_up+0x7c/0x9c
[ebd43e80] [c05f3354] store_online+0x84/0x980
[ebd43ea0] [c03d8b50] dev_attr_store+0x38/0x48
[ebd43eb0] [c01d8314] sysfs_write_file+0x104/0x1a4
[ebd43ee0] [c016e418] vfs_write+0xb4/0x178
[ebd43f00] [c016e7e8] sys_write+0x5c/0x138
[ebd43f40] [c0010d04] ret_from_syscall+0x0/0x3c
--- Exception: c01 at 0xff11858
    LR = 0xfeb50fc
Instruction dump:
55082036 814b0008 7d1f4214 816b000c 5406103a 90080010 38e7ffff 7cdf3214 
3800ffff 91480008 9168000c 90ff0008 <9086000c> 9009000c 40810098 3b5affff 
---[ end trace 6df557b99ee769f2 ]---

note: cpuhotplug02.sh[3052] exited with preempt_count 2

Steps to Reproduce

1) build a project
lpg-build/cdc/sustaining/WR5013-lx02/wrlinux-5/wrlinux/configure --enable-jobs=8 --enable-parallel-pkgbuilds=4 --enable-kernel=preempt-rt --with-layer=/wr-testing/bts,//wr-testing/kts, --enable-test=yes --enable-rootfs=glibc-std --enable-board=fsl_p10xx --with-rcpl-version=0003
2)root@p1022ds:/opt/wr-test# ./main_test.sh -F -s CPU_HOTPLUG -g bts -u 111

Other Downloads


Live chat
Online