Re: Call for testers: Atheros AR8121(L1E)/AR8113/AR8114(L2E) ethernet

From: albri <galbrig_at_googlemail.com>
Date: Mon, 17 Nov 2008 19:14:12 +0100
hello,

On 11/17/08, Pyun YongHyeon <pyunyh_at_gmail.com> wrote:
> On Sun, Nov 16, 2008 at 03:42:16PM +0100, albri wrote:
>  > hello,
>  >
>  > I have issues transfering big or many files over ethernet on 1000H, also.
>  > Using yongari's ale(4) driver
>  > http://people.freebsd.org/~yongari/ale/ale.20081114.tar.gz I did not
>  > have any problems while I surf or download 37MB sourcecode from inet.
>  > Then scp(1)'ing source from 1000H to desktop PC showed a transfer rate
>  > with maximum 86kB/s regardless to which direction is copied. The
>  > ethernet NIC, while copying, is switched off regularily then. No
>  > copies possible after three megabytes.
>
> Try turning off TSO and let me know how it goes.
> ("#ifconfig ale0 -tso" will do the job.)
>

this helps a little bit with two effects.
Copying source-tree with scp(1):
Now I can see transfers with up to approx. 500kB/s - inaccurate
measured with scp(1),
but relation counts.
Transfer stalles after different data volumes with DMA-error on tty0,
but networking
port is not turned off. This happens after 30-80MB data transfers.
You can restart the whole copy at once again.

Copying source-tree with nc(1) tar-gzipped:
Transfer stops and starts with DMA-error every approx. 7MB with turning off NIC.

>  > Next try was a big file. A packed tarball from the source-tree was
>  > copied via nc(1) using TCP-protocol. After 7 until 17MB no transfer
>  > possible and same symptoms like above.
>  >
[..]
>  > - dmesg shows:
>  > 1 ale0: <Atheros AR8121/AR8113/AR8114 PCIe Ethernet> port
>  > 0xec00-0xec7f mem 0x    fbfc0000-0xfbffffff irq 17 at device 0.0 on
>  > pci3
>  > 2 ale0: 960 Tx FIFO, 1024 Rx FIFO
>  > 3 ale0: Using 1 MSI messages.
>  > 4 miibus0: <MII bus> on ale0
>  > 5 ale0: Ethernet address: 00:23:54:xx:xx:xx
>  > 6 ale0: [FILTER]
>  > 7 ale0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
>  > 8 ale0: link state changed to UP
>  > 9 ale0: DMA read error! -- resetting
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This would be major reason why you're getting poor performance.
>
Yes, definately. See above.
[..]
>  >
>  > - ifconfig shows:
>  > 1 ale0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
>  > 2    options=319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
>
> It seems that your hardware doesn't have WOL capability. But I
> guess EeePC 1000H does support WOL. You've disabled some
> functionality of ethernet controller in BIOS?
>
Ethernet controller is turned on in BIOS, but booting via ROM is turned off.
Maybe did I not compile WOL to my (nearly) monolithic kernel? And if
so, I do not know the switch.
[..]
>
> --
> Regards,
> Pyun YongHyeon
>
Did you remember my second post?:

>I want to make one addition:
>doing a
># sockstat -46l
>I get following error:
>sockstat: struct xtcpcb size mismatch
>sockstat: struct xtcpcb size mismatch

Is there a relation to DMA-error?

best regards.
Received on Mon Nov 17 2008 - 17:14:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC