Results 1 to 2 of 2
I am debugging the kernel through the printk statements . but i am not getting the files which contain the printk statements. I have checked for
var/log/messages , var/log/dmesg ,var/log/debug ...
- 01-03-2012 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 29
which file contains the statements printed by the printk
I am debugging the kernel through the printk statements . but i am not getting the files which contain the printk statements. I have checked for
var/log/messages , var/log/dmesg ,var/log/debug ,var/lod/syslog etc
but none of the file contains statements which are printed on the terminal (on dmesg).
- 01-07-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
The output from printk is buffered by the kernel and not output right away. How quickly it is output depends upon the setting of console_loglevel in the kernel module you are calling printk from. The printk function looks at that setting when it is called to determine how long to buffer the output.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote