Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 15:42:16 +0100
From:      albri <galbrig@googlemail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Call for testers: Atheros AR8121(L1E)/AR8113/AR8114(L2E) ethernet
Message-ID:  <46d45f030811160642m2dff1481g457f1fa1a4ac1372@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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@netbook.net.local:/usr/obj/usr/src/sys/NETBOOK  i386

- kernel was compiled with:
make buildkernel KERNCONF=NETBOOK MODULES_OVERRIDE="ath"

[-- Attachment #2 --]
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $

cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		NETBOOK

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

#options 	SCHED_4BSD		# 4BSD scheduler
options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	NTFS			# NT Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
options 	STOP_NMI		# Stop CPUS using NMI instead of IPI
options  QUOTA       #enable disk quotas

# To make an SMP kernel, the next two lines are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

device bridge

# CPU frequency control
device		cpufreq

# hardware crypto
device crypto
device cryptodev

# Bus support.
device		eisa
device		pci

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

device		atapicam

# SCSI Controllers

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
#device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
#device		hptmv		# Highpoint RocketRAID 182x
device		hptrr		# Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx

# RAID controllers

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		kbdmux		# keyboard multiplexer

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# for xf86-video-intel support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
#device		cbb		# cardbus (yenta) bridge
#device		pccard		# PC Card (16-bit) bus
#device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports
device		uart		# Generic UART driver

# Parallel port
#device		ppc
device		ppbus		# Parallel port bus (required)
#device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
##device		vpo		# Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device		puc

# PCI Ethernet NICs.

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
#device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
#device		bfe		# Broadcom BCM440x 10/100 Ethernet
device         ale             # Atheros AR8121/AR8113/AR8114 Ethernet
#device		bge		# Broadcom BCM570xx Gigabit Ethernet
#device		nfe		# nVidia nForce MCP on-board Ethernet
#device		nge		# NatSemi DP83820 gigabit Ethernet
##device		nve		# nVidia nForce MCP on-board Ethernet Networking

# ISA Ethernet NICs.  pccard NICs included.

# Wireless NIC cards
device		wlan		# 802.11 support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm
device		wlan_scan_ap	# 802.11 AP mode scanning
device		wlan_scan_sta	# 802.11 STA mode scanning
##device		an		# Aironet 4500/4800 802.11 wireless NICs.
#device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# Atheros HAL (Hardware Access Layer)
device		ath_rate_sample	# SampleRate tx rate control for ath
#device		awi		# BayStack 660 and others
device		ral		# Ralink Technology RT2500 wireless NICs.
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device		wl		# Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		ural		# Ralink Technology RT2500USB wireless NICs
device		rum		# Ralink Technology RT2501USB wireless NICs
#device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners
# USB Ethernet, requires miibus

# FireWire support
device		firewire	# FireWire bus code
#device		sbp		# SCSI over FireWire (Requires scbus and da)
#device		fwe		# Ethernet over FireWire (non-standard!)
#device		fwip		# IP over FireWire (RFC 2734,3146)
device		dcons		# Dumb console driver
device		dcons_crom	# Configuration ROM for dcons

device		sound
device		snd_hda			# AD1986a etc. sound
device		acpi				# required for ASUS EeePC
device		acpi_asus
device		acpi_aiboost

[-- Attachment #3 --]
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

[-- Attachment #4 --]
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
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46d45f030811160642m2dff1481g457f1fa1a4ac1372>