linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: "FIXED-TERM Seeh Thomas (BEG/EMS1)"
	<fixed-term.Thomas.Seeh@de.bosch.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Wolfgang Denk <wd@denx.de>
Subject: Re: LITE5200 configuration
Date: Fri, 28 Aug 2009 08:10:15 -0600	[thread overview]
Message-ID: <fa686aa40908280710h4237f6e4s47097399a9415cd7@mail.gmail.com> (raw)
In-Reply-To: <6E9D235B18CE694399D781F05D9C42E79F0C2F04@SI-MBX11.de.bosch.com>

On Thu, Aug 27, 2009 at 8:14 AM, FIXED-TERM Seeh Thomas
(BEG/EMS1)<fixed-term.Thomas.Seeh@de.bosch.com> wrote:
> ------snip---------
> [ 2346.499181] VFS: Mounted root (nfs filesystem) on device 0:11.
> [ 2346.505748] Freeing unused kernel memory: 160k init
> [ 2346.865420] net eth0: FEC_IEVENT_RFIFO_ERROR
> [ 2346.871668] ------------[ cut here ]------------
> [ 2346.876434] Kernel BUG at c01ae1d0 [verbose debug info unavailable]
[...]
> Anyone an idea, what I do wrong?

Looks like an Ethernet driver problem which has been seen before.  Try
the following patch.  Also, you should enable CONFIG_KALLSYMS so that
your traceback actually shows function names.

Cheers,
g.


diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c
index cc78633..6d1afb6 100644
--- a/drivers/net/fec_mpc52xx.c
+++ b/drivers/net/fec_mpc52xx.c
@@ -758,12 +758,6 @@ static void mpc52xx_fec_reset(struct net_device *dev)

        mpc52xx_fec_hw_init(dev);

-       if (priv->phydev) {
-               phy_stop(priv->phydev);
-               phy_write(priv->phydev, MII_BMCR, BMCR_RESET);
-               phy_start(priv->phydev);
-       }
-
        bcom_fec_rx_reset(priv->rx_dmatsk);
        bcom_fec_tx_reset(priv->tx_dmatsk);

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

      parent reply	other threads:[~2009-08-28 14:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27  8:01 LITE5200 configuration FIXED-TERM Seeh Thomas (BEG/EMS1)
2009-08-27 13:11 ` Wolfgang Denk
2009-08-27 14:14   ` AW: " FIXED-TERM Seeh Thomas (BEG/EMS1)
2009-08-27 16:02     ` Wolfgang Grandegger
2009-08-28  5:32       ` AW: " FIXED-TERM Seeh Thomas (BEG/EMS1)
2009-08-28 14:10     ` Grant Likely [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=fa686aa40908280710h4237f6e4s47097399a9415cd7@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=fixed-term.Thomas.Seeh@de.bosch.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=wd@denx.de \
    /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).