Re: printk??

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

 



You may also try and read printk messages using
tail -f /var/log/messages
Enter the above command in a new shell.


On 1/18/06, Medeiros Edward M NPRI <MedeirosEM@xxxxxxxxxxxxxxxxx> wrote:

Hello,

 

I just wrote a simple PCI device driver based on a char device driver that someone submitted to this website.  I have done the following to install the driver:

 

  1. insmod pci_char_driver.ko
  2. mknod /dev/pci_char_driver c 12 0
  3. chmod 674 /dev/pci_char_driver

 

When I run "lsmod" I see my driver and when I run"ls -l /dev/pci_char_driver" I see my device with the correct major and minor numbers.

The problem is that when I run "dmesg" I don't see any of the print statements I put in the "probe()" routine!   Am I looking in the right place?

Where does the output for printk go?

 

Thank you.

 

 



[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