Date: Mon, 18 Apr 2022 16:44:39 +0000 From: Mahesh Vardhamanaiah <maheshmv@juniper.net> To: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org> Cc: Steve Kiernan <stevek@juniper.net>, Justin Hibbits <jhibbits@juniper.net>, Kumara N Babu <bkumara@juniper.net>, Kamal Prasad <krprasad@juniper.net> Subject: xhci data toggle out of sync Message-ID: <PH0PR05MB778212B54B636F87C246F62AD5F39@PH0PR05MB7782.namprd05.prod.outlook.com>
next in thread | raw e-mail | index | archive | help
--_000_PH0PR05MB778212B54B636F87C246F62AD5F39PH0PR05MB7782namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, Need your help regarding an urgent issue where we are observing an issue w= ith Freebsd stable/12. The data toggles for BOT endpoint (DATA0/DATA1) are out of sync with respect to EP and the system experien= ces the READ(10) errors. The READ(10) error recovers within couple of retries most of the times but few cases we have observed that th= e 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 drivers no Juniper specific changes. This issue was never observed with Linux kernel 5.4.2 on the same HW suspec= ting if it's a xhci driver error recovery issue. 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 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: Please let us know is there a place holder to upload the traces and provide= a link here ? Thanks, Mahesh Juniper Business Use Only --_000_PH0PR05MB778212B54B636F87C246F62AD5F39PH0PR05MB7782namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:"Helvetica Neue";} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:11.0pt; font-family:"Calibri",sans-serif;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:= break-word"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hi all,<o:p></o:p></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A"> <br> <br> Need your help regarding an urgent issue where we are observing an is= sue with Freebsd stable/12. The data toggles for BOT endpoint <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A"> (DATA0/DATA1) are out of sync with = respect to EP and the system experiences the READ(10) err= ors. The READ(10) error recovers within <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A"> couple of retries most of the times= but few cases we have observed that the read retries gets exhausted = and system moves to unusable state <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A">(continuous g_vfs_done() errors) . We are= using Junos but the xhci driver etc.. are all pristine stable = 12 drivers no Juniper specific changes. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A">This issue was never observed with Linux = kernel 5.4.2 on the same HW suspecting if it’s a xhci driver error re= covery issue.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A"><br> Errors Seen on console<br> <br> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 28 cf 28 00 00 40 00<= br> <br> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an err= or<br> <br> (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain<br> <br> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 28 cf 28 00 00 40 00<= br> <br> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an err= or<br> <br> (da0:umass-sim0:0:0:0): Retrying command, 2 more tries remain<br> <br> FreeBSD/arm (Amnesiac) (ttyu0)<br> <br> login:<br> <br> <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A">Please let us know is there a place holde= r to upload the traces and provide a link here ?<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A">Thanks,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"He= lvetica Neue";color:#26282A">Mahesh<o:p></o:p></span></p> <br> <p class=3D"msipfooter30b3d538" align=3D"Center" style=3D"margin:0"><span s= tyle=3D"font-size:7.0pt;font-family:Calibri;color:#000000">Juniper Business= Use Only</span></p> </div> </body> </html> --_000_PH0PR05MB778212B54B636F87C246F62AD5F39PH0PR05MB7782namp_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <PH0PR05MB778212B54B636F87C246F62AD5F39>