From owner-freebsd-usb@FreeBSD.ORG Tue Oct 7 21:20:02 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B0B6B742 for ; Tue, 7 Oct 2014 21:20:02 +0000 (UTC) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A60B7B for ; Tue, 7 Oct 2014 21:20:01 +0000 (UTC) Received: from [10.0.2.95] (ppp14-2-3-181.lns21.adl2.internode.on.net [14.2.3.181]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s97LJUO0054165 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 8 Oct 2014 07:49:39 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: Panic in usb_unref_device Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 From: "Daniel O'Connor" In-Reply-To: <542E8D27.2060505@selasky.org> Date: Wed, 8 Oct 2014 07:49:30 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8B31CE4F-F310-49E7-8316-22D6170BF6C6@gsoft.com.au> <542E8D27.2060505@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1878.6) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2014 21:20:02 -0000 On 3 Oct 2014, at 21:18, Hans Petter Selasky wrote: > On 10/03/14 13:19, Daniel O'Connor wrote: >> Hi, >> I have a custom USB device based on the Cypress FX2 and we are = finding that with some older kernels it hangs - this was fixed in = https://svnweb.freebsd.org/base?view=3Drevision&revision=3D267240 but = now it panics with=85 >>=20 > There's a minor bug there. Can you test the attached patch? Sorry for the late reply (there was a holiday on Monday here) - the = patch seems to have fixed the crash, thanks! -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C