Bug 59601
Summary: | commit 97dec564fd4948e0e560869c80b76e166ca2a83e breaks communication with XYRATEX disk shelves | ||
---|---|---|---|
Product: | SCSI Drivers | Reporter: | Jack Hill (jackhill) |
Component: | QLOGIC QLA2XXX | Assignee: | scsi_drivers-qla2xxx |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | jackhill, saurav.kashyap |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | >2.6.38-rc2 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
dmesg output for good kernel with extended error reporting
dmest output for bad kernel with extended error reporting Patch for dumping the incoming packet to the driver. dmesg output with packet dumps Properly-set-the-tagging-for-commands |
Description
Jack Hill
2013-06-11 13:53:48 UTC
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 Created attachment 104971 [details]
dmesg output for good kernel with extended error reporting
Created attachment 104981 [details]
dmest output for bad kernel with extended error reporting
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 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 Created attachment 105401 [details]
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
Created attachment 106661 [details]
dmesg output with packet dumps
I have attached the dmesg output after applying the patch you provided.
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 Created attachment 106870 [details]
Properly-set-the-tagging-for-commands
Hi Jack,
Try this patch and see if this resolves this issue.
thanks,
~Saurav
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. Hi Jack, This patch http://marc.info/?l=linux-scsi&m=137365649318663&w=2 is submitted to upstream. Please close this BZ. thanks, ~Saurav Closing this bug since Saurav has submitted the patch upstream. |