LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: Status of MPC5200B FEC driver ?
@ 2007-06-15 16:13 roger blofeld
  0 siblings, 0 replies; 3+ messages in thread
From: roger blofeld @ 2007-06-15 16:13 UTC (permalink / raw)
  To: Daniel Schnell, linuxppc-embedded

Daniel,
 Maybe using Sylvain's patches from 2007-05-13 http://ozlabs.org/pipermail/linuxppc-dev/2007-May/035953.html will help?

 Does anyone know if those patches are ready for Paul Mackerras' "for-2.6.23" branch? http://ozlabs.org/pipermail/linuxppc-dev/2007-June/037903.html

-roger

---- Original Message ----
From: Daniel Schnell <daniel.schnell@marel.com>
To: Daniel Schnell <daniel.schnell@marel.com>; linuxppc-embedded@ozlabs.org
Sent: Thursday, June 14, 2007 12:13:24 PM
Subject: RE: Status of MPC5200B FEC driver ?

Hmm,

If I initiate first a ping from within U-Boot and then boot Linux via IDE, the FEC works.

Seems that some initialization is missing inside the Linux MPC5200 FEC driver ?


Best regards,

Daniel.







      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Status of MPC5200B FEC driver ?
@ 2007-06-14 16:49 Daniel Schnell
  2007-06-14 17:13 ` Daniel Schnell
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Schnell @ 2007-06-14 16:49 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I have problems with the MPC5200B fec driver.

On my custom board I can successfully boot/mount via NFS. I use a 2.6.20
kernel patched with all kind of things from Pengutronix Phytec MPC5200b
tiny and patches IO collected from teh mailing list, like -rt, ata, fec,
bestcomm (from Secretlab), etc. When activating the realtime scheduling,
I undeterministically get errors like:

=3D=3D=3D=3D
FEC_IEVENT_RFIFO_ERROR (00020000)
NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0:
transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV
WATCHDOG: eth0: transmit timed out
printk: 7 messages suppressed.
FEC_IEVENT_RFIFO_ERROR (00020000)
NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0:
transmit timed out ...
=3D=3D=3D=3D
The device doesn't work after these.

Thomas Gleixner meant, this could have to do with the driver not beeing
SMP safe, which would be a problem under -RT, similar to the problems he
had with ibm_emac once. I can confirm when disabling -RT and enabling
normal Linux scheduling things go to the better side again.

However if I boot via IDE I can not access eth0.  Cmd ifconfig gives
normal values as configured from the u-boot cmd line:
=3D=3D=3D
eth0      Link encap:Ethernet  HWaddr 00:E0:EE:00:28:0D
          inet addr:10.100.99.251  Bcast:10.100.255.255
Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:133 Base address:0x3000
=3D=3D=3D

A ifdown eth0 cmd gives the output:
=3D=3D=3D
fec_close: queues didn't drain
=3D=3D=3D

Which somehow sounds odd.

Ifup eth0 cmd tells me:
=3D=3D=3D
eth0: link down
=3D=3D=3D

Output from ping is sth. like network unreachable, which I can somehow
understand if the above cmds do not work.


Trying to bring me up-to-date as described in
http://www.246tnt.com/mpc52xx/ to see where my patchset differs from the
latest, doesn't work, for the least of executing git clone on
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git=20

I get errors like:

=3D=3D=3D=3D
...
error: Couldn't get
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/re
fs/tags/v2.6.11 for tags/v2.6.11
The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull
=3D=3D=3D=3D

So I am somewhat stuck, but maybe anybody has a better idea how to get
the latest MPC5200B support or some ideas about the ethernet problems ?


Best regards,

Daniel Schnell.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-15 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-15 16:13 Status of MPC5200B FEC driver ? roger blofeld
  -- strict thread matches above, loose matches on Subject: below --
2007-06-14 16:49 Daniel Schnell
2007-06-14 17:13 ` Daniel Schnell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox