From owner-freebsd-stable@FreeBSD.ORG Wed Sep 10 17:17:16 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A13DC106564A; Wed, 10 Sep 2008 17:17:16 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (unknown [IPv6:2001:2f0:104:80a0:230:48ff:fe41:2455]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0E68FC0C; Wed, 10 Sep 2008 17:17:16 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.14.1/8.14.1/NinthNine) with SMTP id m8AHHELA045847; Thu, 11 Sep 2008 02:17:14 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 11 Sep 2008 02:17:14 +0900 From: Norikatsu Shigemura To: Oliver Fromme , Bruce M Simpson Message-Id: <20080911021714.b175db96.nork@FreeBSD.org> In-Reply-To: <200809101208.m8AC8ims084480@lurza.secnetix.de> References: <48C682B7.8000806@incunabulum.net> <200809101208.m8AC8ims084480@lurza.secnetix.de> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd8.0) 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.2 (sakura.ninth-nine.com [219.127.74.121]); Thu, 11 Sep 2008 02:17:15 +0900 (JST) Cc: freebsd-stable@FreeBSD.org, Norikatsu Shigemura Subject: Re: Panic when detaching Vodafone 3G card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2008 17:17:16 -0000 On Wed, 10 Sep 2008 14:08:44 +0200 (CEST) Oliver Fromme wrote: > Bruce M Simpson wrote: > > I just acquired one of these cards, it attaches as a USB cardbus device. > > [...] > > If I unplug it, the kernel panics. > That's expected and a known problem. The card contains > an OHCI controller, but the ohci(4) driver doesn't support > detaching. I think that's also the reason why you have > to compile ohci statically in your kernel, there's no > module for it. > Solution: Don't unplug the card. Ah! I know this issue. It has been fixed by imp@ at AsiaBSDCon2008, but not committed:-(. Please see also: http://people.freebsd.org/~imp/usb-detach.diff