From owner-freebsd-net@FreeBSD.ORG Mon Jan 19 01:52:39 2009 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 07E7A1065674; Mon, 19 Jan 2009 01:52:39 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id BF7228FC12; Mon, 19 Jan 2009 01:52:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2526368rvf.43 for ; Sun, 18 Jan 2009 17:52:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=nDMOJkU1AuIHYJukmApYyyACLik/tnwYggrWtEAoxok=; b=B+wljYebPz1jtIEz3hWKE7PVBOjH4qdizLeSSQSA5DSPWo2aRvt9QPG6zSqUmv2Ma4 j3u4//sPwsVfBRZhZbeAXbNKulla/P5zgQW9gVCHzHUefxEPgC0k9jdgdXUxWOIowiqI 19ndbi+oiGLYLxZf9FeKVxw+7nD7/qDLaiAS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=cL0YTO8i8p1CpLBZfiqbb2D0yVsvOjRNPfIaWjCkA6+8SBTorWkIw/k55nUPzS8plK U3N3YlzESCIT4SKuVxR00eeXcneKAho/btW6xIXqM0H9ruzw3cSiAmS7ZJCy8VbtzOZp zJYXxn/C+ZRrgInWyj8cys3ooHISzplYJEXC0= Received: by 10.141.100.15 with SMTP id c15mr542489rvm.52.1232329957995; Sun, 18 Jan 2009 17:52:37 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id f21sm8800822rvb.7.2009.01.18.17.52.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Jan 2009 17:52:36 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.14.3/8.14.3) with ESMTP id n0J1qQOS075895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jan 2009 10:52:26 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.14.3/8.14.3/Submit) id n0J1qPoo075894; Mon, 19 Jan 2009 10:52:25 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 19 Jan 2009 10:52:25 +0900 From: Pyun YongHyeon To: Kostik Belousov Message-ID: <20090119015225.GC75541@cdnetworks.co.kr> References: <20090117152559.GN48057@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090117152559.GN48057@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org, yongari@freebsd.org Subject: Re: age(4) corrupts packets 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: Mon, 19 Jan 2009 01:52:39 -0000 On Sat, Jan 17, 2009 at 05:25:59PM +0200, Kostik Belousov wrote: > I have to use a machine with ASUS motherboard, that has age(4) ethernet > adapter. It seems that active use of the net causes corrupted frames, > like the following ssh disconnect (after doing find / in the shell): > Disconnecting: Corrupted MAC on input. > > Machine runs reasonably latest stable/7. > > Any advice ? Anything I should try to tweak ? Do you need additional > information ? > Would you show me the output of "sysctl dev.age.0.stats=1"? Also try disabling Rx checksum offload(ifconfig age0 -rxcsum). > I can test patches on this box. > > age0: mem 0xfeac0000-0xfeafffff irq 17 at device 0.0 on pci2 > age0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xfeac0000 > age0: PCI device revision : 0x00b0 > age0: Chip id/revision : 0x9006 > age0: 1280 Tx FIFO, 2364 Rx FIFO > age0: MSIX count : 0 > age0: MSI count : 1 > age0: attempting to allocate 1 MSI vectors (1 supported) > msi: routing MSI IRQ 256 to vector 52 > age0: using IRQ 256 for MSI > age0: Using 1 MSI messages. > age0: Read request size : 512 bytes. > age0: TLP payload size : 128 bytes. > age0: PCI VPD capability not found! > miibus0: on age0 > atphy0: PHY 0 on miibus0 > atphy0: OUI 0x001374, model 0x0001, rev. 5 > atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto > age0: bpf attached > age0: Ethernet address: 00:1f:c6:b9:cc:a7 > msi: Assigning MSI IRQ 256 to local APIC 0 > -- Regards, Pyun YongHyeon