AnsweredAssumed Answered

rcu_sched detected stalls on CPUs/tasks

Question asked by hongjian zhao on May 10, 2020
Latest reply on May 11, 2020 by igorpadykov

Hi,all:

   I'm meeting a very serious problem on the chip of imx.6(linux version:4.1.15)。the system maybe suspend when run sometimes, and print rcu stall in sometimes just as show below,is anyone meet this problem or can provide some advice?

 

rcu_stall log:

<3>[20803.847018] INFO: rcu_sched detected stalls on CPUs/tasks:
<3>[20803.847051] 1: (1 GPs behind) idle=369/140000000000000/0 softirq=593036/593037 fqs=215772
<3>[20803.847060] (detected by 3, t=241692 jiffies, g=450146, c=450145, q=47215)
<6>[20803.847075] Task dump for CPU 1:
<6>[20803.847083] swapper/1 R running 0 0 1 0x00000002
<4>[20803.847120] [<c05f2a78>] (__schedule) from [<c05f2dbc>] (schedule+0xac/0xbc)
<4>[20803.847140] [<c05f2dbc>] (schedule) from [<c05f3120>] (schedule_preempt_disabled+0x18/0x1c)
<4>[20803.847164] [<c05f3120>] (schedule_preempt_disabled) from [<c006826c>] (cpu_startup_entry+0x36c/0x394)
<4>[20803.847187] [<c006826c>] (cpu_startup_entry) from [<c00153fc>] (secondary_start_kernel+0x118/0x134)
<4>[20803.847206] [<c00153fc>] (secondary_start_kernel) from [<1000952c>] (0x1000952c)
<3>[20866.897017] INFO: rcu_sched detected stalls on CPUs/tasks:
<3>[20866.897049] 1: (1 GPs behind) idle=369/140000000000000/0 softirq=593036/593037 fqs=221951
<3>[20866.897057] (detected by 3, t=247997 jiffies, g=450146, c=450145, q=48413)
<6>[20866.897072] Task dump for CPU 1:
<6>[20866.897082] swapper/1 R running 0 0 1 0x00000002
<4>[20866.897119] [<c05f2a78>] (__schedule) from [<c05f2dbc>] (schedule+0xac/0xbc)
<4>[20866.897141] [<c05f2dbc>] (schedule) from [<c05f3120>] (schedule_preempt_disabled+0x18/0x1c)
<4>[20866.897165] [<c05f3120>] (schedule_preempt_disabled) from [<c006826c>] (cpu_startup_entry+0x36c/0x394)
<4>[20866.897187] [<c006826c>] (cpu_startup_entry) from [<c00153fc>] (secondary_start_kernel+0x118/0x134)
<4>[20866.897206] [<c00153fc>] (secondary_start_kernel) from [<1000952c>] (0x1000952c)

Outcomes