printk not printing properly..

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

 



Hi,

I am trying to print something from a kernel module
built and loaded on RedHat Enterprise Linux 4
system(2.6.9).  I used the following statement to
print:

printk(KERN_EMERG, "AAA: about to call func - 
my_init_module \n");

But on the console, all I get is the following msg:

Message from syslogd@xlin6 at Wed Mar 16 14:06:36 2005
...

Since I used the level KERN_EMERG, I was expecting the
print to happen.  

Can someone please tell me what I am doing wrong, or
not doing?  Where is the printout going to?  Also, how
can I tell what is the default kernel log level is set
to?

Thank you,
Aha.



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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


[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