From owner-freebsd-current@FreeBSD.ORG Thu Jun 1 04:25:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 CBBCF16AFD8 for ; Thu, 1 Jun 2006 04:25:51 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C6543D48 for ; Thu, 1 Jun 2006 04:25:51 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp3-g19.free.fr (Postfix) with ESMTP id 463E54444D for ; Thu, 1 Jun 2006 06:25:50 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k514Phk3023288; Thu, 1 Jun 2006 06:25:45 +0200 (CEST) From: Thierry Herbelot To: Anish Mistry Date: Thu, 1 Jun 2006 06:25:34 +0200 User-Agent: KMail/1.9.1 References: <200606010042.47193.thierry@herbelot.com> <200605311930.17675.mistry.7@osu.edu> In-Reply-To: <200605311930.17675.mistry.7@osu.edu> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200606010625.36520.thierry@herbelot.com> Cc: freebsd-current@freebsd.org Subject: Re: panic while playing with a ugen X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 04:25:55 -0000 Le Thursday 1 June 2006 01:30, Anish Mistry a écrit : > On Wednesday 31 May 2006 18:42, Thierry Herbelot wrote: > > the panic occured when closing one endpoint of a ugen device (the > > device was disconnecting from the USB bus after being reseted). > > I haven't seen this particular panic with ugen before. > Try the patch in PR: usb/97271. If you've got a test program and > instructions that can reproduce this panic after applying that patch > let me know. > > Thanks, > will do (ASAP) from a very summary reading of the patch, it seems that the panic I saw is a deeper FreeBSD problem, where a si_devsw may have correctly been emptied as the underlying physical object has been unplugged, and still some code is blindly unreferencing the structure and its members (to be confirmed). TfH