From owner-freebsd-usb@FreeBSD.ORG Thu Oct 21 20:55:02 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 3F95E1065670; Thu, 21 Oct 2010 20:55:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 854CC8FC0A; Thu, 21 Oct 2010 20:55:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=omSrwDgyMf70S47Fr5SNr0rQzcmIOo0IafWlB/wSLLo= c=1 sm=1 a=BJjCyyNTvkcA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=yc1GMiH63V9npsZAuQQA:9 a=1ELZ4b7q8BO3dwzp14bNOOOOlpAA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 39169967; Thu, 21 Oct 2010 22:54:59 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 21 Oct 2010 22:56:12 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010211502.o9LF2WYf086752@lava.sentex.ca> In-Reply-To: <201010211502.o9LF2WYf086752@lava.sentex.ca> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010212256.12800.hselasky@c2i.net> Cc: Weongyo Jeong Subject: Re: USB_ERR_TIMEOUT and USB_ERR_STALLED X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 20:55:02 -0000 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. --HPS