* TSEC/MDIO bug in recent kernels
@ 2009-03-10 22:53 Johns Daniel
2009-03-10 22:55 ` Johns Daniel
0 siblings, 1 reply; 3+ messages in thread
From: Johns Daniel @ 2009-03-10 22:53 UTC (permalink / raw)
To: linuxppc-dev
For those of you who are running into this error:
24520:01 not found
eth0: Could not attach to PHY
IP-Config: Failed to open eth0
IP-Config: Device `eth0' not found.
There is a bug in recent kernels. I found it in 2.6.28.7:
linux/arch/powerpc/sysdev/fsl_soc.c.~1~:
for_each_compatible_node(np, "mdio", "gianfar");
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TSEC/MDIO bug in recent kernels
2009-03-10 22:53 TSEC/MDIO bug in recent kernels Johns Daniel
@ 2009-03-10 22:55 ` Johns Daniel
2009-03-10 23:57 ` Grant Likely
0 siblings, 1 reply; 3+ messages in thread
From: Johns Daniel @ 2009-03-10 22:55 UTC (permalink / raw)
To: linuxppc-dev
(I did not get to complete the message!)
For those of you who are running into this error:
24520:01 not found
eth0: Could not attach to PHY
IP-Config: Failed to open eth0
IP-Config: Device `eth0' not found.
There is a bug in recent kernels. I found it in 2.6.28.7:
linux/arch/powerpc/sysdev/fsl_soc.c:
for_each_compatible_node(np, "mdio", "gianfar");
should be:
linux/arch/powerpc/sysdev/fsl_soc.c:
for_each_compatible_node(np, "mdio", "gianfar")
Note that the semicolon should not be there!
-- Johns
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TSEC/MDIO bug in recent kernels
2009-03-10 22:55 ` Johns Daniel
@ 2009-03-10 23:57 ` Grant Likely
0 siblings, 0 replies; 3+ messages in thread
From: Grant Likely @ 2009-03-10 23:57 UTC (permalink / raw)
To: Johns Daniel; +Cc: linuxppc-dev, afleming
On Tue, Mar 10, 2009 at 4:55 PM, Johns Daniel <johns.daniel@gmail.com> wrot=
e:
> For those of you who are running into this error:
> =A0 =A0 =A0 =A024520:01 not found
> =A0 =A0 =A0 =A0eth0: Could not attach to PHY
> =A0 =A0 =A0 =A0IP-Config: Failed to open eth0
> =A0 =A0 =A0 =A0IP-Config: Device `eth0' not found.
>
> There is a bug in recent kernels. I found it in 2.6.28.7:
> =A0 =A0 =A0 =A0linux/arch/powerpc/sysdev/fsl_soc.c:
> for_each_compatible_node(np, "mdio", "gianfar");
> should be:
> =A0 =A0 =A0 =A0linux/arch/powerpc/sysdev/fsl_soc.c:
> for_each_compatible_node(np, "mdio", "gianfar")
This code is gone in what will become 2.6.29, but the fix can be
backported into the stable tree. Do you want to generate and send the
patch (and get your name in the commit message)? Send the patch to
afleming@freescale.com, linuxppc-dev@ozlabs.org and to
stable@kernel.org. Make sure you specify that this is applicable for
2.6.28 only.
g.
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-10 23:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 22:53 TSEC/MDIO bug in recent kernels Johns Daniel
2009-03-10 22:55 ` Johns Daniel
2009-03-10 23:57 ` Grant Likely
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).