From owner-freebsd-net@FreeBSD.ORG Thu Jul 1 22:41:33 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDAFA106564A for ; Thu, 1 Jul 2010 22:41:33 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id ADC0C8FC08 for ; Thu, 1 Jul 2010 22:41:33 +0000 (UTC) Received: by pvb32 with SMTP id 32so1107636pvb.13 for ; Thu, 01 Jul 2010 15:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=JgXIp59c+ldmFbIc4xW4dAf/CycXuyBjo91ASgD3Vzo=; b=H327NH99C0/IIYzyw+XFjY2VKD74VdhXBq+QqRYAYP2kneCXkXv0GZWkljJ4HK8Jr/ eHR3ZXrzSycORlX160BDLPfE+0kKtt1DTvDU+2BanV+vLqwhgvzFzjPz8Ir4ynLblPrR CfvdxNo/6Eeot8YBd+wSSjxQH/UnmE+NA0wcs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=v6N3Psdm15Y9JWG8pcbWShBt0WkzlwMTQm9k39g3On0GSng16bTTKrrXVLmb8/3LZ4 97UV/AniwTN4VYjCnck+72vMf6KGzxIsw0V4/nrzAi/2jix8ucEevLdxdNTGnybtXEk7 rSHz2zG7BzVvMxoB9ASSGFueWIrx2CaZgSVFM= Received: by 10.114.113.16 with SMTP id l16mr145720wac.210.1278024088229; Thu, 01 Jul 2010 15:41:28 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 33sm1721320wad.18.2010.07.01.15.41.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Jul 2010 15:41:27 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 1 Jul 2010 15:41:00 -0700 From: Pyun YongHyeon Date: Thu, 1 Jul 2010 15:41:00 -0700 To: Andrea Venturoli Message-ID: <20100701224100.GG7090@michelle.cdnetworks.com> References: <4C209C22.7080900@netfence.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C209C22.7080900@netfence.it> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: Atheros ale problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 22:41:33 -0000 On Tue, Jun 22, 2010 at 01:18:58PM +0200, Andrea Venturoli wrote: > Hello. > > I'm having problems with 8.0/amd64 with the following card: > > ale0@pci0:1:0:0: class=0x020000 card=0x83041043 chip=0x10261969 > rev=0xb0 hdr=0x00 > vendor = 'Attansic (Now owned by Atheros)' > device = 'PCI-E ETHERNET CONTROLLER (AR8121/AR8113 )' > class = network > subclass = ethernet > > This is connected to a 100Mb/s Full Duplex switch with no fancy features. > > > > Sometimes, while connected through ssh to this box, I get kicked out with: > Disconnecting: Corrupted MAC on input. > or: > Disconnecting: Bad packet length 1686869659. > > At the same time on the server's log and console, I see: > > kernel: ale0: watchdog timeout -- resetting > kernel: ale0: could not disable Tx/Rx MAC(0x00000008)! > kernel: ale0: link state changed to DOWN > kernel: ale0: link state changed to UP > > I'm setting up this box, so I can't speak of other > protocols/applications yet. > > > > I saw some threads about this dating back to 2008 and related to EEEPCs, > but this was supposed to be fixed. > > Any help? > Show me the output of "ifconfig ale0" and "sysctl dev.ale.0.stats". And see whether your switch also agrees on resolved speed/duplex of established link.