From owner-freebsd-net@FreeBSD.ORG Wed Mar 1 19:57:03 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8A8216A422; Wed, 1 Mar 2006 19:57:03 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94A7743D79; Wed, 1 Mar 2006 19:56:56 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id k21Jutuj050403; Wed, 1 Mar 2006 11:56:55 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id k21Jutj9050402; Wed, 1 Mar 2006 11:56:55 -0800 (PST) (envelope-from rizzo) Date: Wed, 1 Mar 2006 11:56:55 -0800 From: Luigi Rizzo To: Anders Nordby Message-ID: <20060301115655.A50285@xorpc.icir.org> References: <20060301193342.GA11086@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20060301193342.GA11086@totem.fix.no>; from anders@freebsd.org on Wed, Mar 01, 2006 at 08:33:42PM +0100 Cc: freebsd-net@freebsd.org, damien@freebsd.org, flz@freebsd.org Subject: Re: iwi stability when doing large file transfers/backups 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: Wed, 01 Mar 2006 19:57:03 -0000 On Wed, Mar 01, 2006 at 08:33:42PM +0100, Anders Nordby wrote: > Hi, > > I'm having great difficulties taking backup of my laptop computer. It's > a Fujitsu Siemens Lifebook E8020 system with a Intel PRO/Wireless > 2915ABG NIC. I'm connected to a FreeBSD hostap, using WPA2 (CCMP/AES). > > Updating to 6-STABLE (6.1-PRERELEASE) seems to have improved the > stability of the iwi driver quite a bit, but when doing large file > transfers (in this case rsyncing all the data from the laptop through > SSH), I always and oftenly get: > > Disconnecting: Corrupted MAC on input. > > The messages comes from SSH, so it seems to be getting corrupted data. > Is anyone looking into that? Is there any fixes or settings that should > be tried? How are people's experience with iwi? Am I the only one to > have problems with it? I am using RELENG_6 on my dell latitude x1 and i have been getting ssh's "corrupted data" messages with 'iwi' since i started using the native driver back in september. After the update at the end of january the driver would consistently crash my laptop right after loading the firmware (i suspect some kind of race condition) so i had a hard time for a couple of weeks until i replaced it with the code that Max Laier and Sam Leffler gave me (using the 'firmware' driver from RELENG_7). Since then the driver is solid as a rock, but the "corrupt data" thing keeps happening, especially with bulk data transfers such as scp, although occasionally i get them with http accesses too. curiously interactive ssh is always ok, so i suspect that packet size has an influence on the problem. I had no time to instrument the relevant part of the ssl library to try and figure out if there is a pattern in the error (e.g. zeroed bytes, or a constant packet size, etc.) but yes, overall the native iwi driver does have issues and i am unsure on what is the source (i had firmware 2.3 before feb, and 2.4 now). cheers luigi