From nobody Wed Apr 20 18:40:19 2022 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C9A3311CB64E for ; Wed, 20 Apr 2022 18:40:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kk8cQ1qY6z4m1Y; Wed, 20 Apr 2022 18:40:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.165] (unknown [176.74.213.87]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D6C45260276; Wed, 20 Apr 2022 20:40:20 +0200 (CEST) Message-ID: <9464ddc3-7daf-1e59-dbac-24f089d52fd7@selasky.org> Date: Wed, 20 Apr 2022 20:40:19 +0200 List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: xhci data toggle out of sync Content-Language: en-US To: Mahesh Vardhamanaiah , Kamal Prasad , "freebsd-usb@freebsd.org" Cc: Steve Kiernan , Justin Hibbits , Kumara N Babu , Kristof Provost , "Bjoern A. Zeeb" References: <3151db6c-80ae-8736-dcdb-9fecaf028318@selasky.org> <321043e7-913e-90ae-f506-bfdb0bd9c454@selasky.org> <7318ff17-0fdd-b4e6-97b9-e653ed1474bb@selasky.org> <8ad18fa2-e758-4426-1680-58eb6bcaf638@selasky.org> From: Hans Petter Selasky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Kk8cQ1qY6z4m1Y X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-2.43 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.26)[-0.263]; RCPT_COUNT_SEVEN(0.00)[8]; NEURAL_HAM_MEDIUM(-0.87)[-0.872]; MLMMJ_DEST(0.00)[freebsd-usb]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Mahesh, I don't see any "Could not XXX" messages, so then the XHCI part should be fine, and if you verify using Beagle, I expect there to be no more data toggle mismatches, but I may be wrong. --HPS On 4/20/22 19:48, Mahesh Vardhamanaiah wrote: > Please find the few of the debug logs added in around the time problem is seen. > > > Tue Apr 19 23:37status = 0x6, xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 0 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 1 status = 0x6, xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 0 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 1 > > FreeBSD/arm (Amnesiac) (ttyu0) > > login: err = 0x12 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 0 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 1 err = 0x12 xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 0 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 1 err = 0x12 xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 0 > > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 d7 79 a8 00 00 80 00 > (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain > xhci_configure_reset_endpoint() called epno = 2, ep state = 3, drop = 1 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 1 status = 0x6, xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 0 > xhci_configure_reset_endpoint() called epno = 3, ep state = 3, drop = 1