Skip to contentSkip to conversation

New: Adaptec 6405H can not understand Queue full message from Disks.

Bug 196543 [email protected] 1 participant 4 messages Jul 31, 2017 – Aug 2, 2017 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=196543

            Bug ID: 196543
           Summary: Adaptec 6405H can not understand Queue full message
                    from Disks.
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 4.11.11(Fedora26 Kernel)/3.10.0(RHEL 7.3)
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hi

I happened something different caused by SAS HBA. Adaptec 6405H can not understand Queue full message send by Disks.

Perhaps, normally, any other HBA receive Queue full message from SAS disks, it will wait send some command to disks.
But Adaptec 6405H is not wait send command to disks,
so, happen disk time out.

I think driver or firmware's bug,because other HBA like using mpt3sas , is not happened.

If you need,perhaps I will give SAS bus trace.

Cheers.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 196543] Adaptec 6405H can not understand Queue full message from Disks.

https://bugzilla.kernel.org/show_bug.cgi?id=196543

--- Comment #1 from [email protected] ---

Quoted 25 lines · On Mon, 2017-07-31 at 02:26 +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=196543

            Bug ID: 196543
           Summary: Adaptec 6405H can not understand Queue full message
                    from Disks.
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 4.11.11(Fedora26 Kernel)/3.10.0(RHEL 7.3)
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hi

I happened something different caused by SAS HBA. Adaptec 6405H can not understand Queue full message send by Disks.

Quoted 8 lines

Perhaps, normally, any other HBA receive Queue full message from SAS disks, it will wait send some command to disks. But Adaptec 6405H is not wait send command to disks, so, happen disk time out.

I think driver or firmware's bug,because other HBA like using mpt3sas, is not happened.

If you need,perhaps I will give SAS bus trace.

A bus trace might help.  The problem with the analysis above is that QUEUE_FULL isn't handled in the driver or the transport, it's handled at the scsi mid-layer level since it's a SCSI status return.  There doesn't seem to be anywhere in the 94xx driver where it intercepts queue full, so for what you theorise to be the problem, the intercept would either have to be in firmware, or there would have to be some generic problem in the mid-layer.  We might be able to track it down, but we'd need more data.

James

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 196543] Adaptec 6405H can not understand Queue full message from Disks.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=196543

--- Comment #2 from Kazufumi Watanabe ([email protected]) --- Dear James

Thank you for your message.
I want give you result of sas bus trace,
but company do not give me grant permission of take data outside.

I think sorry to you not give data of bus trace.

Well, I can tell you what is happen.

Environment:
SAS HBA:
Microsemi Adaptec 6405H/7085H
(Other SAS HBA not happend.ex Broadcom 9300-8E Adaptec 1000-8E) OS:
Fedora26/CentOS7.3
openSUSE Leap 42.3

At install OS,when format partitions,
HBA send some commands to a SSD device(I don't know what command is send to a SSD device).

When device's queue is full,it return "queue full" message to HBA, but it was sending other command to device.
I think a situation remaining the same,so OS can not install to SSD device.

This problem is SAS HBA continue sending command when receive "queue full" message,
and kernel can not detect it.

Cheers
Kazufumi Watanabe

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 196543] Adaptec 6405H can not understand Queue full message from Disks.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=196543

Jack Wang ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Jack Wang ([email protected]) --- Hi Kazufumi,

Could you send out dmesg with logging_level=0xfff for scsi_host on microsemi HBA when queue full condition happens?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.