From owner-freebsd-current@freebsd.org Tue Feb 12 08:06:15 2019 Return-Path: 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 3586614DB728 for ; Tue, 12 Feb 2019 08:06:15 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (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 DF4DE771C1 for ; Tue, 12 Feb 2019 08:06:13 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 931C6C59C for ; Tue, 12 Feb 2019 01:07:07 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZHw6Y4RTr8OL for ; Tue, 12 Feb 2019 01:07:07 -0700 (MST) Received: from macbex.int.bluestop.org.mail (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA for ; Tue, 12 Feb 2019 01:07:07 -0700 (MST) Date: Tue, 12 Feb 2019 01:06:11 -0700 From: Rebecca Cran To: FreeBSD Current Message-ID: Subject: USB problems on -CURRENT (controller keeps getting reset) MIME-Version: 1.0 X-Rspamd-Queue-Id: DF4DE771C1 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.86 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-2.89)[ip: (-9.71), ipnet: 96.64.0.0/11(-4.24), asn: 7922(-0.43), country: US(-0.07)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 08:06:15 -0000 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: 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: 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: 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: 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: 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: 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: 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 ; 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 ; 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 , FreeBSD Current References: From: Hans Petter Selasky Message-ID: 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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