From owner-freebsd-current@FreeBSD.ORG Fri Jun 8 18:14:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6203C16A468 for ; Fri, 8 Jun 2007 18:14:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0ED13C4B0 for ; Fri, 8 Jun 2007 18:14:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l58IBOKM002631; Fri, 8 Jun 2007 12:11:25 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 08 Jun 2007 12:11:48 -0600 (MDT) Message-Id: <20070608.121148.-957834607.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200706081220.34991.hselasky@c2i.net> References: <466913F0.2060200@cytexbg.com> <200706081220.34991.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 08 Jun 2007 12:11:26 -0600 (MDT) Cc: freebsd-current@freebsd.org, nike_d@cytexbg.com Subject: Re: panic when removing pccard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 18:14:55 -0000 In message: <200706081220.34991.hselasky@c2i.net> Hans Petter Selasky writes: : On Friday 08 June 2007 10:31, Niki Denev wrote: : > -----BEGIN PGP SIGNED MESSAGE----- : > Hash: SHA1 : > : > I experience the following panic on a few days old -current : : > : > If i insert and then remove a pcmcia card using the ubsa module : > (Vodafone Mobile Connect, which actually is Huawei E630 UMTS/HSDPA modem) : > the machine panics, because i think the order of removal of the devices : > by the kernel is not correct. I'm not sure because i don't have -STABLE : > machine with pcmcia now, but i think this problem does not exist there. : > : > Here is what happens when card is inserted : : : Hi! : : If you want to be able to remove the card you need to install the new USB : stack. The old USB stack is completely broken when it comes to this point! My experiences with the old stack differ. I've done this many times without ill effect for my usb 2.0 cards and my combo usb 2.0/Firewire cards. What's the specific problem with the old stack? Warner