* Re: Linux on 440GP Networking issues
[not found] ` <20020501120137.B9360@ecam.san.rr.com>
@ 2002-05-01 19:23 ` Todd Poynor
2002-05-02 0:24 ` Roland Dreier
0 siblings, 1 reply; 2+ messages in thread
From: Todd Poynor @ 2002-05-01 19:23 UTC (permalink / raw)
To: andrew may; +Cc: Venkatesh Ramamurthy, mporter, frank_rowand, linuxppc-embedded
>>Yep, the kernel tries to setup the second controller. But there is someting
>>very strange. Eventhough there is no network cable connected to the second
>>ethernet port , the OCP ENET driver says that it is 10Mbps, Link up and half
>>duplex.
The above is the default provided when autonegotiation doesn't turn up
anything useful, at least for the AMD Am79C875* PHYs (see ibm_ocp_phy.c:
mii_parse_Am79C875_pcr), which probably isn't the way to go. And
handling of the "no link" case does seem to need some work.
Could verify whether the lockup is related to configuring 2 EMACs by a
hack to ppc405_enet_open to return -ENODEV if fep->emac_num > 0. If
that boots fine then see if ppc405_eth_mal_dump shows registers such as
EMAC0's TXCTP0R or RXCTP0R changing values after EMAC1 is configured.
If so, that FIXME in the ppc405_enet_open code probably needs revisiting.
--
Todd
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux on 440GP Networking issues
2002-05-01 19:23 ` Linux on 440GP Networking issues Todd Poynor
@ 2002-05-02 0:24 ` Roland Dreier
0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2002-05-02 0:24 UTC (permalink / raw)
To: Todd Poynor
Cc: andrew may, Venkatesh Ramamurthy, mporter, frank_rowand,
linuxppc-embedded
>>>>> "Todd" == Todd Poynor <tpoynor@mvista.com> writes:
Todd> Could verify whether the lockup is related to configuring 2
Todd> EMACs by a hack to ppc405_enet_open to return -ENODEV if
Todd> fep->emac_num > 0.
Here's another data point. I just got my ebony today, and in my
initial testing running nothing but the kernel and busybox, I got an
oops if I did "ifconfig" (looked like it came from somewhere near
register_gifconf). I changed EMAC_NUMS in ibm440.h to 1 (from 2) and
now ifconfig works fine.
However, I didn't experience any crashes, even with EMAC_NUMS equal to
2, running with NFS root.
Best,
Roland
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-02 0:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <F45zrLCCtgx8VUkRacU000059cf@hotmail.com>
[not found] ` <20020501120137.B9360@ecam.san.rr.com>
2002-05-01 19:23 ` Linux on 440GP Networking issues Todd Poynor
2002-05-02 0:24 ` Roland Dreier
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).