2 # SPDX-License-Identifier: GPL-2.0+
4 # Scan standard input for error messages, dumping any found to standard
7 # Usage: console-badness.sh
9 # Copyright (C) 2020 Facebook, Inc.
11 # Authors: Paul E. McKenney <paulmck@kernel.org>
13 grep -E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' |
15 grep -v 'This means that this is a DEBUG kernel and it is' |
16 grep -v 'Warning: unable to open an initial console' |
17 grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr.*the init process!' |
18 grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'