linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
@ 2013-06-11 13:53 bugzilla-daemon
  2013-06-11 18:23 ` [Bug 59601] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-11 13:53 UTC (permalink / raw)
  To: linux-scsi

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

           Summary: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks
                    communication with XYRATEX disk shelves
           Product: SCSI Drivers
           Version: 2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: QLOGIC QLA2XXX
        AssignedTo: scsi_drivers-qla2xxx@kernel-bugs.osdl.org
        ReportedBy: jackhill@jackhill.us
        Regression: Yes


My setup:

I have a

Fibre Channel: QLogic Corp. ISP2322-based 2Gb Fibre Channel to PCI-X HBA (rev
03)

Connected via 2Gb Fibre Channel to a NetApp branded disk shelf, model RA-1402.
The shelf has dual XYRATEX P/N: 106-00101+C0 Fribe Channel controllers. The
shelf has 14 SATA disks connected via Fibre Channel to SATA converters.

Prior to commit 97dec564fd4948e0e560869c80b76e166ca2a83e (as determined with
git bisect) Linux was able to see all the disks as well as the two XRATEX
controllers and read and write to them normally.

After the problem commit, niether the XYRATEX controllers nor the disks are
visible.

Here is an excerpt of the working dmesg output

"""
[    2.708225] QLogic Fibre Channel HBA Driver: 8.03.01-k6
[    2.708302]   alloc irq_desc for 19 on node -1
[    2.708304]   alloc kstat_irqs on node -1
[    2.708309] qla2xxx 0000:03:07.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[    2.708388] qla2xxx 0000:03:07.0: Found an ISP2322, irq 19, iobase
0xffffc900021fe000
[    2.709059] qla2xxx 0000:03:07.0: Configuring PCI space...
[    2.709415] qla2xxx 0000:03:07.0: Configure NVRAM parameters...
[    2.801997] qla2xxx 0000:03:07.0: Verifying loaded RISC code...
[    2.813685] FDC 0 is a post-1991 82077
[    2.832538] qla2xxx 0000:03:07.0: firmware: requesting ql2322_fw.bin
[    2.972588] qla2xxx 0000:03:07.0: Allocated (1180 KB) for firmware dump...
[    3.032548] scsi4 : qla2xxx
[    3.032854] qla2xxx 0000:03:07.0: 
[    3.032855]  QLogic Fibre Channel HBA Driver: 8.03.01-k6
[    3.032856]   QLogic QLE2360 - PCI-Express to 2Gb FC, Single Channel
[    3.032856]   ISP2322: PCI-X (66 MHz) @ 0000:03:07.0 hdma+, host#=4,
fw=3.03.28 IPX
[    3.313904] qla2xxx 0000:03:07.0: LIP reset occurred (f8f7).
[    3.345574] qla2xxx 0000:03:07.0: LIP occurred (f8f7).
[    3.452223] qla2xxx 0000:03:07.0: LIP reset occurred (f7f7).
[    3.482427] qla2xxx 0000:03:07.0: LIP occurred (f7f7).
[    3.544781] qla2xxx 0000:03:07.0: LOOP UP detected (2 Gbps).
[    3.856407] scsi 4:0:0:0: Enclosure         XYRATEX  RS-1402-SA-XNS1  3033
PQ: 0 ANSI: 3
[    3.859343] scsi 4:0:1:0: Enclosure         XYRATEX  RS-1402-SA-XNS1  3033
PQ: 0 ANSI: 3
[    3.863781] scsi 4:0:2:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.866454] scsi 4:0:3:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.869147] scsi 4:0:4:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.871834] scsi 4:0:5:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.874515] scsi 4:0:6:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.877196] scsi 4:0:7:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.879867] scsi 4:0:8:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.882539] scsi 4:0:9:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.885218] scsi 4:0:10:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.888035] scsi 4:0:11:0: Direct-Access     ST332082 0AS           SX .AAE
PQ: 0 ANSI: 3
[    3.890712] scsi 4:0:12:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.893391] scsi 4:0:13:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.896142] scsi 4:0:14:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
[    3.898820] scsi 4:0:15:0: Direct-Access     HITACHI  HDS725050KLA36SX AB0A
PQ: 0 ANSI: 3
"""

It would be super if the fix for this could be backported to 3.2.

Let me know if you need more information or would like me to test anything.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
@ 2013-06-11 18:23 ` bugzilla-daemon
  2013-06-17 14:04 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-11 18:23 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #1 from Saurav Kashyap <saurav.kashyap@qlogic.com>  2013-06-11 18:23:45 ---
HI Jack,
Please provide the driver logs for both good and bad case with
ql2xextended_error_logging=1. The commit you have mentioned don't effect 2G
cards.

Have you tried reverting the commit? Did it resolved the problem?

Thanks,
~Saurav

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
  2013-06-11 18:23 ` [Bug 59601] " bugzilla-daemon
@ 2013-06-17 14:04 ` bugzilla-daemon
  2013-06-17 14:05 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-17 14:04 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #2 from Jack Hill <jackhill@jackhill.us>  2013-06-17 14:04:52 ---
Created an attachment (id=104971)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=104971)
dmesg output for good kernel with extended error reporting

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
  2013-06-11 18:23 ` [Bug 59601] " bugzilla-daemon
  2013-06-17 14:04 ` bugzilla-daemon
