<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=971390621-10082006>Hi 
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=971390621-10082006>We have developed 
our own custom board based on MPC8541 board running linux 
2.6.11</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=971390621-10082006>During stress 
testing the system we get following kernel panic which related to timer 
cascase.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=971390621-10082006>Any hints greatly 
apprieciated. Many thanks in advance:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=971390621-10082006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=971390621-10082006><FONT 
face=Courier>kernel BUG in cascade at kernel/timer.c:416!<BR>Oops: Exception in 
kernel mode, sig: 5 [#1]<BR>PREEMPT <BR>NIP: C0023AB4 LR: C0023CC8 SP: C02DDDF0 
REGS: c02ddd40 TRAP: 0700&nbsp;&nbsp;&nbsp; Tainted: P&nbsp;&nbsp;&nbsp; 
<BR>MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00<BR>TASK = c02bb730[0] 
'swapper' THREAD: c02dc000<BR>Last syscall: 120 </FONT><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=971390621-10082006>File timer.c line 
416 :</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=971390621-10082006>
<DIV><FONT size=+0><SPAN class=178042520-10082006><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; 401 static int cascade(tvec_base_t *base, tvec_t *tv, 
int index)<BR>&nbsp;&nbsp;&nbsp; 402 {<BR>&nbsp;&nbsp;&nbsp; 
403&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* cascade all the timers 
from tv up one level */<BR>&nbsp;&nbsp;&nbsp; 
404&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; struct list_head *head, 
*curr;<BR>&nbsp;&nbsp;&nbsp; 405 <BR>&nbsp;&nbsp;&nbsp; 
406&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; head = tv-&gt;vec + 
index;<BR>&nbsp;&nbsp;&nbsp; 407&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
curr = head-&gt;next;<BR>&nbsp;&nbsp;&nbsp; 
408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*<BR>&nbsp;&nbsp;&nbsp; 
409&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * We are removing 
_all_ timers from the list, so we don't&nbsp; 
have<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
to<BR>&nbsp;&nbsp;&nbsp; 
410&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * detach them 
individually, just clear the list afterwards.<BR>&nbsp;&nbsp;&nbsp; 
411&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */ 
<BR>&nbsp;&nbsp;&nbsp; 412&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while 
(curr != head) {<BR>&nbsp;&nbsp;&nbsp; 
413&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
struct timer_list *tmp;<BR>&nbsp;&nbsp;&nbsp; 
414&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
415&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
tmp = list_entry(curr, struct timer_list, entry);<BR>&nbsp;&nbsp;&nbsp; 
416&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
BUG_ON(tmp-&gt;base != base);<BR>&nbsp;&nbsp;&nbsp; 
417&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
curr = curr-&gt;next;<BR>&nbsp;&nbsp;&nbsp; 
418&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
internal_add_timer(base, tmp);<BR>&nbsp;&nbsp;&nbsp; 
419&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; 
420&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
INIT_LIST_HEAD(head);<BR>&nbsp;&nbsp;&nbsp; 421 <BR>&nbsp;&nbsp;&nbsp; 
422&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 
index;<BR></FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=178042520-10082006><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><SPAN class=178042520-10082006><SPAN 
class=971390621-10082006>Regards,</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=178042520-10082006><SPAN 
class=971390621-10082006>Bizhan</SPAN></SPAN></FONT></DIV></DIV></SPAN></FONT></BODY></HTML>