Re: Delay in Printk Messages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux