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

Re: printk -- unable to print messages




or try dmesg ,, it should get added there...


-Vamsi

Ohad Ben-Cohen wrote:

make sure you're insmodding your module from a plain console and not
from an xterm (in other words - if relevant - exit Xwindows!)

On 3/8/06, Gowri Satish Adimulam <gowri@xxxxxxxxxxx> wrote:


Hi ,

Thanks for helping me for my previous postings.

now i have new Problem,
" in one of the simple example programm , i have assigned KERN_ALERT or
<1> in printk , but when i run using ./insmod ,
message in the double quotes of printk is not displayed on terminal
window.
I have checked in file /proc/modules , my module name was present"

iam not able to understand, why the message has not printed.


Thanks Gowri








-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/





-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/





--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/