LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   dhcpcd messages breaking into the console screen at random times. (http://www.linuxquestions.org/questions/slackware-14/dhcpcd-messages-breaking-into-the-console-screen-at-random-times-4175433171/)

stf92 10-20-2012 12:16 AM

dhcpcd messages breaking into the console screen at random times.
 
1 Attachment(s)
Hi: When working at the console, say /dev/tty3, it often happens that a group of messages are printed on it. An example:
Code:

dhcpcd[2707]: sending DHCP_REQUEST for <some IP number> to <some IP number>
The last message of the group consists in someone saying someone else acknowledged (it contains the DHCP_ACK token).

The only effect on what I'm doing at the moment the messages are printed is to make a bit of a mess of the screen and all I have to do is to refresh the screen and EVERYTHING goes back to normal as far as I am aware of, except of course, that a new bunch of messages can break in. The only thing I have touched in the last couple of months is to run the setup program from the Slackware boot disk, option Configuration ("We are going to configure your system ...") to install the HAL daemon, which I had not loaded in the last Slackware installation. Which I did a few days ago. The messages thing began a little later.

Of course the question is how to fix the problem, in case I made clear what the problem is. I attach the dmesg commmand output, where there seems to be some problem related with corrupted packets (see bottom of file) but I do not think this has anything to do with the specific problem stated which, for the time being, is the one I would like to fix.

Kernel 2.6.21.5, Slackware 12.0

jmccue 10-20-2012 07:30 AM

Hi,

Looks like a setting in /etc/syslog.conf, check these lines and see what the say on your system.
Quote:

# Uncomment this to see kernel messages on the console.
#kern.* /dev/console
John

stf92 10-20-2012 07:41 AM

Quote:

Originally Posted by jmccue (Post 4810642)
Hi,

Looks like a setting in /etc/syslog.conf, check these lines and see what the say on your system.

The line is commented. So the kernel cannot send messages to console, can it? Thanks John for replying.

jmccue 10-20-2012 09:04 AM

I did a
Code:

man dmesg
and seems dmesg allows one to print messages on the console. Did that option get turned on somehow ?

I turned it on my sys to see if it works as advertised.

John

stf92 10-20-2012 05:56 PM

The dmesg command in my O.S. has no option to display its version number, unfortunately. But I can tell you it is the one that comes with the slackware 12.0 distribution. You most likely have a newer distribution. Full stop.

Anyway, the -nlevel option, which is the one I think you refer to, IMO controls the verbosity with which dmesg outputs to console when you invoke it, to put it that way.

On the other hand, I have no idea what the kernel ring buffer is, although I do know what a ring buffer is.


All times are GMT -5. The time now is 11:42 AM.