* "PPC 405 MAL0 eth: receive descriptor error"
@ 2005-10-12 17:00 extabe
2005-10-12 17:24 ` Eugene Surovegin
0 siblings, 1 reply; 2+ messages in thread
From: extabe @ 2005-10-12 17:00 UTC (permalink / raw)
To: linuxppc-embedded
Hi!
We have built a board based on AMCC 440ep and used bamboo as reference board. We are running montavista 2.4.20 kernel and have problems with the network.
After a while when using the network linux outputs this:
"PPC 405 MAL0 eth: receive descriptor error"
Searching the kernelsource shows that this output comes from
static void ppc405_eth_rxde(int irq, void *dev_instance, struct pt_regs *regs)
in drivers/net/ibm_ocp/ibm_ocp_enet.c
and the comment for this function is:
"This interrupt should be very rare at best. This occurs when
the hardware has a problem with the receive descriptors. The manual
states that it occurs when the hardware cannot the receive descriptor
empty bit is not set. The recovery mechanism will be to traverse through the descriptors, handle any that are marked to be
handled and reinitialize each along the way. At that point the driver
will be restarted."
Can anybody help me with this problem? After it occurs the system freezes for about 2 minutes.
We are using u-boot configured for bamboo with small modifications and the same goes for the kernel.
//Andre
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "PPC 405 MAL0 eth: receive descriptor error"
2005-10-12 17:00 "PPC 405 MAL0 eth: receive descriptor error" extabe
@ 2005-10-12 17:24 ` Eugene Surovegin
0 siblings, 0 replies; 2+ messages in thread
From: Eugene Surovegin @ 2005-10-12 17:24 UTC (permalink / raw)
To: extabe; +Cc: linuxppc-embedded
On Wed, Oct 12, 2005 at 07:00:48PM +0200, extabe@bredband.net wrote:
> We have built a board based on AMCC 440ep and used bamboo as reference board. We are running montavista 2.4.20 kernel and have problems with the network.
> After a while when using the network linux outputs this:
>
> "PPC 405 MAL0 eth: receive descriptor error"
>
> Searching the kernelsource shows that this output comes from
>
> static void ppc405_eth_rxde(int irq, void *dev_instance, struct pt_regs *regs)
>
> in drivers/net/ibm_ocp/ibm_ocp_enet.c
>
> and the comment for this function is:
>
> "This interrupt should be very rare at best. This occurs when
> the hardware has a problem with the receive descriptors. The manual
> states that it occurs when the hardware cannot the receive descriptor
> empty bit is not set. The recovery mechanism will be to traverse through the descriptors, handle any that are marked to be
> handled and reinitialize each along the way. At that point the driver
> will be restarted."
>
> Can anybody help me with this problem? After it occurs the system freezes for about 2 minutes.
>
Current EMAC driver (in both 2.4 and 2.6) is buggy. That comment is
actually misleading, because this IRQ can happen during normal
operation, e.g. under heavy packet load.
There is re-write available for both 2.4 and 2.6. You can find more
information at http://kernel.ebshome.net/.
2.4 patch is against 2.4.31, so you'll have to back port all required
stuff to 2.4.21.
--
Eugene
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-12 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-12 17:00 "PPC 405 MAL0 eth: receive descriptor error" extabe
2005-10-12 17:24 ` Eugene Surovegin
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).