* kernel hangs after serving interrupt
@ 2003-07-07 15:28 Omanakuttan
2003-07-07 16:35 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Omanakuttan @ 2003-07-07 15:28 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
We are facing a strange problem in mpc8260, linux kernel 2.4.1
I have written drivers 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.
Thanks,
Om.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel hangs after serving interrupt
2003-07-07 15:28 kernel hangs after serving interrupt Omanakuttan
@ 2003-07-07 16:35 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2003-07-07 16:35 UTC (permalink / raw)
To: Omanakuttan; +Cc: linuxppc-embedded
In message <3F09918D.5070202@tataelxsi.co.in> you wrote:
>
> Anybody faced any similar problems with kernel 2.4.1?
Chances are very small that eanybody is still actively using such an
ancient kernel.
> Any pointers/suggestions will be greatly apreciated.
Update to a more recent kernel version. Eventually you fight a
problem that has been fixed long since.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"They that can give up essential liberty to obtain a little temporary
saftey deserve neither liberty not saftey." - Benjamin Franklin, 1759
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-07 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-07 15:28 kernel hangs after serving interrupt Omanakuttan
2003-07-07 16:35 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).