Bug 651455 - scsi_transport_fc: fc_user_scan can loop forever, needs mutex with rport list changes [rhel-5.3.z]
Summary: scsi_transport_fc: fc_user_scan can loop forever, needs mutex with rport list...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Jiri Pirko
QA Contact: Gris Ge
URL:
Whiteboard:
Depends On: 515176
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-09 15:57 UTC by RHEL Program Management
Modified: 2015-05-05 01:21 UTC (History)
17 users (show)

Fixed In Version: kernel-2.6.18-128.28.1.el5
Doc Type: Bug Fix
Doc Text:
Due to an error in the scsi_transport_fc module, an SCSI scan could get stuck in an infinite loop. With this update, an upstream patch has been applied to resolve this issue, and SCSI scans are now finished as expected.
Clone Of:
Environment:
Last Closed: 2011-01-13 08:19:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0140 0 normal SHIPPED_LIVE kernel bug fix update 2011-01-13 08:18:56 UTC

Description RHEL Program Management 2010-11-09 15:57:35 UTC
This bug has been copied from bug #515176 and has been proposed
to be backported to 5.3 z-stream (EUS).

Comment 3 Jiri Pirko 2010-12-01 23:16:02 UTC
in kernel-2.6.18-128.28.1.el5

linux-2.6-scsi-scsi_transport_fc-fc_user_scan-correction.patch

Comment 9 Gris Ge 2011-01-05 04:33:04 UTC
Still cannot reproduce this issue.

I changed the zoning configure which present 3 rports (path) to host.
Then performing continuous rescan with 1s interval:
echo "- - -" >/sys/class/scsi_host/host4/scan
echo "- - -" >/sys/class/scsi_host/host5/scan

During the rescan, I add a zone into a zoneset which present a new rport to host.
Host successfully found the new path and add the new scsi device.

I have performed 2435 times rescan, but none of them went loop forever.

I will keep this one as Sanity Only until we got detailed and practicable reproduce step.

Comment 10 Jaromir Hradilek 2011-01-12 14:43:54 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Due to an error in the scsi_transport_fc module, an SCSI scan could get stuck in an infinite loop. With this update, an upstream patch has been applied to resolve this issue, and SCSI scans are now finished as expected.

Comment 12 errata-xmlrpc 2011-01-13 08:19:14 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/RHBA-2011-0140.html


Note You need to log in before you can comment on or make changes to this bug.