Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 15:10:36 +0000 (UTC)
From:      mahesh mv <maheshm_v@yahoo.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   xhci USB transaction error and subsequent recovery mechanism on Freebsd stable/12
Message-ID:  <1524993805.98701.1649776236883@mail.yahoo.com>
References:  <1524993805.98701.1649776236883.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_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

<html><head></head><body><div class=3D"ydpb8b474b1yahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px=
;"><div dir=3D"ltr" data-setdir=3D"false"><div><div class=3D"ydpf012ade0yiv=
7612303694ydp388e27adyahoo-style-wrap" style=3D"font-family: Helvetica Neue=
, Helvetica, Arial, sans-serif;"><span style=3D"color: rgb(38, 40, 42);">Hi=
 all,</span><br clear=3D"none"></div><div id=3D"ydpf012ade0yiv7612303694ydp=
58e5b858yahoo_quoted_0000542683" class=3D"ydpf012ade0yiv7612303694ydp58e5b8=
58yahoo_quoted" style=3D"font-family: Helvetica Neue, Helvetica, Arial, san=
s-serif;"><div style=3D"color: rgb(38, 40, 42);"><div id=3D"ydpf012ade0yiv7=
612303694ydp58e5b858yiv6691247323"><div class=3D"ydpf012ade0yiv7612303694yd=
p58e5b858yiv6691247323WordSection1"><p class=3D"ydpf012ade0yiv7612303694ydp=
58e5b858yiv6691247323MsoNormal">&nbsp;</p><p class=3D"ydpf012ade0yiv7612303=
694ydp58e5b858yiv6691247323MsoNormal">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</p><p cla=
ss=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoNormal">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=
 &nbsp;system moves</p><p class=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv66=
91247323MsoNormal">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.</p><div>&nbsp;This issue was never observed =
with Linux kernel 5.4.2 on the same HW.</div><p class=3D"ydpf012ade0yiv7612=
303694ydp58e5b858yiv6691247323MsoNormal">&nbsp;Errors Seen on console</p><p=
 class=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoNormal">&nbsp;=
</p><p class=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoNormal">=
<span style=3D"font-size: 10.5pt; color: rgb(51, 51, 51); background-image:=
 initial; background-position: initial; background-size: initial; backgroun=
d-repeat: initial; background-attachment: initial; background-origin: initi=
al; background-clip: initial;">(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00=
 00 28 cf 28 00 00 40 00</span><span lang=3D"EN-IN"></span></p><p class=3D"=
ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoNormal"><span style=3D"f=
ont-size: 10.5pt; color: rgb(51, 51, 51); background-image: initial; backgr=
ound-position: initial; background-size: initial; background-repeat: initia=
l; background-attachment: initial; background-origin: initial; background-c=
lip: initial;">(da0:umass-sim0:0:0:0): CAM status: CCB request completed wi=
th an error</span><span lang=3D"EN-IN"></span></p><p class=3D"ydpf012ade0yi=
v7612303694ydp58e5b858yiv6691247323MsoNormal"><span style=3D"font-size: 10.=
5pt; color: rgb(51, 51, 51); background-image: initial; background-position=
: initial; background-size: initial; background-repeat: initial; background=
-attachment: initial; background-origin: initial; background-clip: initial;=
">(da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain</span><span=
 lang=3D"EN-IN"></span></p><p class=3D"ydpf012ade0yiv7612303694ydp58e5b858y=
iv6691247323MsoNormal"><span style=3D"font-size: 10.5pt; color: rgb(51, 51,=
 51); background-image: initial; background-position: initial; background-s=
ize: initial; background-repeat: initial; background-attachment: initial; b=
ackground-origin: initial; background-clip: initial;">(da0:umass-sim0:0:0:0=
): READ(10). CDB: 28 00 00 28 cf 28 00 00 40 00</span><span lang=3D"EN-IN">=
</span></p><p class=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoN=
ormal"><span style=3D"font-size: 10.5pt; color: rgb(51, 51, 51); background=
-image: initial; background-position: initial; background-size: initial; ba=
ckground-repeat: initial; background-attachment: initial; background-origin=
: initial; background-clip: initial;">(da0:umass-sim0:0:0:0): CAM status: C=
CB request completed with an error</span><span lang=3D"EN-IN"></span></p><p=
 class=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoNormal"><span =
style=3D"font-size: 10.5pt; color: rgb(51, 51, 51); background-image: initi=
al; background-position: initial; background-size: initial; background-repe=
at: initial; background-attachment: initial; background-origin: initial; ba=
ckground-clip: initial;">(da0:umass-sim0:0:0:0): Retrying command, 2 more t=
ries remain</span><span lang=3D"EN-IN"></span></p><p class=3D"ydpf012ade0yi=
v7612303694ydp58e5b858yiv6691247323MsoNormal"><span style=3D"font-size: 10.=
5pt; color: rgb(51, 51, 51); background-image: initial; background-position=
: initial; background-size: initial; background-repeat: initial; background=
-attachment: initial; background-origin: initial; background-clip: initial;=
">FreeBSD/arm (Amnesiac) (ttyu0)</span><span lang=3D"EN-IN"></span></p><p c=
lass=3D"ydpf012ade0yiv7612303694ydp58e5b858yiv6691247323MsoNormal"><span st=
yle=3D"font-size: 10.5pt; color: rgb(51, 51, 51); background-image: initial=
; background-position: initial; background-size: initial; background-repeat=
: initial; background-attachment: initial; background-origin: initial; back=
ground-clip: initial;">login:</span></p></div></div></div></div></div><br><=
/div><div dir=3D"ltr" data-setdir=3D"false">I can share the USB traces take=
n at the USB device if required.</div><div dir=3D"ltr" data-setdir=3D"false=
"><br></div><div dir=3D"ltr" data-setdir=3D"false">Thanks,</div><div dir=3D=
"ltr" data-setdir=3D"false">Mahesh</div></div></body></html>
------=_Part_98700_734778856.1649776236880--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1524993805.98701.1649776236883>