From nobody Tue Apr 12 15:10:36 2022 X-Original-To: freebsd-hackers@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 179D81A985AA for ; Tue, 12 Apr 2022 15:10:49 +0000 (UTC) (envelope-from maheshm_v@yahoo.com) Received: from sonic317-26.consmr.mail.bf2.yahoo.com (sonic317-26.consmr.mail.bf2.yahoo.com [74.6.129.81]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kd8LH6Hbqz3q9Q for ; Tue, 12 Apr 2022 15:10:47 +0000 (UTC) (envelope-from maheshm_v@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649776241; bh=Af8UZfpPapQrDiGu+gmRq3R2L86LpO7OXi+uBf2lEYY=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=jgwvE43S2fly/AMwnfZ5tILCWV/ci0PAFYjq5Qvd6stviKtqLoWNHg/LB/eTTJZv0cMvxvIyWY4e+SPuP3mAJ+lI8DtXys5v9sOtQdq9I9iZNIJ6L9N0cyG1qamuO6SLFTPfj9RuM8m+lTe5xwwY1fLUethyO+nEHlY6UBDLEUhIpjIbgRhbq9Bo4Rx1BVsRVDDciByCHDwnskJNhU02ZkplM/odH10pvkVCyQIq0Iuiipv64evyjaFL9F9wkyKW+OPgR6SjxplIU+htaCsyXfGKHMGcnu4Tpr19NBgKIS2mIWzdfSXuIldZztbqK5bMeTgR3lo4bF0aXAa17UcDMg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649776241; bh=qIzhkxrmRQiRC3DQWDwi+frzj+Z6NGIblsFG7cDi5KK=; h=X-Sonic-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aBhdUxg8mp7qwvsHx6swZvlNv75UyDyOBaxdr_94TLjVj 4yBh1belGcjMwOeb5n3ZxiekLFmg.LXwcUOAf3SUuqidYX8v0WWueWdtUJuuZFvV5udg1olxlQmO DEIx1RlUSbDtuA2AfOMR0ZCJuNrSjPKEX8EqUX7gOl6s28wMtyP_vKBsomKj3LiBP.mMBYfBtyjk A.q8_tb7psIikW4hOpptfl8f1EVeaCfF1xdftx_Fc_CSJ43x324d816DrjsqMsC2un_l1vlr3Qy. N01aY8kochMxQ9SlruDUAtKR6Lbz8IexUFCPkEaYifn.voOcZuWbU0ofVTwFqbOJ9ijAf58QKgMr xPwrVydT1QKZzIX4zsQCkV3oWqfZpfca5BX.EJXmcfvtrCbE.rrD74N3ubFrgOOiAGKXAP9_VrEo donyIJENHb22VteTH5LYViYOGW2CleNYCIx6wiVNLgk2xpZzmDA_Q5j_KrGNmYrWJ X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Tue, 12 Apr 2022 15:10:41 +0000 Date: Tue, 12 Apr 2022 15:10:36 +0000 (UTC) From: mahesh mv To: "freebsd-hackers@freebsd.org" Message-ID: <1524993805.98701.1649776236883@mail.yahoo.com> Subject: xhci USB transaction error and subsequent recovery mechanism on Freebsd stable/12 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_98700_734778856.1649776236880" References: <1524993805.98701.1649776236883.ref@mail.yahoo.com> X-Mailer: WebService/1.1.20001 YMailNorrin X-Rspamd-Queue-Id: 4Kd8LH6Hbqz3q9Q X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=jgwvE43S; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of maheshm_v@yahoo.com designates 74.6.129.81 as permitted sender) smtp.mailfrom=maheshm_v@yahoo.com X-Spamd-Result: default: False [-3.86 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-0.87)[-0.870]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-0.99)[-0.992]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[74.6.129.81:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.6.129.81:from] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_98700_734778856.1649776236880 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, =C2=A0 Need you help regarding an urgent issue where we are observing an issue wit= h Freebsd stable/12. The DATA0/DATA1 are out of sync with respect to EP and= the system experiences the READ(10) errors. The READ(10) error recovers with in couple of retries most= of the times but few cases we have observed that the read retries gets exh= austed and =C2=A0system moves to unusable state (continuous g_vfs_done() errors) . We are using Junos but= the xhci driver etc.. are all pristine stable 12 drivers no Juniper specif= ic changes. =C2=A0This issue was never observed with Linux kernel 5.4.2 on the same HW. =C2=A0Errors Seen on console =C2=A0 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 28 cf 28 00 00 40 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 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 28 cf 28 00 00 40 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command, 2 more tries remain FreeBSD/arm (Amnesiac) (ttyu0) login: I can share the USB traces taken at the USB device if required. Thanks,Mahesh ------=_Part_98700_734778856.1649776236880 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi= all,

 

Need you help regarding an urgent iss= ue where we are observing an issue with Freebsd stable/12. The DATA0/DATA1 = are out of sync with respect to EP and the system experiences the

READ(10) e= rrors. The READ(10) error recovers with in couple of retries most of the ti= mes but few cases we have observed that the read retries gets exhausted and=  system moves

to unusable state (continuous g_vfs_done() errors) . We = are using Junos but the xhci driver etc.. are all pristine stable 12 driver= s no Juniper specific changes.

 This issue was never observed = with Linux kernel 5.4.2 on the same HW.

 Errors Seen on console

 =

= (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00= 00 28 cf 28 00 00 40 00

(da0:umass-sim0:0:0:0): CAM status: CCB request completed wi= th an error

(da0:umass-sim0:0:0:0= ): READ(10). CDB: 28 00 00 28 cf 28 00 00 40 00=

(da0:umass-sim0:0:0:0): CAM status: C= CB request completed with an error

(da0:umass-sim0:0:0:0): Retrying command, 2 more t= ries remain

login:


<= /div>
I can share the USB traces take= n at the USB device if required.

Thanks,
Mahesh
------=_Part_98700_734778856.1649776236880--