From owner-freebsd-usb@FreeBSD.ORG Sun Oct 24 00:17:15 2010 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 6FAE51065697 for ; Sun, 24 Oct 2010 00:17:15 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 20F568FC16 for ; Sun, 24 Oct 2010 00:17:14 +0000 (UTC) Received: by yxl31 with SMTP id 31so1492713yxl.13 for ; Sat, 23 Oct 2010 17:17:14 -0700 (PDT) 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:organization :x-operation-sytem; bh=jKFbe8lSmg5GrJQbsxrphojCszuxxoZj0+7Jo4L+T40=; b=sS4eoIsbXliLrubqgo376dhh478j4rJBtstTd9YFABqejiqhAtjHaSOfvZVXYSbsAA NbE5ux9z0rliCovqiyX2byibGXOyDANdTzpzFoa6CTIA5QbHnTqBtgbbf3fBdlR6Ul/T hocCQg7j8INZ3/A+lXCvkZt6oZIN8/s3gPgug= 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 :organization:x-operation-sytem; b=rB+RHAaySQ0GY1YWP91frPCV0qtCcfYnhTYLzIKb+DCxZn6amM9U0lJKrsoHJd0x+z Vx5Wb4vc3CE/5227qqVU0qLkbCHenvboHCLxi2BhFDJnS3k69h4mXRC0wPF4wupsmE8z H54KvluvSvBR7oQsI9pwPyHbpURVVzLRxHIFc= Received: by 10.150.53.9 with SMTP id b9mr9464213yba.385.1287877801398; Sat, 23 Oct 2010 16:50:01 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id q41sm5040253ybk.13.2010.10.23.16.49.58 (version=SSLv3 cipher=RC4-MD5); Sat, 23 Oct 2010 16:49:59 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Sat, 23 Oct 2010 16:49:59 -0700 From: Weongyo Jeong Date: Sat, 23 Oct 2010 16:49:59 -0700 To: Hans Petter Selasky Message-ID: <20101023234959.GB1399@weongyo> References: <201010211502.o9LF2WYf086752@lava.sentex.ca> <201010212256.12800.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201010212256.12800.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-usb@freebsd.org Subject: Re: USB_ERR_TIMEOUT and USB_ERR_STALLED X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 00:17:15 -0000 On Thu, Oct 21, 2010 at 10:56:12PM +0200, Hans Petter Selasky wrote: > On Thursday 21 October 2010 17:02:30 Mike Tancsa wrote: > > I am trying to use RELENG_8 to monitor a number of APC upses and it > > seems when there are more than one, I start to see a lot of USB > > errors with the devices "coming and going" > > > > In the logs, I see a lot of > > > > > > # grep USB /var/log/all.log | tail > > Oct 21 10:24:05 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:25:47 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:27:45 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:29:44 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:30:35 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub5 > > Oct 21 10:32:35 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:37:04 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:38:38 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub4 > > Oct 21 10:44:14 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub5 > > Oct 21 10:45:09 upsmon1 root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub5 > > > > > > > > # usbconfig > > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=ON > > ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=ON > > ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=ON > > ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH > > (480Mbps) pwr=ON > > ugen3.2: at usbus3, cfg=0 md=HOST > > spd=HIGH (480Mbps) pwr=SAVE > > ugen0.2: > Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.3: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.4: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.5: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.6: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.7: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.8: at usbus3, cfg=0 md=HOST spd=HIGH > > (480Mbps) pwr=SAVE > > ugen3.9: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.10: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.11: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > > > > > This is with a kernel from Oct 4th, i386. Any idea what might be up > > or how to debug this ?? Setting > > hw.usb.debug to anything > 0 causes the system to almost hang under > > the load unfortunately. > > > > ---Mike > > Weongyo is working on a usbdump utility to monitor ongoing USB traffic. It's merged into HEAD not too lately. :-) regards, Weongyo Jeong