Hi Arnon,

Arnon Meydav wrote:
I know that this is an old thread, but we have found that on some of our
boards only one of the two IXP eth ports works. Do you remember what "is not quite right" in the PHY detection code?

It was either the mapping of PHY addresses to the actual devices
was wrong in the eth driver (ixp425_eth.c). Or it was that the
detection code in IxEthMii.c wasn't detecting PHYS (probably due
to newer/different PHY devices being used that where not in the
pre-defined list).

A little bit of trace code in IxEthMii.c around the detect code
should pin point any issues pretty quickly.


I did a diff between intel versions 1.4 and 2.1, and didn't see much
difference in ixp400_xscale_sw/src/ethMii/IxEthMii.c,
except for an odd increase in the number of supported phys from 5 to 6.
(I say odd because the Montejade has 5, AFAIK).

IIRC that is because there is an internal eth port (well actually it
is the kernels eth0) that connects to the backside of the 4-port switch.
So you have 1 WAN, 1 internal-LAN, and 4 port switch - so you actually
have 6 PHY interfaces.

Regards
Greg




Just to be sure, I tried changing this back, and it made no difference.

Any help would be appreciated,
 - Arnon

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Ungerer
Sent: Friday, April 13, 2007 03:33
To: uClinux development list
Subject: Re: SV: [uClinux-dev] Odd network problem IXDP425

Hi Knut,

Knut Johansson wrote:
Hi Assaf, all

I have tried different boards they are all the same, and if I go back
to the old 2.4 based images they work. So I don't think it's a HW issue.

The rc I use are identical, so I think that part works ok. It behaves
like it's not connected to the network, everything else looks ok.
I have seen this type of behavior (working on 2.4 and not on 2.6) if the
PHY detection code is not quite right in the AccessLibrary code.
Check that first, probably ixp400_xscale_sw/src/ethMii/IxEthMii.c or in
the actual eth driver ixp400_eth.c.

Though this wouldn't explain the eepro100 not working.

Regards
Greg



From: Assaf Harel [EMAIL PROTECTED]
Sent: 2007-04-10 17:19:17 CEST
We're working with MonteJade boards here, and this looks like a HW problem more then everything, so you might want to switch boards, and

see if it's persistent. Not avoiding the obvious let me snip the part

of my rc that loads the Intel modules under 2.6.x, maybe you'd find it
helpful:

<snip>
modprobe ixp400
cat /etc/IxNpeMicrocode.dat > /dev/ixNpe modprobe ixp400_eth
sumac -n 2 -m "RedBoot config" -r "npe_eth%d_esa"
route add -net 127.0.0.0 netmask 255.255.255.0 lo </snip>

now you can now do:
ifconfig -a
ifconfig eth0 192.168.1.1
ping 192.168.1.100

Hope it help,
Assaf

-----Original Message-----
[mailto:[EMAIL PROTECTED] On Behalf Of Knut Johansson

Hi

I have a odd problem with network on the IXDP425 with 2.6.x kernels, for 2.4 everything works ok. It may be I have missed a config setting or something obvious, but I'm stuck. I hope someone has a idea/tip.

My board has one i82557/i82558 10/100 Ethernet port(using eepro100
driver) as eth0. And one of the 425s npe port is connected to a regular ethernet port, while the other is connected to a 4 port
switch.
The eepro100 driver pass self tests and the Intel modules loads ok.
Setting up the devices with ifconfig also gives no problems. Regardles of this, they simply does not work. But I don't see any
error messages.
Nothing works on the network, not even ping. Except ONE of the switch ports on the ixp0, this one works ok with every network service. I thought all ports on the switch was identicall, but the 3 others are as dead as the ixp1 and eth0 ports.

Any ideas how to get them working?


---------------------------------------------------------------------
---

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

-- Disclaimer: --
This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments. E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to