2009-05-06 08:11:55     how to view the kernel messages of printk?

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-06 08:11:55     how to view the kernel messages of printk?

zigma dsp (GERMANY)

Message: 73753   

 

Hi,

 

I wrote a device driver and wrote a user application calling the APIs. There are some printk( ) messages within the driver system functions. How do I see the kernel printk() messages in the console?

 

For instance, when I run the application, along with printf() messages from application, I should also see the printk() messages from kernel module/driver.

 

Thanks & Regards

 

JA.

QuoteReplyEditDelete

 

 

2009-05-06 08:13:55     Re: how to view the kernel messages of printk?

Mike Frysinger (UNITED STATES)

Message: 73754   

 

read `man dmesg` and `man 2 syslog`

Attachments

    Outcomes