From: Bart V. A. <bva...@ac...> - 2020-10-21 03:23:02
|
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </head> <body> <div class="moz-cite-prefix">On 10/20/20 2:00 PM, Tu, Rongqing wrote:<br> </div> <blockquote type="cite" cite="mid:CS1...@CS..."> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;}</style> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">Hello,</span></div> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">Does anyone see the similar error on srp initiator side like this? </span></div> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important"><br> </span></div> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">[Mon Oct 19 23:41:48 2020] sd 25:0:0:1: Power-on or device reset occurred</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">[Mon Oct 19 23:41:48 2020] sd 25:0:0:1: [sdk] tag#55 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">[Mon Oct 19 23:41:48 2020] sd 25:0:0:1: [sdk] tag#55 Sense Key : Unit Attention [current]</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">[Mon Oct 19 23:41:48 2020] sd 25:0:0:1: [sdk] tag#55 Add. Sense: Power on, reset, or bus device reset occurred</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">[Mon Oct 19 23:41:48 2020] sd 25:0:0:1: [sdk] tag#55 CDB: Write(16) 8a 00 00 00 00 00 00 00 37 00 00 00 01 00 00 00</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">[Mon Oct 19 23:41:48 2020] print_req_error: I/O error, dev sdk, sector 14080 flags 8801</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> </div> </blockquote> <p><br> </p> <p>I think these messages are reported by the Linux kernel SCSI initiator. From drivers/scsi/scsi_error.c:<br> </p> <p><br> </p> <p><font face="monospace"> if (sshdr->asc == 0x29) {<br> evt_type = SDEV_EVT_POWER_ON_RESET_OCCURRED;<br> sdev_printk(KERN_WARNING, sdev,<br> "Power-on or device reset occurred\n");<br> }</font><br> </p> <p><br> </p> <p>That kind of error should not happen while SCST is running. Was the SCST server perhaps rebooted? Is this a standalone or H.A. SCST setup? If the setup should survive power cycling of the SCST server, consider using multipathd at the initiator side.<br> </p> <p><br> </p> <blockquote type="cite" cite="mid:CS1...@CS..."> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> Also, how is daemon like srpt_mlx5_0-1 lunched? I saw over 1400 srpt_mlx5 daemons lunched at different days. Is that a problem?</div> </blockquote> <br> <p>It is known that the ib_srpt driver can create a large number of kernel threads. I agree that 1400 threads is too much so I have created a bug report to track this and assigned it to myself: <a class="moz-txt-link-freetext" href="https://github.com/bvanassche/scst/issues/33">https://github.com/bvanassche/scst/issues/33</a>.</p> <p><br> </p> <p>Bart.<br> </p> <p><br> </p> </body> </html> |