From owner-freebsd-net@FreeBSD.ORG Sat Feb 17 13:55:01 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3058616A400; Sat, 17 Feb 2007 13:55:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.174]) by mx1.freebsd.org (Postfix) with ESMTP id A75BF13C428; Sat, 17 Feb 2007 13:55:00 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.66.18.208] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1HIQ1i1BLg-0000og; Sat, 17 Feb 2007 14:54:59 +0100 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Sat, 17 Feb 2007 14:54:49 +0100 User-Agent: KMail/1.9.5 References: In-Reply-To: X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1253199.JX7CTxXP58"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200702171454.57301.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 X-Provags-ID2: V01U2FsdGVkX19+EaM7usMvsfwMyhQ6/ts5jD5SLaqdHPsgHJfS4lJlP5pOwV0+YVh+xGUM3Omqgiqawy+qGYvGTn0Dh6sBmzwddtGE5icbnaNQOP87CFA6eg== Cc: Jeremie Le Hen , "V.Chukharev" , cognet@freebsd.org Subject: Re: iwi leaks memory? 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: Sat, 17 Feb 2007 13:55:01 -0000 --nextPart1253199.JX7CTxXP58 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 17 February 2007 14:27, V.Chukharev wrote: > On Fri, 16 Feb 2007 23:10:24 +0200, V.Chukharev =20 wrote: > > On Fri, 16 Feb 2007 19:43:17 +0200, Jeremie Le Hen=20 wrote: > >> Hi, > >> > >> cognet@ has once provided me a tiny hack to the iwi(4) driver and > >> I never get such errors. Maybe I'm not suffering enough UP/DOWN > >> cycles to trigger it, but it might be worth trying it. > >> > >> Note that he has insisted that this is a *hack*. > >> > >> The patch is attached. Please let us know if it makes things > >> better. > > > > I cannot apply the patch ;-( > > It seems it's for CURRENT, and I run STABLE. > > I applyed the patch regenerated by Oliver against STABLE (I did not > recieve the message, found it on the list archive, that's the reason > for replying to myself). > > Yes, the patch helps. The driver did not complain after 100 down/up > cycles. Before the patch, it started to complain usually after 6..8 > cycles. Okay ... this confirms that this is a problem with memory fragmentation. =20 It seems that keeping the DMA'able memory around is indeed the best thing=20 we can do. As long as the firmware is as (un)reliable as it is now there=20 is no way around the casual reset. For normal operation it seems best to=20 store the bss firmware in the DMA'able memory and keep it there. That=20 lets us firmware_put() the image itself. I will have a patch later=20 today, unless somebody disagrees and/or has a better idea. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1253199.JX7CTxXP58 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBF1wkxXyyEoT62BG0RAh6SAJ9gdR9Q94z5AgFfeVdaXr7mljR1YQCeJpAX 5jmQdiUpGWv5ukNgC7eZXtA= =tCrH -----END PGP SIGNATURE----- --nextPart1253199.JX7CTxXP58--