Wind River Support Network

HomeDefectsLIN5-5102
Fixed

LIN5-5102 : xilinx-zynq: calltrace appeared when do cpu hotplug

Created: May 24, 2013    Updated: Mar 10, 2016
Resolved Date: Jun 4, 2013
Found In Version: 5.0.1
Fix Version: 5.0,5.0.1.4
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

root@localhost:~# echo 0 > /sys/devices/system/cpu/cpu1/online
CPU1: shutdown
root@localhost:~# echo 1 > /sys/devices/system/cpu/cpu1/online
CPU1: Booted secondary processor
BUG: sleeping function called from invalid context at /zynq-test-rt-boot/bitbake_build/tmp/work/xilinx_zynq-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/kernel/rtmutex.c:658
in_atomic(): 1, irqs_disabled(): 128, pid: 0, name: swapper/1
[<800185c8>] (unwind_backtrace+0x0/0x104) from [<8059ed74>] (dump_stack+0x20/0x24)
[<8059ed74>] (dump_stack+0x20/0x24) from [<8005eac4>] (__might_sleep+0x11c/0x120)
[<8005eac4>] (__might_sleep+0x11c/0x120) from [<805a823c>] (rt_spin_lock+0x2c/0x38)
[<805a823c>] (rt_spin_lock+0x2c/0x38) from [<8059b838>] (platform_secondary_init+0x28/0x38)
[<8059b838>] (platform_secondary_init+0x28/0x38) from [<8059b2d0>] (secondary_start_kernel+0xb4/0x128)
[<8059b2d0>] (secondary_start_kernel+0xb4/0x128) from [<0059ac74>] (0x59ac74)
root@localhost:~# uname -a
Linux localhost 3.4.34-rt40-WR5.0.1.4_preempt-rt #1 SMP PREEMPT RT Fri May 24 14:26:08 CST 2013 armv7l GNU/Linux

Steps to Reproduce

0. build project as follows:
/lpg-build/cdc/sustaining/WR5014LX04/wrlinux-5/wrlinux/configure --enable-kernel=preempt_rt --enable-board=xilinx-zynq --enable-parallel-pkgbuilds=24 --enable-test --enable-rootfs=glibc-std --with-template=feature/kexec --with-layer=/wr-testing/kts,/wr-testing/bts
1. boot board with preempt_rt kernel
2. run cpu hotplug test

Other Downloads


Live chat
Online