Wind River Support Network

HomeDefectsLIN5-18582
Fixed

LIN5-18582 : [wrLinux501 Async BSP altera-socfpga] When executing cpu hotplug testing, there is call trace on cgl kernel on target altera-socfpga-arriaV

Created: Apr 24, 2014    Updated: Dec 19, 2017
Resolved Date: May 8, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.15
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

On wrLinux501 Async BSP altera-socfpga, when executing cpu hotplug testing, there is call trace on cgl kernel on target altera-socfpga-arriaV

/opt/wr-test# ./main_test.sh -s CPU_HOTPLUG
...

CPU1: Booted secondary processor
BUG: sleeping function called from invalid context at /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.8
in_atomic(): 1, irqs_disabled(): 128, pid: 0, name: swapper/1
INFO: lockdep is turned off.
[<80018120>] (unwind_backtrace+0x0/0x104) from [<8069a770>] (dump_stack+0x20/0x24)
[<8069a770>] (dump_stack+0x20/0x24) from [<8005b0a4>] (__might_sleep+0x130/0x134)
[<8005b0a4>] (__might_sleep+0x130/0x134) from [<806a5b6c>] (mutex_lock_nested+0x38/0x394)
[<806a5b6c>] (mutex_lock_nested+0x38/0x394) from [<80567234>] (clk_get_rate+0x28/0x64)
[<80567234>] (clk_get_rate+0x28/0x64) from [<80697540>] (twd_timer_setup+0x298/0x2a0)
[<80697540>] (twd_timer_setup+0x298/0x2a0) from [<80696f5c>] (percpu_timer_setup+0x78/0x114)
[<80696f5c>] (percpu_timer_setup+0x78/0x114) from [<80697294>] (secondary_start_kernel+0x114/0x128)
[<80697294>] (secondary_start_kernel+0x114/0x128) from [<006968f4>] (0x6968f4)

Steps to Reproduce

1. configure and build project

--enable-board=altera-socfpga --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test --with-layer=/wr-testing-dev/kts,/wr-testing-dev/bts,/wr-testing-dev/ltp

2. run cpu hotplug test

/opt/wr-test# ./main_test.sh -s CPU_HOTPLUG

Other Downloads


Live chat
Online