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

albri galbrig at googlemail.com
Sun Nov 16 06:56:38 PST 2008


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.
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.

One way I can reproduce this is the following:
on desktop PC: $> nc -4nl 1234 > bigfile.tar.gz
on 1000H: $> nc -4n 192.x.x.x 1234 < bigfile.tar.gz
It makes no difference wether I am a user or root. Tested over a
switch and a crossover cable.
Does anybody has a hint?

best regards.

- attachments:
As this is my first post, I try to attach my kernelconfig and two
sysctl dev.ale.0 (before and after error).

- 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
10 ale0: could not disable Tx/Rx MAC(0x00000008)!
11 ale0: link state changed to DOWN
12 ale0: link state changed to UP
13 ale0: link state changed to DOWN
14 ale0: link state changed to UP
15 [..] 20 times
16 ale0: DMA read error! -- resetting
17 ale0: could not disable Tx/Rx MAC(0x00000008)!
18 ale0: link state changed to DOWN
19 ale0: link state changed to UP

- 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>
3    ether 00:23:54:xx:xx:xx
4    inet 192.168.xxx.xxx netmask 0xffffff00 broadcast 192.168.xxx.255
5    media: Ethernet autoselect (100baseTX <full-duplex>)
6    status: active

- uname -a shows:
FreeBSD netbook.net.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0:
Sun Nov 16 13:19:19 CET 2008
maya at netbook.net.local:/usr/obj/usr/src/sys/NETBOOK  i386

