Hi Ram Prasad, Are you using the BEST COMM APIs in your driver? 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. fec_reinit() calls fec_open() in the interrupt halder! Also, We did somewhat but is not complete yet. If we closely look, I think, typical sequence is init() followed by open(). 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(). Welll, on top of this, I am refering to 2.6.13 code base. Regards, Parav Pandit
Ram Prasad H L <hlrprasad at tataelxsi.co.in> wrote: hi all, this is Ramprasad, and we are using freescale's Lite5200B using MPC5200B as core, for one of our applications. The board is booted with u-boot-1.2.2 and linux kernel 2.4.25. I'm finding a very peculiar problem with the board when I run my application which extensively uses the FEC for receiving video and audio streams from network. The application runs fine for some time say 2-3 hrs and suddenly i'm getting the following error and the OS starts rebooting. The error log looks somewhat like this: NIP: C0124ECC XER: 00000000 LR: C0125028 SP: C01B6270 REGS: c01b61c0 TRAP: 0300 Not tainted MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11 DAR: 000000F0, DSISR: 20000000 TASK = c01b4470[0] 'swapper' Last syscall: 120 last math c228a000 last altivec 00000000 GPR00: 000000F0 C01B6270 C01B4470 00001032 00001032 00000006 C0C11034 C3C61CC0 GPR08: 0000003F 00000000 C01CE9F8 C01CEAD0 00000002 1012A714 03FBA000 00000000 GPR16: 00000001 00000001 FFFFFFFF 007FFF00 00001032 C3F93000 C0210000 00000000 GPR24: C3C06012 00000045 C01E0000 C0BE1320 0000054E C01CE9E0 C01CEA08 C3CA9A20 Call backtrace: C0125528 C011AF0C C0006CD8 C0006D98 C0005C40 C00072C8 C00072E4 C0003918 C01CF5B8 000035F0 MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit panic: Aiee, killing interrupt handler! In interrupt handler - not syncing <0>Rebooting in 180 seconds..<4>MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit MPC5xxx_FEC_IEVENT_RFIFO_ERROR mpc5xxx_fec_reinit Can anyone tell me what is the reason to face such an error? and how can we avoid this error? any pointers for overcoming it will be really helpfull as I'm stuck with this problem since long time. thanks and regards, Ramprasad H L _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060905/f3e047a2/attachment.htm
