From owner-freebsd-current@FreeBSD.ORG Tue Jun 19 09:33:09 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 1F04A16A469 for ; Tue, 19 Jun 2007 09:33:09 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.freebsd.org (Postfix) with SMTP id 469EC13C458 for ; Tue, 19 Jun 2007 09:33:02 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: (qmail 85470 invoked by uid 1026); 19 Jun 2007 09:06:20 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-2.01 (clamdscan: 0.88.4/1784. Clear:RC:1(213.145.98.14):. Processed in 0.029766 secs); 19 Jun 2007 09:06:20 -0000 Received: from unknown (HELO ndenev.office.suresupport.com) (213.145.98.14) by office.suresupport.com with SMTP; 19 Jun 2007 09:06:20 -0000 Message-ID: <46779C8C.8000707@cytexbg.com> Date: Tue, 19 Jun 2007 12:06:20 +0300 From: Niki Denev User-Agent: Thunderbird 2.0.0.0 (X11/20070531) MIME-Version: 1.0 To: Hans Petter Selasky References: <466913F0.2060200@cytexbg.com> <200706081220.34991.hselasky@c2i.net> In-Reply-To: <200706081220.34991.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org 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: Tue, 19 Jun 2007 09:33:09 -0000 Hans Petter Selasky wrote: > 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! > > --HPS > > http://www.turbocat.net/~hselasky/usb4bsd > > Install the SVN version. > _______________________________________________ > I've followed the instructions and did a svn checkout of the source, then did make install and after this i rebuilt my kernel and modules (i had to disable if_ural) But even after this i get the same panic when removing this specific card. P.S.: How can i be sure that my new kernel and modules are using the new USB stack? I'm thinking that maybe something got wrong with the installation.