From owner-freebsd-net@FreeBSD.ORG Thu Feb 15 22:28:59 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 E19E316A402 for ; Thu, 15 Feb 2007 22:28:59 +0000 (UTC) (envelope-from chukharev@mail.ru) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.freebsd.org (Postfix) with ESMTP id A59B413C4A8 for ; Thu, 15 Feb 2007 22:28:59 +0000 (UTC) (envelope-from chukharev@mail.ru) Received: from mx2.mail.ru (mx2-2.mail.ru [194.67.23.122]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id 677DD5EF507 for ; Fri, 16 Feb 2007 00:34:51 +0300 (MSK) Received: from [85.156.232.99] (port=61118 helo=localhost) by mx2.mail.ru with asmtp id 1HHoFd-000CGp-00 for freebsd-net@freebsd.org; Fri, 16 Feb 2007 00:34:49 +0300 Date: Thu, 15 Feb 2007 23:34:48 +0200 To: freebsd-net@freebsd.org From: "V.Chukharev" Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.10 (FreeBSD) Subject: 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: Thu, 15 Feb 2007 22:29:00 -0000 Hi, It seems that iwi driver cannot survive more than just a few cycles of switching down/up. In a place with a bad wireless connection I needed to do that quite a number of times (that was the simplest way to restore connectivity I knew), and after 5-10 cycles I needed to reboot my notebook totally. Can anybody with iwi () confirm (or better unconfirm) that doing for ii in `jot 100`; do sudo ifconfig iwi0 down; sleep 2; sudo ifconfig iwi0 up; done always results in the following messages (and lost connectivity): Feb 15 09:43:59 chu kernel: iwi0: link state changed to DOWN Feb 15 09:44:13 chu kernel: iwi0: link state changed to UP Feb 15 09:44:13 chu kernel: iwi0: link state changed to DOWN Feb 15 09:44:18 chu kernel: iwi0: device timeout Feb 15 09:44:20 chu kernel: iwi0: could not allocate firmware DMA memory A fix for this would be even better ;)) Thanks, -- V. Chukharev