opening misc device goes Oops!

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

 



Trying to use the IR driver (a simple character driver) supplied by my
vendor, I ran into this:

  # cat /dev/misc/xilleon_ir 
  Unable to handle kernel paging request at virtual address 00000004, epc == 8011b19c, ra == 8010eb6c
  Oops in fault.c:do_page_fault, line 212:
  $0 : 00000000 1000fc00 00000000 1000fc01 803aaadc 81cd7e80 00002000 810f7940
  $8 : 00000000 00000000 80142904 00000003 00000003 2ac9af4c 00000000 00000000
  $16: 00002000 81cd6000 803aaad0 00000001 803aaad8 10018910 7fff5c30 803aaad4
  $24: 00000000 2abea370                   81cd6000 81cd7e68 100148d0 8010eb6c
  Hi : 00000000
  Lo : 00000000
  epc  : 8011b19c    Not tainted
  Status: 1000fc02
  Cause : 3080000c
  Process cat (pid: 160, stackpage=81cd6000)
  Stack: 81cd6000 810dede0 810e231c 810e2300 00000000 81cd6000 000001b6 00000002
         00002000 810f7920 803aa9a8 7fff5c30 0044def4 801ff1d4 81a125a0 80141f9c
         00000000 00000000 000001b6 00000002 00000000 00000000 00000000 803aaad0
         81d8c000 80141e78 00002000 810f7920 ffffffea 7fff5c30 0044def4 10018910
         ffffffff 00000000 100148d0 801429d8 810f7920 00000000 00002000 801422e0
         8010d5d8 ...
  Call Trace: [<801ff1d4>] [<80141f9c>] [<80141e78>] [<801429d8>] [<801422e0>] [<8010d5d8>]
   [<80110904>] [<80118c78>]

  Code: 24a50008  24840004  8c820000 <ac450004> aca20000  aca40004  ac850000  40016000  30630001 
  Segmentation fault
  # 

I looked into the driver and found this:

  struct file_operations uirt_ops = {
          read:		uirt_read,
          write:	uirt_write,
          poll:		uirt_poll,
          open:		uirt_open,
          release:	uirt_release
  };

...So I tried putting a KGDB breakpoint at the first line of the
uirt_open function, and ran cat again.  But the Oops happens without
ever getting to my breakpoint!

What is this a symptom of?  How can I troubleshoot it?

Thanks,
Dave

--
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