linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] smartpqi: Fix timeout of smartpqi probe stage
@ 2018-10-12  3:13 Feng Li
  2018-10-19  8:02 ` Feng Li
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Li @ 2018-10-12  3:13 UTC (permalink / raw)
  To: Don Brace, James E.J. Bottomley, Martin K. Petersen,
	esc.storagedev, linux-scsi, linux-kernel

I use 'HPE Smart Array E208i-a SR Gen10 Controller', and pass through
the SAS controller from ESXi 6.0U1 to VM, which is installed CentOS 7.4/7.5.
The disk is not found.

The error log is "controller not ready after 30 seconds."

Add some logs, and could check the probe stage needs nearly 36s to match the
status.

Signed-off-by: Li Feng <fengli@smartx.com>
---
 drivers/scsi/smartpqi/smartpqi_sis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/smartpqi/smartpqi_sis.c
b/drivers/scsi/smartpqi/smartpqi_sis.c
index 5141bd4c9..bc7efdacb 100644
--- a/drivers/scsi/smartpqi/smartpqi_sis.c
+++ b/drivers/scsi/smartpqi/smartpqi_sis.c
@@ -59,7 +59,7 @@

 #define SIS_CTRL_KERNEL_UP 0x80
 #define SIS_CTRL_KERNEL_PANIC 0x100
-#define SIS_CTRL_READY_TIMEOUT_SECS 30
+#define SIS_CTRL_READY_TIMEOUT_SECS 90
 #define SIS_CTRL_READY_RESUME_TIMEOUT_SECS 90
 #define SIS_CTRL_READY_POLL_INTERVAL_MSECS 10

--
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] smartpqi: Fix timeout of smartpqi probe stage
  2018-10-12  3:13 [PATCH] smartpqi: Fix timeout of smartpqi probe stage Feng Li
@ 2018-10-19  8:02 ` Feng Li
  0 siblings, 0 replies; 2+ messages in thread
From: Feng Li @ 2018-10-19  8:02 UTC (permalink / raw)
  To: Don Brace, James E.J. Bottomley, Martin K. Petersen,
	esc.storagedev, linux-scsi, linux-kernel
  Cc: fengli

Just Ping.
This is a very serious issue. The OS boot from this raid controller
couldn't find bock devices after installing OS.

I think this patch should be merged asap.

Feng Li <lifeng1519@gmail.com> 于2018年10月12日周五 上午11:13写道:
>
> I use 'HPE Smart Array E208i-a SR Gen10 Controller', and pass through
> the SAS controller from ESXi 6.0U1 to VM, which is installed CentOS 7.4/7.5.
> The disk is not found.
>
> The error log is "controller not ready after 30 seconds."
>
> Add some logs, and could check the probe stage needs nearly 36s to match the
> status.
>
> Signed-off-by: Li Feng <fengli@smartx.com>
> ---
>  drivers/scsi/smartpqi/smartpqi_sis.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/smartpqi/smartpqi_sis.c
> b/drivers/scsi/smartpqi/smartpqi_sis.c
> index 5141bd4c9..bc7efdacb 100644
> --- a/drivers/scsi/smartpqi/smartpqi_sis.c
> +++ b/drivers/scsi/smartpqi/smartpqi_sis.c
> @@ -59,7 +59,7 @@
>
>  #define SIS_CTRL_KERNEL_UP 0x80
>  #define SIS_CTRL_KERNEL_PANIC 0x100
> -#define SIS_CTRL_READY_TIMEOUT_SECS 30
> +#define SIS_CTRL_READY_TIMEOUT_SECS 90
>  #define SIS_CTRL_READY_RESUME_TIMEOUT_SECS 90
>  #define SIS_CTRL_READY_POLL_INTERVAL_MSECS 10
>
> --
> 2.11.0



-- 
Thanks and Best Regards,
Feng Li(Alex)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-19  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12  3:13 [PATCH] smartpqi: Fix timeout of smartpqi probe stage Feng Li
2018-10-19  8:02 ` Feng Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).