<div>Hi Ram Prasad,</div>  <div>&nbsp;</div>  <div>Are you using the BEST COMM APIs in your driver?</div>  <div>I believe FEC driver needs some rework. Driver tries reinit the device in the interrupt handler itself from where your mpx5xxx_fec_reinit is called.</div>  <div>fec_reinit() calls fec_open() in the interrupt halder!</div>  <div>&nbsp;</div>  <div>Also, </div>  <div>&nbsp;</div>  <div>We did somewhat but is not complete yet.</div>  <div>If we closely look, I think, typical sequence is init() followed by open().</div>  <div>In case of reinit(), we missed something or miss to reconfigure something (Mostly the Tx, Rx queue) before we make call to open() similar to init().</div>  <div>&nbsp;</div>  <div>Welll, on top of this, I am refering to 2.6.13 code base.</div>  <div>&nbsp;</div>  <div>Regards,</div>  <div>Parav Pandit</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div><BR><BR><B><I>Ram Prasad H L &lt;hlrprasad@tataelxsi.co.in&gt;</I></B> wrote:</div>  <BLOCKQUOTE
 class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">hi all,<BR>this is Ramprasad, and we are using freescale's Lite5200B<BR>using MPC5200B as core, for one of our applications.<BR>The board is booted with u-boot-1.2.2 and linux kernel 2.4.25.<BR><BR>I'm finding a very peculiar problem with the board when I<BR>run my application which extensively uses the FEC for receiving<BR>video and audio streams from network. The application runs fine for<BR>some time say 2-3 hrs and suddenly i'm getting the following error<BR>and the OS starts rebooting.<BR><BR>The error log looks somewhat like this:<BR><BR>NIP: C0124ECC XER: 00000000 LR: C0125028 SP: C01B6270 REGS: c01b61c0 TRAP:<BR>0300 Not tainted<BR>MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11<BR>DAR: 000000F0, DSISR: 20000000<BR>TASK = c01b4470[0] 'swapper' Last syscall: 120<BR>last math c228a000 last altivec 00000000<BR>GPR00: 000000F0 C01B6270 C01B4470 00001032 00001032 00000006
 C0C11034<BR>C3C61CC0<BR>GPR08: 0000003F 00000000 C01CE9F8 C01CEAD0 00000002 1012A714 03FBA000<BR>00000000<BR>GPR16: 00000001 00000001 FFFFFFFF 007FFF00 00001032 C3F93000 C0210000<BR>00000000<BR>GPR24: C3C06012 00000045 C01E0000 C0BE1320 0000054E C01CE9E0 C01CEA08<BR>C3CA9A20<BR>Call backtrace:<BR>C0125528 C011AF0C C0006CD8 C0006D98 C0005C40 C00072C8 C00072E4<BR>C0003918 C01CF5B8 000035F0<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>panic: Aiee, killing interrupt handler!<BR>In interrupt handler - not syncing<BR>&lt;0&gt;Rebooting in 180
 seconds..&lt;4&gt;MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR>MPC5xxx_FEC_IEVENT_RFIFO_ERROR<BR>mpc5xxx_fec_reinit<BR><BR><BR>Can anyone tell me what is the reason to face such<BR>an error? and how can we avoid this error? any pointers<BR>for overcoming it will be really helpfull as I'm stuck with<BR>this problem since long time.<BR><BR>thanks and
 regards,<BR><BR>Ramprasad H L<BR><BR>_______________________________________________<BR>Linuxppc-embedded mailing list<BR>Linuxppc-embedded@ozlabs.org<BR>https://ozlabs.org/mailman/listinfo/linuxppc-embedded<BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.