From owner-freebsd-mobile Sun Oct 27 16: 7:42 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79C1737B401 for ; Sun, 27 Oct 2002 16:07:41 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C69A843E6E for ; Sun, 27 Oct 2002 16:07:40 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g9S07dpk025075; Sun, 27 Oct 2002 17:07:40 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 27 Oct 2002 17:06:46 -0700 (MST) Message-Id: <20021027.170646.118304063.imp@bsdimp.com> To: iedowse@maths.tcd.ie Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Patch to fix/shorten "wi" freezes From: "M. Warner Losh" In-Reply-To: <200210271800.aa11251@salmon.maths.tcd.ie> References: <200210271800.aa11251@salmon.maths.tcd.ie> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <200210271800.aa11251@salmon.maths.tcd.ie> Ian Dowse writes: : The wi driver causes quite long system freezes both when the pccard : is removed, and also if the hardware becomes confused. I've found : on -current that sometimes the whole machine can become unresponsive : for a period of minutes with messages such as: For the removal, it would be better to use the bus_child_present() api for the eject case. For the hardware becomes confused case, setting gone means that nothing further will happen with the card. However, the other parts of this patch seem relatively reasonable to me. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message