From owner-freebsd-net@FreeBSD.ORG Sun Jan 18 08:52:38 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 3D62B1065670; Sun, 18 Jan 2009 08:52:38 +0000 (UTC) (envelope-from tejblum@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [77.88.58.132]) by mx1.freebsd.org (Postfix) with ESMTP id A802A8FC1F; Sun, 18 Jan 2009 08:52:37 +0000 (UTC) (envelope-from tejblum@yandex-team.ru) Received: from tejblum.pp.ru (y2.yandex.ru [87.250.239.242]) by relanium.yandex.ru (8.14.3/8.14.3) with ESMTP id n0I8fbdE015682; Sun, 18 Jan 2009 11:41:37 +0300 (MSK) (envelope-from tejblum@yandex-team.ru) Message-ID: <4972EB41.5070601@yandex-team.ru> Date: Sun, 18 Jan 2009 11:41:37 +0300 From: Dmitrij Tejblum User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20081109 SeaMonkey/1.1.12 MIME-Version: 1.0 To: Kostik Belousov References: <20090117152559.GN48057@deviant.kiev.zoral.com.ua> In-Reply-To: <20090117152559.GN48057@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 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 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 08:52:38 -0000 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. It can't be just a packet corruption, since TCP has checksums, and corrupted packets should have been dropped and retransmitted. Try to turn off checksum offloading. > > Machine runs reasonably latest stable/7. > > Any advice ? Anything I should try to tweak ? Do you need additional > information ? > > 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 >