On 7 July 2015 at 15:53, Sébastien Hinderer <Sebastien.Hinderer@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