WARNING at lib/percpu-refcount.c:203 __percpu_ref_switch_mode

Solution Verified - Updated -

Issue

  • WARNING: CPU: 2 PID: 2991 at lib/percpu-refcount.c:203 __percpu_ref_switch_mode
[   15.080416] WARNING: CPU: 2 PID: 2991 at lib/percpu-refcount.c:203 __percpu_ref_switch_mode+0x2f8/0x320
[   15.080477] CPU: 2 PID: 2991 Comm: mdX_raid1 Not tainted 4.18.0-372.26.1.el8_6.ppc64le #1
[   15.080481] NIP:  c0000000007f6d78 LR: c0000000007f6e84 CTR: c0000000001cab40
[   15.080485] REGS: c00000006c943790 TRAP: 0700   Not tainted  (4.18.0-372.26.1.el8_6.ppc64le)
[   15.080489] MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24000204  XER: 00000000
[   15.080499] CFAR: c0000000007f6c54 IRQMASK: 1 
               GPR00: c0000000007f6e84 c00000006c943a20 c000000002163f00 c0000000031a63a8 
               GPR04: 0000000000000000 c00000006c943aa8 00e10f5d5ab86065 c00000000ffcde80 
               GPR08: 0000000000000000 0000000000000000 0000000000000001 0000000000000001 
               GPR12: 0000000000000000 c00000000ffcde80 c0000000001aaf38 c000000008cf0440 
               GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
               GPR20: 0000000000000000 0000000000000000 0000000000000000 c0000000023695f8 
               GPR24: c0000000011c6c98 c000000056354800 c000000000b634a0 0000000000000000 
               GPR28: c000000008cba690 0000000000000000 d001f7fa048845c0 c0000000031a63a8 
[   15.080540] NIP [c0000000007f6d78] __percpu_ref_switch_mode+0x2f8/0x320
[   15.080545] LR [c0000000007f6e84] percpu_ref_switch_to_percpu+0x54/0x80
[   15.080549] Call Trace:
[   15.080551] [c00000006c943a20] [c00000006c943a70] 0xc00000006c943a70 (unreliable)
[   15.080556] [c00000006c943aa0] [c0000000007f6e84] percpu_ref_switch_to_percpu+0x54/0x80
[   15.080561] [c00000006c943ae0] [c000000000b616e8] set_in_sync+0x108/0x160
[   15.080567] [c00000006c943b10] [c000000000b71200] md_check_recovery+0x620/0x7a0
[   15.080571] [c00000006c943ba0] [d000000003cb7c9c] raid1d+0x84/0x1e70 [raid1]
[   15.080578] [c00000006c943d30] [c000000000b63584] md_thread+0xe4/0x280
[   15.080582] [c00000006c943db0] [c0000000001ab0c0] kthread+0x190/0x1a0
[   15.080588] [c00000006c943e20] [c00000000000b7d8] ret_from_kernel_thread+0x5c/0x64

Environment

  • Red Hat Enterprise Linux 8.3 and above.
  • MDRAID.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content