Re: kernel messages in active virtual console
On Wed, 2004-02-25 at 22:47, Serge Tensen wrote:
> Hello,
>
> I'm using a very default Debian 3.0r2 system. Every time something happens
> with my NIC's (plug 'em in and out a hub) this generates a message in the
> active virtual console. In /var/log/messages these messages are said to come
> from the kernel. How do I get those messages from my consoles?
> I tried /etc/syslog.conf, kill klogd, read doc's and man pages but I can't
> find the cause. Any suggestions? Thanks in advance.
Debian-reference:
http://qref.sourceforge.net/Debian/reference/ch-tips.en.html#s8.6.8
<quote>
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.
</quote>
Reply to: