Date: Tue, 12 Feb 2019 01:06:11 -0700 From: Rebecca Cran <rebecca@bluestop.org> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: USB problems on -CURRENT (controller keeps getting reset) Message-ID: <etPan.5c627e73.cb8cf4d.1c49@bluestop.org>
next in thread | raw e-mail | index | archive | help
I=E2=80=99m having problems with USB devices on -CURRENT on my ThreadRipp= er system. The controller keeps on getting reset. I thought it might be r= elated to my iogear KVM, but disconnecting it doesn=E2=80=99t help. =46eb 12 00:59:47 photon kernel: xhci0: Resetting controller =46eb 12 00:59:47 photon kernel: usb=5Falloc=5Fdevice: set address 2 fail= ed (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 00:59:49 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 00:59:51 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 00:59:52 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 00:59:54 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 00:59:56 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 00:59:57 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 00:59:59 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:01 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:02 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:02 photon kernel: ugen0.2: <Unknown > at usbus0 (disconnec= ted) =46eb 12 01:00:03 photon kernel: uhub=5Freattach=5Fport: could not alloca= te new device =46eb 12 01:00:04 photon kernel: usb=5Falloc=5Fdevice: device init 2 fail= ed (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:04 photon kernel: ugen0.2: <Unknown > at usbus0 (disconnec= ted) =46eb 12 01:00:04 photon kernel: uhub=5Freattach=5Fport: could not alloca= te new device =46eb 12 01:00:05 photon kernel: usb=5Falloc=5Fdevice: device init 2 fail= ed (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:05 photon kernel: ugen0.2: <Unknown > at usbus0 (disconnec= ted) =46eb 12 01:00:05 photon kernel: uhub=5Freattach=5Fport: could not alloca= te new device =46eb 12 01:00:05 photon kernel: uhub0: at usbus0, port 1, addr 1 (discon= nected) =46eb 12 01:00:05 photon kernel: uhub0: <0x1022 XHCI root HUB, class 9/0,= rev 3.00/1.00, addr 1> on usbus0 =46eb 12 01:00:06 photon kernel: uhub0: 22 ports with 22 removable, self = powered =46eb 12 01:00:08 photon kernel: xhci0: Resetting controller =46eb 12 01:00:08 photon kernel: usb=5Falloc=5Fdevice: set address 2 fail= ed (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:09 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:11 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:13 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:15 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:16 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:18 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:19 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:21 photon kernel: usbd=5Freq=5Fre=5Fenumerate: addr=3D2, s= et address failed=21 (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:23 photon kernel: usbd=5Fsetup=5Fdevice=5Fdesc: getting de= vice descriptor at addr 2 failed, USB=5FERR=5FTIMEOUT =46eb 12 01:00:23 photon kernel: ugen0.2: <Unknown > at usbus0 (disconnec= ted) =46eb 12 01:00:23 photon kernel: uhub=5Freattach=5Fport: could not alloca= te new device =46eb 12 01:00:24 photon kernel: usb=5Falloc=5Fdevice: device init 2 fail= ed (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:24 photon kernel: ugen0.2: <Unknown > at usbus0 (disconnec= ted) =46eb 12 01:00:24 photon kernel: uhub=5Freattach=5Fport: could not alloca= te new device =46eb 12 01:00:25 photon kernel: usb=5Falloc=5Fdevice: device init 2 fail= ed (USB=5FERR=5FTIMEOUT, ignored) =46eb 12 01:00:25 photon kernel: ugen0.2: <Unknown > at usbus0 (disconnec= ted) =46eb 12 01:00:25 photon kernel: uhub=5Freattach=5Fport: could not alloca= te new device =46eb 12 01:00:25 photon kernel: uhub0: at usbus0, port 1, addr 1 (discon= nected) =46eb 12 01:00:25 photon kernel: uhub0: <0x1022 XHCI root HUB, class 9/0,= rev 3.00/1.00, addr 1> on usbus0 =46eb 12 01:00:26 photon kernel: uhub0: 22 ports with 22 removable, self = powered =46eb 12 01:00:28 photon kernel: xhci0: Resetting controller =E2=80=94=C2=A0 Rebecca Cran From owner-freebsd-current@freebsd.org Tue Feb 12 08:26:49 2019 Return-Path: <owner-freebsd-current@freebsd.org> Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A89914DC0A0 for <freebsd-current@mailman.ysv.freebsd.org>; Tue, 12 Feb 2019 08:26:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B0A777D0D for <freebsd-current@freebsd.org>; Tue, 12 Feb 2019 08:26:48 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 28F1F26015F; Tue, 12 Feb 2019 09:26:40 +0100 (CET) Subject: Re: USB problems on -CURRENT (controller keeps getting reset) To: Rebecca Cran <rebecca@bluestop.org>, FreeBSD Current <freebsd-current@freebsd.org> References: <etPan.5c627e73.cb8cf4d.1c49@bluestop.org> From: Hans Petter Selasky <hps@selasky.org> Message-ID: <a4a14c76-589c-131e-cae6-6eed6168d1a4@selasky.org> Date: Tue, 12 Feb 2019 09:24:15 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <etPan.5c627e73.cb8cf4d.1c49@bluestop.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 9B0A777D0D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.88)[-0.875,0]; IP_SCORE(-3.28)[ip: (-9.48), ipnet: 88.99.0.0/16(-4.66), asn: 24940(-2.23), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 12 Feb 2019 08:26:49 -0000 The USB timeout error might indicate an IRQ issue. Can you try setting: hw.usb.xhci.use_polling=1 In /boot/loader.conf and reboot. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?etPan.5c627e73.cb8cf4d.1c49>