From owner-freebsd-current@FreeBSD.ORG Wed Feb 20 04:37:49 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 71AD0D9; Wed, 20 Feb 2013 04:37:49 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) by mx1.freebsd.org (Postfix) with ESMTP id 23A04F66; Wed, 20 Feb 2013 04:37:48 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id ro8so2646591pbb.32 for ; Tue, 19 Feb 2013 20:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:date:to:cc:subject:message-id:reply-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=VhrYFAZmirpVhYOZfEICpqf2CJB70AG0DTNgLhJ28RU=; b=GigZn0ur4DnxTQi/BiHkILxzNHL/ZsPyY5KCU/LnixmLxp/T423hbiZWwGOHeYiOCY d+TIMXP90nHAl2F/AZkW4pF3vXmIu9jY1IrE/F2L8+imNxd77mcrYgj80gk9h+jfINcw jb0zGGNOaAKigAS2dzxWIulz6GyUNqDABf9Imf+0xqNamtzIXpb12HV/Of3023DepD0V Fsmdq/k2pqo4mpUPjpk1xtSyzTyW/IKa1Uafm7p3l8FmG1VjY9j5WHpSyyD//6+KQw1A Iv9iCvqTEwJEUBBYZK6zyIx1qaRqWue82qJjBz+ohiLsFW/ltzxszgJEs3SCfrRWdSnf FJlQ== X-Received: by 10.66.250.169 with SMTP id zd9mr384255pac.134.1361335068608; Tue, 19 Feb 2013 20:37:48 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id w2sm104337167pax.22.2013.02.19.20.37.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Feb 2013 20:37:47 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 20 Feb 2013 13:37:39 +0900 From: YongHyeon PYUN Date: Wed, 20 Feb 2013 13:37:39 +0900 To: Alexey Dokuchaev Subject: Re: ale(4) cannot negotiate as GigE Message-ID: <20130220043739.GA1469@michelle.cdnetworks.com> References: <20130219082302.GA86501@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130219082302.GA86501@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 04:37:49 -0000 On Tue, Feb 19, 2013 at 08:23:02AM +0000, Alexey Dokuchaev wrote: > Hi there, > > I've recently put back online one of my home servers, updated to the latest > -CURRENT code. All went fine, but one thing bothers me. This box bears > Asus P5Q Pro mobo, with the following onboard NIC: > > ale0@pci0:2:0:0: class=0x020000 card=0x82261043 chip=0x10261969 > rev=0xb0 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR8121/AR8113/AR8114 Gigabit or Fast Ethernet' > class = network > subclass = ethernet > > According the the specs, it should be GigE. In fact, when plugged into a > capable switch, it displays "green" (gig) status (same on the switch), but > once being initialized by the kernel, it downgrades to yellowish 100mbps > (real speeds agree). There is a fast etherenet version(L2E) so I'm not sure what you have. Could you show me dmesg output(ale(4) & atphy(4) only) and "devinfo -rv| grep atphy"? > > I'm not sure why it happens; maybe it's somehow related to a handful of > those "ale0: link state changed to DOWN/UP" flip-flops I see in dmesg(8), > before it can finally obtain DHCP lease? That's normal when you initiates auto-negotiation with dhclient. > > I remember these adapters had problems in the past, like infamous "Corrupted > MAC on input" disconnect messages, but I don't recall that I could not use > it in GigE mode. Anything I can do about it? Googling did not help much: > most reports date back to ca. 2009, and apparently were ironed out in later > revisions (e.g. selectively disabling checksum offloading). Thanks, > If you still see the "Corrupted MAC on input" message, let me know. > ./danfe