check: catch updated suspicious RCU usage message in _check_dmesg()
PATCH 1/1 check: catch updated suspicious RCU usage message in _check_dmesg()
From: Eric Biggers <[email protected]>
In the v4.11 kernel, the suspicious RCU usage message uses the word "ERR" rather than "INFO". Update _check_dmesg to accept both versions.
Signed-off-by Eric Biggers <[email protected]>
--- common/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
common/rc +2 -2
@@ -3285,13 +3285,13 @@ _check_dmesg() # use sed \cregexpc address type, since $seqnum contains "/" dmesg | tac | sed -ne "0,\#run fstests $seqnum at $date_time#p" | \ tac | $filter >$seqres.dmesg - grep -q -e "kernel BUG at" \ + egrep -q -e "kernel BUG at" \ -e "WARNING:" \ -e "BUG:" \ -e "Oops:" \ -e "possible recursive locking detected" \ -e "Internal error" \ - -e "INFO: suspicious RCU usage" \ + -e "(INFO|ERR): suspicious RCU usage" \ -e "INFO: possible circular locking dependency detected" \ -e "general protection fault:" \ $seqres.dmesg
Signature · 1 line
2.13.0.rc1.294.g07d810a77f-goog
Quoted 6 lines · Eric Biggers
From: Eric Biggers <[email protected]>
In the v4.11 kernel, the suspicious RCU usage message uses the word "ERR" rather than "INFO". Update
_check_dmesgto accept both versions.Signed-off-by Eric Biggers <[email protected]>
Thanks! I updated the commit log a bit to refer to kernel commit 4d4f88fa235f ("lockdep: Make RCU suspicious-access splats use pr_err")
Thanks,
Eryu
Quoted 31 lines
--- common/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)common/rc +2
-2@@ -3285,13 +3285,13 @@ _check_dmesg() # use sed \cregexpc address type, since $seqnum contains "/" dmesg | tac | sed -ne "0,\#run fstests $seqnum at $date_time#p" | \ tac | $filter >$seqres.dmesg - grep -q -e "kernel BUG at" \ + egrep -q -e "kernel BUG at" \ -e "WARNING:" \ -e "BUG:" \ -e "Oops:" \ -e "possible recursive locking detected" \ -e "Internal error" \ - -e "INFO: suspicious RCU usage" \ + -e "(INFO|ERR): suspicious RCU usage" \ -e "INFO: possible circular locking dependency detected" \ -e "general protection fault:" \ $seqres.dmesgSignature · 6 lines
2.13.0.rc1.294.g07d810a77f-goog -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html