From owner-freebsd-current@FreeBSD.ORG Thu Jul 1 19:08:13 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 AA6C016A4D2 for ; Thu, 1 Jul 2004 19:08:13 +0000 (GMT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id A420E43D5C for ; Thu, 1 Jul 2004 19:08:11 +0000 (GMT) (envelope-from lukas@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:lukas@norge.freeshell.org [192.94.73.3]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i61J7uhf005559; Thu, 1 Jul 2004 19:07:58 GMT Received: (from lukas@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i61J7tXC015390; Thu, 1 Jul 2004 12:07:55 -0700 (PDT) Date: Thu, 1 Jul 2004 12:07:55 -0700 (PDT) From: Luke X-X-Sender: lukas@norge.freeshell.org To: Andrew Thompson In-Reply-To: <20040701085915.GA10650@thingy.tbd.co.nz> Message-ID: References: <20040701085915.GA10650@thingy.tbd.co.nz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: current@freebsd.org Subject: Re: axe0: read PHY failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: LukeD@pobox.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 Jul 2004 19:08:13 -0000 > Comparing to the NetBSD driver, I added the USBD_FORCE_SHORT_XFER flag and now > it is working perfectly. Can someone please review the patch below and commit > if appropriate. Does this patch limit the speed? I fought with this same problem for a couple of months and discovered that limiting the speed would stop the panics, but it made the device so slow as to be useless for my purposes. For example, if I attached the device to an ohci controller, I never had any problems. If I attched it to an ehci controller, but set the debugging sysctl variables high enough to force the traffic to slow down, I never had any problems (except for filling up my system message log with garbage). If your patch can stop the panics without limiting the speed of the device to something like 2Mbs then great!! :)