8.6.8 Error messages on the console screen
In order to quiet on-screen error messages, the first place to check is
/etc/init.d/klogd
. Set KLOGD="-c
3" in this script and run /etc/init.d/klogd
restart. An alternative method is to run dmesg
-n3.
Here error levels mean:
-
0: KERN_EMERG, system is unusable
-
1: KERN_ALERT, action must be taken immediately
-
2: KERN_CRIT, critical conditions
-
3: KERN_ERR, error conditions
-
4: KERN_WARNING, warning conditions
-
5: KERN_NOTICE, normal but significant condition
-
6: KERN_INFO, informational
-
7: KERN_DEBUG, debug-level messages
If one particular useless error message bothers you a lot, consider making a
trivial kernel patch like shutup-abit-bp6
(available in the
examples subdirectory
).
Another place to look may be /etc/syslog.conf
; check to see
whether any messages are logged to a console device.