[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
[LUG] Kernel drivers - printk()
I have a kernel module that must output a lot of info, a few megabytes.
As I can't write to a file from a kernel module I write the output to
/var/log/messages using printk(). The problem is that after I have
called printk() a few thousand times it stops printting to
/var/log/messages and restarts printting some time later. It is very
likely that I am calling printk too often in a short time interval.
How can I ensure that printk() has output to /var/log/messages before
calling printk() again?
Or, can I write to another file using file IO? Maybe the loopback device
provides the answer somehow.
Regards
Andrew
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.