From: Stefan Roese <hidden> Date: 2003-12-03 11:29:31
Hello!
We are trying to switch to the 2.4.23 linuxppc_2_4_devel kernel (from
2.4.21) and experience a problem with the "new" ethernet driver for the
ibm ppc4xx (version 2.0 from Benjamin Herrenschmidt). On our boards with
only one active enet interface we have no problems. But our PPC405EP
boards with 2 active enet devices, the traffic stops completely upon
initializing the 2nd devices (emac_reset_configure).
Has anybody experienced similar problems? Has anybody seen this driver
working properly with more than one ppc4xx enet devices (especially
ppc405ep)?
With the previous driver (from linuxppc_2_4_devel 2.4.21 maintained by
mvista) we had no problems with 2 enet interfaces on the ppc405ep so
far!
By the way: What is the future of the ppc4xx enet driver. I found that
the 2.5 kernel has a newer mvista driver included (modifications for
440gx, etc.). Is the driver from 2.4.23 a dead end?
Thanks and best regards,
Stefan.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
On Wed, Dec 03, 2003 at 12:29:31PM +0100, Stefan Roese wrote:
We are trying to switch to the 2.4.23 linuxppc_2_4_devel kernel (from
2.4.21) and experience a problem with the "new" ethernet driver for the
ibm ppc4xx (version 2.0 from Benjamin Herrenschmidt). On our boards with
only one active enet interface we have no problems. But our PPC405EP
boards with 2 active enet devices, the traffic stops completely upon
initializing the 2nd devices (emac_reset_configure).
Has anybody experienced similar problems? Has anybody seen this driver
working properly with more than one ppc4xx enet devices (especially
ppc405ep)?
With the previous driver (from linuxppc_2_4_devel 2.4.21 maintained by
mvista) we had no problems with 2 enet interfaces on the ppc405ep so
far!
By the way: What is the future of the ppc4xx enet driver. I found that
the 2.5 kernel has a newer mvista driver included (modifications for
440gx, etc.). Is the driver from 2.4.23 a dead end?
2.5 tree has an _old_ driver + some modifications + some 440GX code.
linuxppc-2.4 has a new driver re-written by Ben + some 440GX code.
Eventually 2.4 version will be merged into 2.5. So it is _not_ a dead
end, although it has some problems as you noticed.
Currently, Matt Porter is hacking on 440GX support and probably he (?)
will be the one who will merge 2.4 into 2.5.
I also have something done (mostly some stuff Ben havn't finished
during re-write, and some NAPI bits) sitting in my tree (I'm pretty
busy now to finish and push it to Matt :( ).
I'll try to look at your problem during this weekend, I don't have
405ep boards with two EMACs (yet), so I'll try to reproduce the
problem on 440GP/GX eval boards.
If you have some fixes feel free to post them here :).
Thanks,
Eugene.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Stefan Roese <hidden> Date: 2003-12-04 15:54:21
2.5 tree has an _old_ driver + some modifications + some 440GX code.
linuxppc-2.4 has a new driver re-written by Ben + some 440GX
code. Eventually 2.4 version will be merged into 2.5. So it
is _not_ a dead end, although it has some problems as you noticed.
OK, good to know!
Currently, Matt Porter is hacking on 440GX support and
probably he (?) will be the one who will merge 2.4 into 2.5.
I also have something done (mostly some stuff Ben havn't
finished during re-write, and some NAPI bits) sitting in my
tree (I'm pretty busy now to finish and push it to Matt :( ).
If you have an updated driver, I would be glad to test it on our 405ep
board.
I'll try to look at your problem during this weekend, I don't
have 405ep boards with two EMACs (yet), so I'll try to
reproduce the problem on 440GP/GX eval boards.
That would be great. Please let me know, if you need any further
infos...
If you have some fixes feel free to post them here :).
Sorry, I tried to dig deeper into this problem, but without a solution
so far.
Thanks,
Stefan.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi Stefan,
I have suffered the same problem when I am trying swtich to 2.4.22 from 2.4.18 on IBM405ep board. Following is the output on my board:
# ifconfig eth0 down
# ifconfig eth1 down
# ifconfig eth0 192.168.1.1
eth0: adjust to link, speed: 100, duplex: 1, opened: 1
eth0: Speed: 100, Full duplex.
# ping 192.168.1.123
PING 192.168.1.123 (192.168.1.123): 56 data bytes
64 bytes from 192.168.1.123: icmp_seq=0 ttl=128 time=5.2 ms
64 bytes from 192.168.1.123: icmp_seq=1 ttl=128 time=2.8 ms
64 bytes from 192.168.1.123: icmp_seq=2 ttl=128 time=2.7 ms
64 bytes from 192.168.1.123: icmp_seq=3 ttl=128 time=2.6 ms
64 bytes from 192.168.1.123: icmp_seq=4 ttl=128 time=2.7 ms
64 bytes from 192.168.1.123: icmp_seq=5 ttl=128 time=2.7 ms
Hello!
We are trying to switch to the 2.4.23 linuxppc_2_4_devel kernel (from
2.4.21) and experience a problem with the "new" ethernet driver for the
ibm ppc4xx (version 2.0 from Benjamin Herrenschmidt). On our boards with
only one active enet interface we have no problems. But our PPC405EP
boards with 2 active enet devices, the traffic stops completely upon
initializing the 2nd devices (emac_reset_configure).
Has anybody experienced similar problems? Has anybody seen this driver
working properly with more than one ppc4xx enet devices (especially
ppc405ep)?
With the previous driver (from linuxppc_2_4_devel 2.4.21 maintained by
mvista) we had no problems with 2 enet interfaces on the ppc405ep so
far!
By the way: What is the future of the ppc4xx enet driver. I found that
the 2.5 kernel has a newer mvista driver included (modifications for
440gx, etc.). Is the driver from 2.4.23 a dead end?
Thanks and best regards,
Stefan.
From: Stefan Roese <hidden> Date: 2003-12-12 10:56:09
Davey!
No, we didn't solve this problem so far. Eugene did some tests on an
ppc440 board and had no problems with the multiple enet devices. So it
seems to be 405ep related! I still have to send some debug output to
Eugene (hopefully today)!
By the way: Did you notice that your MAC-address of the 2nd ethernet
channel (eth1) is 00:00:00:00:00:00? This is wrong and probably a
problem in passing MAC-addresses from your bootloader to linux. What
bootloader are you using? U-Boot/OpenBios?
Best regards,
Stefan.
quoted hunk
-----Original Message-----
From: DaveyWu [mailto:daveywu@transengines.com]
Sent: Friday, December 12, 2003 3:40 AM
To: Stefan Roese; Linuxppc-Embedded;
benh@kernel.crashing.org; akuster@mvista.com
Subject: Re: PPC4xx enet driver problem (version 2.0)
Hi Stefan,
I have suffered the same problem when I am trying swtich
to 2.4.22 from 2.4.18 on IBM405ep board. Following is the
output on my board:
# ifconfig eth0 down
# ifconfig eth1 down
# ifconfig eth0 192.168.1.1
eth0: adjust to link, speed: 100, duplex: 1, opened: 1
eth0: Speed: 100, Full duplex.
# ping 192.168.1.123
PING 192.168.1.123 (192.168.1.123): 56 data bytes
64 bytes from 192.168.1.123: icmp_seq=0 ttl=128 time=5.2 ms
64 bytes from 192.168.1.123: icmp_seq=1 ttl=128 time=2.8 ms
64 bytes from 192.168.1.123: icmp_seq=2 ttl=128 time=2.7 ms
64 bytes from 192.168.1.123: icmp_seq=3 ttl=128 time=2.6 ms
64 bytes from 192.168.1.123: icmp_seq=4 ttl=128 time=2.7 ms
64 bytes from 192.168.1.123: icmp_seq=5 ttl=128 time=2.7 ms
Hello!
We are trying to switch to the 2.4.23 linuxppc_2_4_devel
kernel (from
quoted
2.4.21) and experience a problem with the "new" ethernet driver for
the ibm ppc4xx (version 2.0 from Benjamin Herrenschmidt). On our
boards with only one active enet interface we have no problems. But
our PPC405EP boards with 2 active enet devices, the traffic stops
completely upon initializing the 2nd devices (emac_reset_configure).
Has anybody experienced similar problems? Has anybody seen
this driver
quoted
working properly with more than one ppc4xx enet devices (especially
ppc405ep)?
With the previous driver (from linuxppc_2_4_devel 2.4.21
maintained by
quoted
mvista) we had no problems with 2 enet interfaces on the
ppc405ep so
quoted
far!
By the way: What is the future of the ppc4xx enet driver. I
found that
quoted
the 2.5 kernel has a newer mvista driver included
(modifications for
quoted
440gx, etc.). Is the driver from 2.4.23 a dead end?
Thanks and best regards,
Stefan.
Stefan,
Thanks for your reply. My bootloader is OpenBios. I think the problem is not caused by the wrong MAC addresses, because when I boot the 2.4.18 kernel the MAC address of eth1 is same 00:00:00:00:00:00 but both EMACs work well.
Our engineers is continuing to work with the problem. I would like to share any achievements about the problem with you.
Best regards,
Davey Wu
----- Original Message -----
From: "Stefan Roese" <redacted>
To: "'DaveyWu'" <redacted>; "'Linuxppc-Embedded'" <redacted>; <benh@kernel.crashing.org>; <redacted>
Sent: Friday, December 12, 2003 6:56 PM
Subject: RE: PPC4xx enet driver problem (version 2.0)
Davey!
No, we didn't solve this problem so far. Eugene did some tests on an
ppc440 board and had no problems with the multiple enet devices. So it
seems to be 405ep related! I still have to send some debug output to
Eugene (hopefully today)!
By the way: Did you notice that your MAC-address of the 2nd ethernet
channel (eth1) is 00:00:00:00:00:00? This is wrong and probably a
problem in passing MAC-addresses from your bootloader to linux. What
bootloader are you using? U-Boot/OpenBios?
Best regards,
Stefan.
quoted
-----Original Message-----
From: DaveyWu [mailto:daveywu@transengines.com]
Sent: Friday, December 12, 2003 3:40 AM
To: Stefan Roese; Linuxppc-Embedded;
benh@kernel.crashing.org; akuster@mvista.com
Subject: Re: PPC4xx enet driver problem (version 2.0)
Hi Stefan,
I have suffered the same problem when I am trying swtich
to 2.4.22 from 2.4.18 on IBM405ep board. Following is the
output on my board:
# ifconfig eth0 down
# ifconfig eth1 down
# ifconfig eth0 192.168.1.1
eth0: adjust to link, speed: 100, duplex: 1, opened: 1
eth0: Speed: 100, Full duplex.
# ping 192.168.1.123
PING 192.168.1.123 (192.168.1.123): 56 data bytes
64 bytes from 192.168.1.123: icmp_seq=0 ttl=128 time=5.2 ms
64 bytes from 192.168.1.123: icmp_seq=1 ttl=128 time=2.8 ms
64 bytes from 192.168.1.123: icmp_seq=2 ttl=128 time=2.7 ms
64 bytes from 192.168.1.123: icmp_seq=3 ttl=128 time=2.6 ms
64 bytes from 192.168.1.123: icmp_seq=4 ttl=128 time=2.7 ms
64 bytes from 192.168.1.123: icmp_seq=5 ttl=128 time=2.7 ms
Hello!
We are trying to switch to the 2.4.23 linuxppc_2_4_devel
kernel (from
quoted
2.4.21) and experience a problem with the "new" ethernet driver for
the ibm ppc4xx (version 2.0 from Benjamin Herrenschmidt). On our
boards with only one active enet interface we have no problems. But
our PPC405EP boards with 2 active enet devices, the traffic stops
completely upon initializing the 2nd devices (emac_reset_configure).
Has anybody experienced similar problems? Has anybody seen
this driver
quoted
working properly with more than one ppc4xx enet devices (especially
ppc405ep)?
With the previous driver (from linuxppc_2_4_devel 2.4.21
maintained by
quoted
mvista) we had no problems with 2 enet interfaces on the
ppc405ep so
quoted
far!
By the way: What is the future of the ppc4xx enet driver. I
found that
quoted
the 2.5 kernel has a newer mvista driver included
(modifications for
quoted
440gx, etc.). Is the driver from 2.4.23 a dead end?
Thanks and best regards,
Stefan.
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2003-12-14 23:55:52
On Sun, 2003-12-14 at 20:24, DaveyWu wrote:
Stefan,
Thanks for your reply. My bootloader is OpenBios. I think the problem is not caused by the wrong MAC addresses, because when I boot the 2.4.18 kernel the MAC address of eth1 is same 00:00:00:00:00:00 but both EMACs work well.
Our engin
Hrm... I doubt a MAC of 00:00:00:00:00:00 works properly
Ben.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/