system hang after serving interrupt

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

 



Hi,
I have written driver for mpc8260 MCC. We are in the process of testing them.
We are getting a machine freeze after some 40k-50k write operations.
I have checked all the control paths, they are as follows.
1. Application (pppd)issue a write call, traverses through kernel ppp
implementation and finally gets resolved to write() to the MCC controller.
2. As soon as the write call adds the buffer to the outgoing buffers, Tx
happens.
3. Tx interrupt handler is called which frees up the written data.
4. Tx interrupt handler returns.


Rx will happen as data is recieved. Rx and Tx runs with spin locks acquired. And synchronization safe.

We traced the path using prink(). The board hangs after Tx interrupt comlete or Rx complete interrupt. i.e, after printing "returning from Tx " or "returning from Rx".
This hang is not present until some significant amount of time is passed with heavy traffic.


Anybody faced any similar problems with kernel 2.4.1?
Any pointers/suggestions will be greatly apreciated.

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