-   Red Hat (
-   -   unwanted log messages on the screen (

pranavchoudhary 09-06-2006 08:09 AM

unwanted log messages on the screen
My kernel is 2.4.20-9. Whenever the network link goes down, i get unwanted logs on the terminal, something like these
e100: eth1 NIC link is down
e100: eth1 NIC link is up 100 mbps full duples

I am not running Xwindows(working at runlevel 3). Please help me eliminate these messages.


druuna 09-06-2006 08:41 AM


It could be that klogd is the reason for this.

Messages with a certain level (and higher) are send to the console. With the -c <number> option you can manipulate this behavior. A higher number (0-7) prints less output to the console.

4 is default (to my knowledge), which would show errors/criticals/alerts/emergencies

6 would for example show: alerts/emergencies

man klogd for details.

Hope this helps.

pranavchoudhary 09-06-2006 08:49 AM

I did a "ps -ef | grep klogd", it was running with (only) -x as its argument. Still, i killed it and started it with -c 4 (and then -c 6) as arguments, but it did not help.


druuna 09-06-2006 09:10 AM


So it isn't klogd.....

Does the error message show on one console (/dev/tty1) or on all the consoles (/dev/tty1 -> /dev/tty6)?

It could be a line in the /etc/syslog.conf if it is only on one console (probably /dev/tty1). This line should end with: /dev/tty1

Is the error also present in logfile(s)? If so, is there any extra information about the program (or PID) that is sending this message?

A few more things to check, hope this will help.

pranavchoudhary 09-06-2006 09:25 AM

The message appears on all the consoles. my /etc/syslog.conf does not have any line ending in /dev/tty[1-6] or /dev/console. I greped for these messages in /var/log/ directory. They were present in a file ws2000 and my /etc/syslog.conf has a line
*.* /var/log/ws2000

The log in the file indicates that the kernel is generating the message

Apr 4 10:10:12 hostname kernel: e100: eth1 NIC Link is Down


druuna 09-06-2006 09:44 AM


Found this, but it seems to be VMWare related:


Getting a DHCP Address in a Red Hat Linux 9.0 Virtual Machine

You have a virtual machine, with Red Hat Linux 9.0 as the guest operating system and the vlance driver for your network connection. When this guest operating system tries to get a DHCP address, the attempt fails and you see an error message that states the link is down.

To work around this problem, become root (su -) and use a text editor to edit the following files in the guest operating system. If only one of these files exist, then make the change for that file only.

where, in both cases, [n] is the number of the Ethernet adapter -- for example, eth0.

Add the following section to each of these two files:

check_link_down () {
return 1;
Then, run the command ifup eth[n] (where [n] is the number of the Ethernet adapter) or restart the guest operating system.
Link I got this from: Red Hat Linux 9.0 VMWare support

pranavchoudhary 09-06-2006 12:29 PM

my interface is not a dhcp client. Still i tried the stuff. Results:negative.

druuna 09-06-2006 12:50 PM


Try: dmesg -n 1

See man dmesg for details.

Hope this helps.

pranavchoudhary 09-07-2006 01:58 AM

Thanks a lot. It helps, after a dmesg -n 3, the messages disappear.


All times are GMT -5. The time now is 03:26 AM.