by kriztioan » Wed Jul 26, 2017 3:59 am
Same here with 4.12.3, but for raid1:
$this->bbcode_second_pass_code('', '
[ 5.431250] ------------[ cut here ]------------
[ 5.437265] WARNING: CPU: 0 PID: 166 at drivers/md/md.c:2273 set_in_sync+0x11c/0x13c [md_mod]
[ 5.447112] Modules linked in: raid1 md_mod
[ 5.452699] CPU: 0 PID: 166 Comm: md1_raid1 Not tainted 4.12.3-1-ARCH #1
[ 5.460151] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[ 5.466513] [<c0010560>] (unwind_backtrace) from [<c000da9c>] (show_stack+0x10/0x14)
[ 5.474394] [<c000da9c>] (show_stack) from [<c001e9c0>] (__warn+0xdc/0x104)
[ 5.481486] [<c001e9c0>] (__warn) from [<c001ea98>] (warn_slowpath_null+0x20/0x28)
[ 5.489320] [<c001ea98>] (warn_slowpath_null) from [<bf003df0>] (set_in_sync+0x11c/0x13c [md_mod])
[ 5.498668] [<bf003df0>] (set_in_sync [md_mod]) from [<bf0106f4>] (md_check_recovery+0x288/0x624 [md_mod])
[ 5.508614] [<bf0106f4>] (md_check_recovery [md_mod]) from [<bf02e5a0>] (raid1d+0x1c/0x1998 [raid1])
[ 5.518035] [<bf02e5a0>] (raid1d [raid1]) from [<bf003afc>] (md_thread+0x144/0x164 [md_mod])
[ 5.526678] [<bf003afc>] (md_thread [md_mod]) from [<c003c9a4>] (kthread+0x12c/0x13c)
[ 5.534651] [<c003c9a4>] (kthread) from [<c000a550>] (ret_from_fork+0x14/0x24)
[ 5.541981] ---[ end trace 3e62c99f8360f133 ]---')
Just before this message I get:
$this->bbcode_second_pass_code('', '
[ 4.904909] md: md0 stopped.
[ 4.937487] md/raid1:md0: active with 2 out of 2 mirrors
[ 4.944592] md0: detected capacity change from 0 to 268369920
[ 4.992684] md: md1 stopped.
[ 5.054064] md/raid1:md1: active with 2 out of 2 mirrors
[ 5.059734] md1: detected capacity change from 0 to 8581545984
[ 5.099886] md: md2 stopped.
[ 5.136931] md/raid1:md2: active with 2 out of 2 mirrors
[ 5.197614] md2: detected capacity change from 0 to 1991405207552')
Something going on at drivers/md/md.c:2273... but beyond me.
/proc/mdstat reports everything OK:
$this->bbcode_second_pass_code('', '
Personalities : [raid1]
md2 : active raid1 sda3[0] sdb3[2]
1944731648 blocks super 1.2 [2/2] [UU]
bitmap: 0/15 pages [0KB], 65536KB chunk
md1 : active raid1 sda2[0] sdb2[2]
8380416 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
262080 blocks [2/2] [UU]
unused devices: <none>')