From owner-freebsd-hardware@freebsd.org Fri Nov 23 17:51:44 2018 Return-Path: Delivered-To: freebsd-hardware@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 57AA8114D7DF; Fri, 23 Nov 2018 17:51:44 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 692336E4FE; Fri, 23 Nov 2018 17:51:42 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E8A2321C4F; Fri, 23 Nov 2018 12:51:41 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 23 Nov 2018 12:51:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:cc:subject:message-id:mime-version:content-type; s= fm1; bh=SlZ3HUSPPvp93IxOgZlrJwa+x1E9xEOxwAJRu8TqJr4=; b=a7zg0IdB RkznE6qYJTRTyHJrswXgQoMuiXpyE3mpUdCluteTQgbDvSFhpLI2GE67OBETRWkB XdgfiXsty3m0wDGStbibUYvTY7EUcVazChGULtYa+/6iZUioFEmxmtqNGXOe3O6j k6asLYkTljK+BdxILYSnRlivZlekt2aIpLUI5qzhumq4UYJUYtaKAlsAVMJNNQeW aNNI9SQAwHJch8R6b6ey/+wYtRYbXoE9GCIaQRO8g9k5UBj833kRdajLgFrhnwEO feFAohu1yRv1fbhKnNE//GMoYgPXc/HWHKBBd+24iQkSDv2g5jjpTZBQOR6yGzoZ CRCWXUNAZTxnSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=SlZ3HUSPPvp93IxOgZlrJwa+x1E9x EOxwAJRu8TqJr4=; b=erpl6jMcgAl/klGoPHWxhc97yPCTIfYlv8ECUCcVmlpch I6Ufb7FaciIeKHWDA2NppSF9X31a+NQhyPfGYUzbunzeo5hua7xN8qlotF/bQwLy 3yYyf9LJkvpmVV2/4Q5jFmGwmVoOGrwxdV77kPblON/qQIrNNRwaSjg8D/66M415 k/+Y4y0ztR5geAkCsNiu+N3HZxbyhkGUoJg8+jUX+KorqnMofDYCtUhHHQ0FRP+k SQDb9bWCHJTi7JFK9ozM4wR7i+dbG4Y2K4Ni3uClE2XNXeWcD8v7yVQgdiUz3Fgy Nfn2cQ1adVm7URFR9N3IK41Qe2mE5Akm2osiStBpg== X-ME-Sender: X-ME-Proxy: Received: from rpi3.zyxst.net (rpi3.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 60246102ED; Fri, 23 Nov 2018 12:51:40 -0500 (EST) Date: Fri, 23 Nov 2018 17:51:37 +0000 From: tech-lists To: freebsd-hardware@freebsd.org Cc: freebsd-questions@freebsd.org Subject: kernel: uhub_reattach_port: giving up port reset - device vanished Message-ID: <20181123175136.GA37629@rpi3.zyxst.net> Mail-Followup-To: freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 692336E4FE X-Spamd-Result: default: False [-7.18 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net,messagingengine.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[zyxst.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; RCVD_IN_DNSWL_LOW(-0.10)[28.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; IP_SCORE(-3.60)[ip: (-9.38), ipnet: 66.111.4.0/24(-4.66), asn: 11403(-3.89), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 17:51:44 -0000 Hi, On a 12.0-BETA2 system, am seeing lots of this in /var/log/messages: uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished last message repeated 496 times There's only two things usb on this machine, a usb3 pci card (which has nothing plugged into it) and a usb2 wireless key plugged into the usb system built into the motherboard. It's detected as run0. The device works fine, doesn't drop packets. How can I debug this? Should I upgrade to 12-PRERELEASE (or whatever the latest is) first? thanks, -- J. From owner-freebsd-hardware@freebsd.org Sat Nov 24 08:42:58 2018 Return-Path: Delivered-To: freebsd-hardware@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 3BF1D1146FFC; Sat, 24 Nov 2018 08:42:58 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 328C06EB38; Sat, 24 Nov 2018 08:42:56 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (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 7544A2602C7; Sat, 24 Nov 2018 09:42:47 +0100 (CET) Subject: Re: kernel: uhub_reattach_port: giving up port reset - device vanished To: freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org References: <20181123175136.GA37629@rpi3.zyxst.net> From: Hans Petter Selasky Message-ID: <3ccadeb1-274f-f1fe-dba7-52f2dca76db4@selasky.org> Date: Sat, 24 Nov 2018 09:42:12 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20181123175136.GA37629@rpi3.zyxst.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 328C06EB38 X-Spamd-Result: default: False [-6.21 / 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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MX_GOOD(-0.01)[mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.92)[-0.922,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-2.98)[ip: (-8.56), ipnet: 2a01:4f8::/29(-3.49), asn: 24940(-2.83), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2018 08:42:58 -0000 On 11/23/18 6:51 PM, tech-lists wrote: > Hi, > > On a 12.0-BETA2 system, am seeing lots of this in /var/log/messages: > > uhub_reattach_port: giving up port reset - device vanished > uhub_reattach_port: giving up port reset - device vanished > uhub_reattach_port: giving up port reset - device vanished > > last message repeated 496 times > > There's only two things usb on this machine, a usb3 pci card (which has > nothing plugged into it) and a usb2 wireless key plugged into the usb > system built into the motherboard. It's detected as run0. The device > works fine, doesn't drop packets. > > How can I debug this? Should I upgrade to 12-PRERELEASE (or whatever the > latest is) first? Hi, There hasn't been any USB changes in this area. Likely you have a broken or unsupported USB device, which doesn't enumerate properly. I see this on my computer with a USB bluetooth device, which because it doesn't receive valid firmware at first boot, becomes in-accessible. Maybe you can disable some such USB devices in the BIOS. --HPS From owner-freebsd-hardware@freebsd.org Sat Nov 24 09:04:19 2018 Return-Path: Delivered-To: freebsd-hardware@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 4312B1148055; Sat, 24 Nov 2018 09:04:19 +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 9F2AD6FB0A; Sat, 24 Nov 2018 09:04:18 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (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 1B8A82602D1; Sat, 24 Nov 2018 10:04:15 +0100 (CET) Subject: Re: kernel: uhub_reattach_port: giving up port reset - device vanished From: Hans Petter Selasky To: freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org References: <20181123175136.GA37629@rpi3.zyxst.net> <3ccadeb1-274f-f1fe-dba7-52f2dca76db4@selasky.org> Message-ID: <7f31c23a-aedf-e532-b16d-f0d5a0edbbcf@selasky.org> Date: Sat, 24 Nov 2018 10:03:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <3ccadeb1-274f-f1fe-dba7-52f2dca76db4@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 9F2AD6FB0A X-Spamd-Result: default: False [-6.71 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.44)[ip: (-9.53), ipnet: 88.99.0.0/16(-4.81), asn: 24940(-2.81), country: DE(-0.02)]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2018 09:04:19 -0000 On 11/24/18 9:42 AM, Hans Petter Selasky wrote: > On 11/23/18 6:51 PM, tech-lists wrote: >> Hi, >> >> On a 12.0-BETA2 system, am seeing lots of this in /var/log/messages: >> >> uhub_reattach_port: giving up port reset - device vanished >> uhub_reattach_port: giving up port reset - device vanished >> uhub_reattach_port: giving up port reset - device vanished >> >> last message repeated 496 times >> >> There's only two things usb on this machine, a usb3 pci card (which has >> nothing plugged into it) and a usb2 wireless key plugged into the usb >> system built into the motherboard. It's detected as run0. The device >> works fine, doesn't drop packets. >> >> How can I debug this? Should I upgrade to 12-PRERELEASE (or whatever the >> latest is) first? > > Hi, > > There hasn't been any USB changes in this area. Likely you have a broken > or unsupported USB device, which doesn't enumerate properly. I see this > on my computer with a USB bluetooth device, which because it doesn't > receive valid firmware at first boot, becomes in-accessible. Maybe you > can disable some such USB devices in the BIOS. > > --HPS > BTW: There are some USB knobs to disable USB enumeration: sysctl -a | grep disable_enumeration --HPS