Where does output of print in kernel go?
Posted
by
apoorv020
on Stack Overflow
See other posts from Stack Overflow
or by apoorv020
Published on 2010-12-23T11:42:03Z
Indexed on
2010/12/27
5:54 UTC
Read the original article
Hit count: 207
I am debugging a driver for linux (specifically ubuntu server 9.04), and there are several printf statements in the code.
Where can I view the output of these statements?
EDIT1: What i'm trying to do is write to kernel using the proc file-system. The print code is
static int proc_fractel_config_write(struct file *file, const char *argbuf, unsigned long count, void *data)
{
printk(KERN_DEBUG "writing fractel config\n");
...
In kern.log when I see the following message when i try to overwrite the file /proc/net/madwifi/ath1/fractel_config (with varying time of course).
[ 8671.924873] proc write
[ 8671.924919]
Any explainations?
© Stack Overflow or respective owner