linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Ian Remmler <ian@remmler.org>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Problem with ibm_emac driver
Date: Thu, 20 Jul 2006 12:56:37 -0700	[thread overview]
Message-ID: <20060720195637.GA9327@gate.ebshome.net> (raw)
In-Reply-To: <20060720183242.GA22930@localhost>

On Thu, Jul 20, 2006 at 01:32:42PM -0500, Ian Remmler wrote:
> Hi,
> 
> I'm having a problem with the ibm_emac driver for the built in
> gigabit ethernet on the 440gx.  I was hoping someone could shed
> some light or at least point me in the right direction.
> 
> I'm using a GMS P502 board runing 2.4.27-pre3 (from GMS).  The
> problem we are having is this: when we push data over the emac
> interface (eth0 and eth1 both show the problem), we sporadically
> get a "MAL: Rx descriptor error..." from mal_rxde in
> ibm_ocp_mal.c.
> 
> Occasionally, the interface will "freeze up" for a few seconds.
> An ifconfig down/up will bring it back, but from then on it will
> freeze up again right away.
> 
> It looks to me like this error indicates that we're out of RX
> buffers, but I don't how we would be running out.  I'm no kernel
> or networking expert, but I thought the TCP stack would take
> care of throttling itself to prevent that sort of thing.  I
> would appreciate any help.

No idea what GMS is, but they seem to use old buggy EMAC driver.

You can use kernel.org's 2.6 or 2.4.31 backport at 
http://kernel.ebshome.net/

As a side note, TCP cannot throttle _all_ Rx traffic, think for 
example of a fast box sending a lot of small UDP packets to the 440gx.

-- 
Eugene

      reply	other threads:[~2006-07-20 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 18:32 Problem with ibm_emac driver Ian Remmler
2006-07-20 19:56 ` Eugene Surovegin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060720195637.GA9327@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=ian@remmler.org \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).