@ 2013-06-17 14:05 ` bugzilla-daemon
  2013-06-17 14:14 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-17 14:05 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #3 from Jack Hill <jackhill@jackhill.us>  2013-06-17 14:05:31 ---
Created an attachment (id=104981)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=104981)
dmest output for bad kernel with extended error reporting

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-06-17 14:05 ` bugzilla-daemon
@ 2013-06-17 14:14 ` bugzilla-daemon
  2013-06-19 18:29 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-17 14:14 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #4 from Jack Hill <jackhill@jackhill.us>  2013-06-17 14:14:03 ---
Hi,

I have attached dmesg output from good ad bad kernels with extended error
logging.

Reverting the commit solved the problem. I was not able to revert the commit on
3.10-rc4 because it resulted in conficts, and I'm not familiar enough with that
code to resolve them by hand.

Best,
Jack

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-06-17 14:14 ` bugzilla-daemon
@ 2013-06-19 18:29 ` bugzilla-daemon
  2013-06-19 18:31 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-19 18:29 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #5 from Saurav Kashyap <saurav.kashyap@qlogic.com>  2013-06-19 18:29:46 ---
Hi Jack,
I am seeing "FCP I/O protocol failure (0x8/0x2)" messages in the failed logs.
We need more data on what is coming back to the driver. I am attaching a patch
that will dump that packet. Apply that patch, enable ql2xextended_error_logging
and share the logs.

thanks,
~Saurav

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-06-19 18:29 ` bugzilla-daemon
@ 2013-06-19 18:31 ` bugzilla-daemon
  2013-07-02 22:13 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-06-19 18:31 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #6 from Saurav Kashyap <saurav.kashyap@qlogic.com>  2013-06-19 18:31:38 ---
Created an attachment (id=105401)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=105401)
Patch for dumping the incoming packet to the driver.

Apply this patch, enable ql2xextended_error_logging and share the logs. This
dumps the pkt coming to the  driver.

Thanks,
~Saurav

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (5 preceding siblings ...)
  2013-06-19 18:31 ` bugzilla-daemon
@ 2013-07-02 22:13 ` bugzilla-daemon
  2013-07-02 22:15 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-02 22:13 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #7 from Jack Hill <jackhill@jackhill.us>  2013-07-02 22:13:28 ---
Created an attachment (id=106661)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=106661)
dmesg output with packet dumps

I have attached the dmesg output after applying the patch you provided.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (6 preceding siblings ...)
  2013-07-02 22:13 ` bugzilla-daemon
@ 2013-07-02 22:15 ` bugzilla-daemon
  2013-07-11 11:09 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-02 22:15 UTC (permalink / raw)
  To: linux-scsi

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





--- Comment #8 from Jack Hill <jackhill@jackhill.us>  2013-07-02 22:15:42 ---
Also, I think the commit that I claimed introduced the problem after my bisect
run was the wrong one, it appears to be the last good commit. I think the one
that introduces the bug is ff2fc42e74e43721310bff710416230aae6ce0b9

Sorry about that,
Jack

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (7 preceding siblings ...)
  2013-07-02 22:15 ` bugzilla-daemon
@ 2013-07-11 11:09 ` bugzilla-daemon
  2013-07-11 14:14 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-11 11:09 UTC (permalink / raw)
  To: linux-scsi

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

--- Comment #9 from Saurav Kashyap <saurav.kashyap@qlogic.com> ---
Created attachment 106870
  --> https://bugzilla.kernel.org/attachment.cgi?id=106870&action=edit
Properly-set-the-tagging-for-commands

Hi Jack,
Try this patch and see if this resolves this issue.

thanks,
~Saurav

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (8 preceding siblings ...)
  2013-07-11 11:09 ` bugzilla-daemon
@ 2013-07-11 14:14 ` bugzilla-daemon
  2013-07-19  8:31 ` bugzilla-daemon
  2013-07-19 15:54 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-11 14:14 UTC (permalink / raw)
  To: linux-scsi

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

Jack Hill <jackhill@jackhill.us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|                            |>2.6.38-rc2

--- Comment #10 from Jack Hill <jackhill@jackhill.us> ---
Saurav,

Yes, in my initial testing that patch does resolve the issue.

Thanks,
Jack

P.S. I set the kernel version field, becasue bugzilla was not letting me submit
this comment with it empty.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (9 preceding siblings ...)
  2013-07-11 14:14 ` bugzilla-daemon
@ 2013-07-19  8:31 ` bugzilla-daemon
  2013-07-19 15:54 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-19  8:31 UTC (permalink / raw)
  To: linux-scsi

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

--- Comment #11 from Saurav Kashyap <saurav.kashyap@qlogic.com> ---
Hi Jack,
This patch http://marc.info/?l=linux-scsi&m=137365649318663&w=2 is submitted to
upstream. Please close this BZ.

thanks,
~Saurav

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 59601] commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves
  2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
                   ` (10 preceding siblings ...)
  2013-07-19  8:31 ` bugzilla-daemon
@ 2013-07-19 15:54 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-19 15:54 UTC (permalink / raw)
  To: linux-scsi

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

Jack Hill <jackhill@jackhill.us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #12 from Jack Hill <jackhill@jackhill.us> ---
Closing this bug since Saurav has submitted the patch upstream.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

end of thread, other threads:[~2013-07-19 15:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11 13:53 [Bug 59601] New: commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves bugzilla-daemon
2013-06-11 18:23 ` [Bug 59601] " bugzilla-daemon
2013-06-17 14:04 ` bugzilla-daemon
2013-06-17 14:05 ` bugzilla-daemon
2013-06-17 14:14 ` bugzilla-daemon
2013-06-19 18:29 ` bugzilla-daemon
2013-06-19 18:31 ` bugzilla-daemon
2013-07-02 22:13 ` bugzilla-daemon
2013-07-02 22:15 ` bugzilla-daemon
2013-07-11 11:09 ` bugzilla-daemon
2013-07-11 14:14 ` bugzilla-daemon
2013-07-19  8:31 ` bugzilla-daemon
2013-07-19 15:54 ` bugzilla-daemon

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).