From owner-freebsd-usb@FreeBSD.ORG Sun Nov 29 21:38:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E702A106566C for ; Sun, 29 Nov 2009 21:38:59 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 981F78FC1F for ; Sun, 29 Nov 2009 21:38:59 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so708531qwb.7 for ; Sun, 29 Nov 2009 13:38:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=YMUpvUwPPPWKVl20XMEmoCWw1o5CGGrzSG6oG6jRm4k=; b=W4gZr0gvhOOIKdDvgqYCQ4hIC5sfeK1a4v0VkstTt4UR6vTAIsCj7QeoTdYwoWWt0M VzraoITAwWsnfCaXs6VSKV1yn+Lt+lJcBDec2TDlNb949HVQi3avStryU4iZoLHCP7/e o2WDVOtggBSQpkF5qp+dTw7pmtHMYB9s+MfH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=eHN9W8GaMz4DOqmmazAkUslldx06bNhP9j6ELgnqm5JZnRVMcrEtgHOdBK0Xs23hHp wd2HLmLaazWSoIV5V4srFvCutHgul+x/SbvPc9JMsCPN/j3VLkcFOPIbvbvqs8IViqHy itV6IZMcyUOTuNprLWJUNulJJGfjY4bSclmw8= Received: by 10.224.124.24 with SMTP id s24mr1733905qar.119.1259530738907; Sun, 29 Nov 2009 13:38:58 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm3143436qyk.4.2009.11.29.13.38.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 13:38:57 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 29 Nov 2009 13:38:31 -0800 From: Pyun YongHyeon Date: Sun, 29 Nov 2009 13:38:31 -0800 To: Brett Glass Message-ID: <20091129213831.GB1128@michelle.cdnetworks.com> References: <200911290250.nAT2o3L7086305@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200911290250.nAT2o3L7086305@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-usb@freebsd.org Subject: Re: usb/140883: [axe] USB gigabit ethernet hangs after short period of traffic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 21:39:00 -0000 On Sun, Nov 29, 2009 at 02:50:03AM +0000, Brett Glass wrote: > The following reply was made to PR usb/140883; it has been noted by GNATS. > > From: Brett Glass > To: bug-followup@FreeBSD.org > Cc: sub.mesa@gmail.com > Subject: Re: usb/140883: [axe] USB gigabit ethernet hangs after short > period of traffic > Date: Sat, 28 Nov 2009 19:04:49 -0700 > > The reason why the vendor name and device name is not appearing is > that the USB_VERBOSE option was not included in the configuration > of the 8.0-RELEASE GENERIC kernel. > > The USB_VERBOSE option should be included in GENERIC. Otherwise, > any USB device whose driver follows the proper coding convention -- > that is, placing vendor and product information in /sys/usb/usbdevs > rather than in the driver itself -- will not print the name of the > vendor or device. > > The failure to print the name has nothing to do with the > malfunction in the device, which may be due to overruns. (The > buffer size currently allowed in the driver -- only 4K -- is extremely small.) > I'm not sure buffer size allowed in driver is 4K. Long time ago I increased Rx buffer size to 16KB from 2KB for 88178/88772. That change was essential to get 220Mbps for 88178/88772 on Rx. The patch was not made into 8.0-RELEASE though. You can try the patch from the following URL. http://svn.freebsd.org/viewvc/base/head/sys/dev/usb/net/if_axe.c?r1=197565&r2=197566&view=patch