2002-03-05 15:31:29

by Alexander Sandler

[permalink] [raw]
Subject: printk() goes to console.

Hi.

I am working on block device driver. There is a little problem I am experiencing with it that I'de like to share and also, may be someone may tell me what it can be caused by. I am using printk( KERN_DEBUG ... ) to print different messages about the driver status and then collecting those messages from /proc/kmsg. The problem is that when it prints many messages (like it is printing something for every request it receives), from time to time, those messages getting into system console. Sometimes, I am receiving part of my debug messages printed to console mixed with some junk.
It's not like it bother me too much. However it still seems to be wrong.
So, does any one has an idea what it can be caused by?

Alexandr Sandler.