Message not appearing in mesg

Luis de Bethencourt luis at debethencourt.com
Tue Jul 7 11:02:59 EDT 2015


On 7 July 2015 at 15:53, Sébastien Hinderer <Sebastien.Hinderer at ens-lyon.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150707/ca26df84/attachment.html 


More information about the Kernelnewbies mailing list