Re: Message not appearing in mesg

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

 



On 7 July 2015 at 15:53, Sébastien Hinderer <Sebastien.Hinderer@xxxxxxxxxxxx> wrote:
Dear all,

I have a module that uses pr_debug at init.
Although the module is successfully loaded, the message appears
neither in dmesg, nor at the console. I tried toprint a 8 to
/proc/sys/kernel/printk but that does not change anything.

Any hint would be warmly appreciated.

Thanks!

Sébastien

Do you have the relevant DEBUG macros activated in your kernel's configuration?
https://www.kernel.org/doc/local/pr_debug.txt
http://elinux.org/Debugging_by_printing

If not, activate them. Or if in a pinch, switch to using pr_alert() for development.

Luis
 
_______________________________________________
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