I am trying to write some kernel code. I am using 'printk' function to
put some debugging information into the log files.But sometimes, when
the kernel hangs there is no debug information logged at all. I am
unable to find out where the error is. Is there anything I need to do to
enable this or is there anyway I can flush the messages or something.
I have tried including the line
in syslog.conf file. (I am actually using KERN_ALERT for printing