Delay in Printk Messages.

Kristofer Hallin kristofer.hallin at gmail.com
Sat Jun 28 13:39:58 EDT 2014


Try 'sysctl kernel.printk=7' where 7 is one of the levels defined in
"include/linux/kern_levels.h".

On Sat, Jun 28, 2014 at 7:33 PM, Arun Kumar <arunkr.linux at gmail.com> wrote:
> I am able to read my printk messages in the kernel buffer only after
> unloading the module..
> Is there some reason or configuration behind this.
>
> I used a simple kernel module with only init and exit functions, and
> after loading the module i cannot see the message printed by the
> "module_init" function in the output given by "dmesg -c" I can see them
> only after i unload the module.
>
> i wait for around 15-20 seconds for the init message but it only shows
> up on removing the module.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



More information about the Kernelnewbies mailing list