From owner-freebsd-current@FreeBSD.ORG Mon Jul 19 17:23:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0848516A4CE; Mon, 19 Jul 2004 17:23:17 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F11B843D46; Mon, 19 Jul 2004 17:23:16 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id E345572DF4; Mon, 19 Jul 2004 10:23:16 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id E058A72DF2; Mon, 19 Jul 2004 10:23:16 -0700 (PDT) Date: Mon, 19 Jul 2004 10:23:16 -0700 (PDT) From: Doug White To: Pawel Jakub Dawidek In-Reply-To: <20040719145745.GH57678@darkness.comp.waw.pl> Message-ID: <20040719102139.N59702@carver.gumbysoft.com> References: <20040719145745.GH57678@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Unloading USB driver while device is attached. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 19 Jul 2004 17:23:17 -0000 On Mon, 19 Jul 2004, Pawel Jakub Dawidek wrote: > Hello. > > Could someone investigate what's going on for the situation from the > subject? This panic is trivial to reproduce: > > # kldload umass.ko > > # kldunload umass > # kldload umass > > > It is not umass related! I think this problem is in our USB implementation. Theres a discussion going on in -arch about making kldunload a bit more careful about cleaning up before detaching. In the interim adding a method that just vetos any unload request would prevent this from occuring, but also preclude unloading the driver. :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org