From owner-freebsd-current@FreeBSD.ORG Mon Jun 11 07:02:18 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 659DF16A41F for ; Mon, 11 Jun 2007 07:02:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 0578E13C43E for ; Mon, 11 Jun 2007 07:02:17 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe12.swip.net (CommuniGate Pro SMTP 5.1.9) with ESMTPA id 345093332; Mon, 11 Jun 2007 09:02:16 +0200 From: Hans Petter Selasky To: "M. Warner Losh" Date: Mon, 11 Jun 2007 09:02:10 +0200 User-Agent: KMail/1.9.5 References: <466913F0.2060200@cytexbg.com> <200706081220.34991.hselasky@c2i.net> <20070608.121148.-957834607.imp@bsdimp.com> In-Reply-To: <20070608.121148.-957834607.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706110902.10822.hselasky@c2i.net> 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: Mon, 11 Jun 2007 07:02:18 -0000 On Friday 08 June 2007 20:11, M. Warner Losh wrote: > 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? If you replug a PCMCIA USB device multiple times, will you not end up with multiple USB ghost devices under /dev? Or has this been fixed? --HPS