Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 471269

Summary: [QLogic 5.3 bug] qla2xxx - No NPIV for Loop connections.
Product: Red Hat Enterprise Linux 5 Reporter: Marcus Barrow <mbarrow>
Component: kernelAssignee: Marcus Barrow <mbarrow>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: high    
Version: 5.3CC: andrew.vasquez, andriusb, berthiaume_wayne, coughlan, mgahagan, mikeda, qlogic-redhat-ext, seokmann.ju, syeghiay
Target Milestone: rcKeywords: OtherQA, Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 19:59:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 442946    
Bug Blocks: 415811    
Attachments:
Description Flags
disable vports in loopmode none

Description Marcus Barrow 2008-11-12 18:39:10 UTC
FIbre channel does not support NPIV, virtual nports, for arbitrated loop connections, only for point to point connections.

This simple patch sets the value for maximum virtual ports to an acceptable value for the firmware.

This patch applies and builds cleanly with 2.6.18-122 and is observed to fix this problem on the NEC machine that reported it and also in testing at QLogic labs.

Comment 1 Andrius Benokraitis 2008-11-12 18:51:38 UTC
I don't think this qualifies as a blocker.. will have to defer to Tom on this.

Comment 2 Andrius Benokraitis 2008-11-12 18:52:17 UTC
Marcus, I don't see a patch attached as well...

Comment 3 Marcus Barrow 2008-11-12 19:03:33 UTC

The patch is on the way. When I format it for posting to the kernel list I include the BZ number etc. So I need to create the BZ first.

Without this patch machines who's HBA are set to "Loop" mode will not be able to find their storage. The NEC machines seem to fall in this category and perhaps others too.

THis problem was reported by NEC in BZ 442946, which was the firmware update BZ. It seemed appropriate each bug to have it's own BZ, but if not I can re-use the other one.

Comment 4 Marcus Barrow 2008-11-12 19:27:16 UTC
Created attachment 323377 [details]
disable vports in loopmode

Patch to disable vports in loop mode and bump the version to: 8.02.00.05.05.03-k

Comment 5 Andrius Benokraitis 2008-11-12 20:01:39 UTC
OK - I'll move the original bug (bug 442946) to VERIFIED then...

Comment 6 Munehiro IKEDA 2008-11-12 23:55:42 UTC
I confirmed the patch works well on the NEC machine which had showed the issue.
All expected LUNs are visible on both of only-4G-HBA and 2G/4G-HBA mixed condition.

Comment 7 Marcus Barrow 2008-11-13 00:54:22 UTC
Changed back to 'all platforms". THis bug was found on an IA64 system, but would effect any system whose HBA with a connection  in Arbitrated Loop mode.

Comment 9 Don Zickus 2008-11-18 21:21:28 UTC
in kernel-2.6.18-124.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 11 Munehiro IKEDA 2008-11-25 01:25:25 UTC
kernel-2.6.18-124.el5 works well on NEC ia64 machine.
I confirmed both connection mode as Loop and Point-to-Point, and it's perfect.

Comment 13 errata-xmlrpc 2009-01-20 19:59:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0225.html