- kernel was compiled with:
make buildkernel KERNCONF=NETBOOK MODULES_OVERRIDE="ath"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NETBOOK
Type: application/octet-stream
Size: 8282 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081116/7df5a014/NETBOOK.obj
-------------- next part --------------
dev.ale.0.%desc: Atheros AR8121/AR8113/AR8114 PCIe Ethernet
dev.ale.0.%driver: ale
dev.ale.0.%location: slot=0 function=0
dev.ale.0.%pnpinfo: vendor=0x1969 device=0x1026 subvendor=0x1043 subdevice=0x8324 class=0x020000
dev.ale.0.%parent: pci3
dev.ale.0.int_rx_mod: 30
dev.ale.0.int_tx_mod: 1000
dev.ale.0.process_limit: 64
dev.ale.0.reset_brk_seq: 0
dev.ale.0.stats.rx.good_frames: 3
dev.ale.0.stats.rx.good_bcast_frames: 1
dev.ale.0.stats.rx.good_mcast_frames: 0
dev.ale.0.stats.rx.pause_frames: 0
dev.ale.0.stats.rx.control_frames: 0
dev.ale.0.stats.rx.crc_errs: 0
dev.ale.0.stats.rx.len_errs: 0
dev.ale.0.stats.rx.good_octets: 180
dev.ale.0.stats.rx.good_bcast_octets: 60
dev.ale.0.stats.rx.good_mcast_octets: 0
dev.ale.0.stats.rx.runts: 0
dev.ale.0.stats.rx.fragments: 0
dev.ale.0.stats.rx.frames_64: 3
dev.ale.0.stats.rx.frames_65_127: 0
dev.ale.0.stats.rx.frames_128_255: 0
dev.ale.0.stats.rx.frames_256_511: 0
dev.ale.0.stats.rx.frames_512_1023: 0
dev.ale.0.stats.rx.frames_1024_1518: 0
dev.ale.0.stats.rx.frames_1519_max: 0
dev.ale.0.stats.rx.trunc_errs: 0
dev.ale.0.stats.rx.fifo_oflows: 0
dev.ale.0.stats.rx.rrs_errs: 0
dev.ale.0.stats.rx.align_errs: 0
dev.ale.0.stats.rx.filtered: 0
dev.ale.0.stats.tx.good_frames: 4
dev.ale.0.stats.tx.good_bcast_frames: 3
dev.ale.0.stats.tx.good_mcast_frames: 0
dev.ale.0.stats.tx.pause_frames: 0
dev.ale.0.stats.tx.control_frames: 0
dev.ale.0.stats.tx.excess_defers: 0
dev.ale.0.stats.tx.defers: 0
dev.ale.0.stats.tx.good_octets: 254
dev.ale.0.stats.tx.good_bcast_octets: 0
dev.ale.0.stats.tx.good_mcast_octets: 0
dev.ale.0.stats.tx.frames_64: 3
dev.ale.0.stats.tx.frames_65_127: 1
dev.ale.0.stats.tx.frames_128_255: 0
dev.ale.0.stats.tx.frames_256_511: 0
dev.ale.0.stats.tx.frames_512_1023: 0
dev.ale.0.stats.tx.frames_1024_1518: 0
dev.ale.0.stats.tx.frames_1519_max: 0
dev.ale.0.stats.tx.single_colls: 0
dev.ale.0.stats.tx.multi_colls: 0
dev.ale.0.stats.tx.late_colls: 0
dev.ale.0.stats.tx.excess_colls: 0
dev.ale.0.stats.tx.abort: 0
dev.ale.0.stats.tx.underruns: 0
dev.ale.0.stats.tx.desc_underruns: 0
dev.ale.0.stats.tx.len_errs: 0
dev.ale.0.stats.tx.trunc_errs: 180
-------------- next part --------------
dev.ale.0.%desc: Atheros AR8121/AR8113/AR8114 PCIe Ethernet
dev.ale.0.%driver: ale
dev.ale.0.%location: slot=0 function=0
dev.ale.0.%pnpinfo: vendor=0x1969 device=0x1026 subvendor=0x1043 subdevice=0x8324 class=0x020000
dev.ale.0.%parent: pci3
dev.ale.0.int_rx_mod: 30
dev.ale.0.int_tx_mod: 1000
dev.ale.0.process_limit: 64
dev.ale.0.reset_brk_seq: 0
dev.ale.0.stats.rx.good_frames: 3906
dev.ale.0.stats.rx.good_bcast_frames: 1
dev.ale.0.stats.rx.good_mcast_frames: 0
dev.ale.0.stats.rx.pause_frames: 0
dev.ale.0.stats.rx.control_frames: 0
dev.ale.0.stats.rx.crc_errs: 0
dev.ale.0.stats.rx.len_errs: 0
dev.ale.0.stats.rx.good_octets: 258332
dev.ale.0.stats.rx.good_bcast_octets: 60
dev.ale.0.stats.rx.good_mcast_octets: 0
dev.ale.0.stats.rx.runts: 0
dev.ale.0.stats.rx.fragments: 0
dev.ale.0.stats.rx.frames_64: 4
dev.ale.0.stats.rx.frames_65_127: 3902
dev.ale.0.stats.rx.frames_128_255: 0
dev.ale.0.stats.rx.frames_256_511: 0
dev.ale.0.stats.rx.frames_512_1023: 0
dev.ale.0.stats.rx.frames_1024_1518: 0
dev.ale.0.stats.rx.frames_1519_max: 0
dev.ale.0.stats.rx.trunc_errs: 0
dev.ale.0.stats.rx.fifo_oflows: 0
dev.ale.0.stats.rx.rrs_errs: 0
dev.ale.0.stats.rx.align_errs: 0
dev.ale.0.stats.rx.filtered: 0
dev.ale.0.stats.tx.good_frames: 7765
dev.ale.0.stats.tx.good_bcast_frames: 4
dev.ale.0.stats.tx.good_mcast_frames: 2
dev.ale.0.stats.tx.pause_frames: 0
dev.ale.0.stats.tx.control_frames: 0
dev.ale.0.stats.tx.excess_defers: 0
dev.ale.0.stats.tx.defers: 0
dev.ale.0.stats.tx.good_octets: 8480726
dev.ale.0.stats.tx.good_bcast_octets: 2557
dev.ale.0.stats.tx.good_mcast_octets: 0
dev.ale.0.stats.tx.frames_64: 4
dev.ale.0.stats.tx.frames_65_127: 63
dev.ale.0.stats.tx.frames_128_255: 42
dev.ale.0.stats.tx.frames_256_511: 83
dev.ale.0.stats.tx.frames_512_1023: 3549
dev.ale.0.stats.tx.frames_1024_1518: 4024
dev.ale.0.stats.tx.frames_1519_max: 0
dev.ale.0.stats.tx.single_colls: 0
dev.ale.0.stats.tx.multi_colls: 0
dev.ale.0.stats.tx.late_colls: 0
dev.ale.0.stats.tx.excess_colls: 0
dev.ale.0.stats.tx.abort: 0
dev.ale.0.stats.tx.underruns: 0
dev.ale.0.stats.tx.desc_underruns: 0
dev.ale.0.stats.tx.len_errs: 0
dev.ale.0.stats.tx.trunc_errs: 240


More information about the freebsd-current mailing list