AnsweredAssumed Answered

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

Question asked by Huafeng Zhou on Aug 17, 2018
Latest reply on Aug 27, 2018 by Huafeng Zhou

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:

Outcomes