rcu_bh_state detected stall on CPU 1 (t=0 jiffies)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rcu_bh_state detected stall on CPU 1 (t=0 jiffies)

2,449 Views
zhouhuafeng
Contributor I

i.mx6d的机器小概率出现rcu_bh_state detected stall on CPU 1 (t=0 jiffies)这个错误,然后重启。出现机率很小,可能一两个月也不出现,但是偶尔会出现。

机器配置如下:

SOC:i.mx6d, android4.4.2, k3.0.35

CONFIG_RCU_CPU_STALL_TIMEOUT=60

我看了RCU的代码感觉出现rcu_bh_state detected stall on CPU 1提示,不可能会t=0 jiffies。

有谁有遇到过这问题?

INFO: rcu_bh_state detected stall on CPU 1 (t=0 jiffies)
Backtrace for cpu 1 (current):
Function entered at [<c0048370>] from [<c00473b4>]
Function entered at [<c00473b4>] from [<c00c04e0>]
Function entered at [<c00c04e0>] from [<c00c13bc>]
Function entered at [<c00c13bc>] from [<c008a3b0>]
Function entered at [<c008a3b0>] from [<c00a8b1c>]
Function entered at [<c00a8b1c>] from [<c009ca78>]
Function entered at [<c009ca78>] from [<c009da6c>]
Function entered at [<c009da6c>] from [<c003b340>]
Function entered at [<c003b340>] from [<c0040a4c>]
Exception stack(0xd4061f90 to 0xd4061fd8)
1f80: 00000001 200e0093 d4061fc0 f40c4000
1fa0: d4060000 c06b85e4 c0651a70 c05391ac c06598b4 412fc09a 00000000 00000000
1fc0: 00000000 d4061fd8 c0536a00 c0041b3c 400e0013 ffffffff
Function entered at [<c0040a4c>] from [<c0041b3c>]
Function entered at [<c0041b3c>] from [<c0041e5c>]
Function entered at [<c0041e5c>] from [<1052c0f4>]

sending IPI to all other CPUs:
IPI backtrace for cpu 0

0Pid: 0, comm: swapper
CPU: 0 Not tainted (3.0.35 #4)
pc : [<c0041b3c>] lr : [<c0536a00>] psr: 400f0013

sp : c063dfb0  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 412fc09a  r8 : c06598b4
r7 : c05391ac  r6 : c0651a70  r5 : c06b85e4  r4 : c063c000
r3 : f40c4000  r2 : c063df98  r1 : 200f0093  r0 : 00000001
Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 2010804a  DAC: 00000015
 
PC: 0xc0041abc:

0 Kudos
3 Replies

1,617 Views
igorpadykov
NXP Employee
NXP Employee

Hi Huafeng

"rcu detected stall " errors are caused by arm/gpu bugs which were

fixed in latest nxp linux releases described on

i.MX Software|NXP 

you can backport these changes to L3.0.35 kernel or apply for help to

Professional Services

NXP Professional Services|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,617 Views
zhouhuafeng
Contributor I

Hi, igorpadykov

which patches fixed this arm/gpu bugs ? have links to download? My professional FAE asked me to ask you.

0 Kudos

1,617 Views
igorpadykov
NXP Employee
NXP Employee

please refer to Release Notes in documentation packages on i.MX official

software link

i.MX Software|NXP 

In Chapter "Graphics", Table "New features" you will find section

with "Bug Fixes" for every Linux release.

For arm errata one can refer for example to  uboot "#define CONFIG_ARM_ERRATA*"

in mx6_common.h

uboot-imx.git - Freescale i.MX u-boot Tree 

Best regards
igor

0 Kudos