1 #!/bin/bash 2 # SPDX-License-Identifier: GPL-2.0+ 3 # 4 # Scan standard input for error messages, dumping any found to standard 5 # output. 6 # 7 # Usage: console-badness.sh 8 # 9 # Copyright (C) 2020 Facebook, Inc. 10 # 11 # Authors: Paul E. McKenney <paulmck@kernel.org> 12 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|!!!' | 14 grep -v 'ODEBUG: ' | 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'
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.