public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: greg@enjellic.com
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
	scst-devel@lists.sourceforge.net, linux-driver@qlogic.com,
	linux-scsi@vger.kernel.org, vst@vlnb.net,
	Marcus Barrow <marcus.barrow@qlogic.com>
Subject: Re: Poisoning of Linux initiators on SCST reboot.
Date: Wed, 20 Aug 2008 15:30:58 -0700	[thread overview]
Message-ID: <20080820223058.GL10859@plap4-2.local> (raw)
In-Reply-To: <200808202113.m7KLDj6T015673@wind.enjellic.com>

On Wed, 20 Aug 2008, greg@enjellic.com wrote:

> 
> On Aug 13, 10:28pm, Andrew Vasquez wrote:
> } Subject: Re: Poisoning of Linux initiators on SCST reboot.
> 
> Good afternoon to everyone, hope the day is going well.
> 
> > Ok, we've verified and backported the three changes through to 2.6.24.
> > The patches in this order:
> > 
> >  [SCSI] qla2xxx: Add dev_loss_tmo_callbk/terminate_rport_io callback support.
> >  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5f3a9a207f1fccde476dd31b4c63ead2967d934f
> > 
> >  [SCSI] qla2xxx: Set an rport's dev_loss_tmo value in a consistent manner.
> >  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=85821c906cf3563a00a3d98fa380a2581a7a5ff1
> > 
> >  [PATCH 2/8] qla2xxx: Correct synchronization of software/firmware fcport states.
> >  http://article.gmane.org/gmane.linux.scsi/43971
> > 
> > apply cleanly to 2.6.26 (git-am clean), and with minor 'fuzz' (git-am
> > warns) while applying the first patch against 2.6.25 and 2.6.24.
> 
> We ran into an issue today which I wanted to bounce off everyone since
> it may be related.  If not there may be another issue to look at.
> 
> We were transitioning storage on a pair of our production boxes from
> an existing Linux SCSI target solution to SCST.  Previously the
> storage was being accessed as target 0/LUN1.  Under SCST the storage
> would be accessed as target 0/LUN0.
> 
> The target machine was upgraded and rebooted.  SCST loaded and
> initialized.  The MDS indicated the initiator and target were both
> logged into the zone.   So there would seem to be connectivity at the
> link layer between the initiator/target and the switch.
> 
> Unfortunately we cannot get a session established on the target for
> the initiator(s).  The initiators are running stock RHEL5 2.6.18
> kernels.
> 
> Enabling/disabling the interface on the target server results in the
> following messages on the initiators:
> 
> Aug 20 14:54:27 initiator kernel: rport-4:0-1: blocked FC remote port
> time out: saving binding
> 
> The following are also noted in the output of dmesg on the initiators:
> 
> scsi 4:0:0:0: timing out command, waited 22s
> 
> There is a remote port defined for the target server.  The port WWN
> and FCID match previous values.  The only difference is the LUN on
> which the storage is being delivered.
> 
> We tore down the SCST storage definition on the target and re-mapped
> the storage as LUN 1 but this had no affect on the situation.  That
> isn't really surprising since the problem appears be secondary to the
> initiator and target being unable to establish an N_PORT relationship.
> 
> I would be interested in any thoughts the group might have.  From the
> perspective of the initiators the behavior seems somewhat identical to
> what we experienced earlier.  The Qlogic driver is essentially
> 'poisoned' with respect to its ability to access the remote port which
> has seen a change in configuration.

These upstream changes are in the queue of updates to be pushed for
RHEL5.3.

Regards,
Andrew Vasquez

  reply	other threads:[~2008-08-20 22:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20 21:13 Poisoning of Linux initiators on SCST reboot greg
2008-08-20 22:30 ` Andrew Vasquez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-20 23:44 greg
2008-08-08 20:10 greg
2008-08-14  5:28 ` Andrew Vasquez
2008-08-14 13:53   ` James Bottomley
2008-08-14 16:14     ` Andrew Vasquez
2008-08-01 20:22 greg
2008-08-05 13:52 ` Andrew Vasquez
2008-07-28 20:40 greg
2008-07-29  1:34 ` Andrew Vasquez
2008-07-29 18:19   ` Andrew Vasquez
2008-07-24 17:50 greg
2008-07-25 13:11 ` Stanislaw Gruszka
2008-07-25 13:45 ` Andrew Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080820223058.GL10859@plap4-2.local \
    --to=andrew.vasquez@qlogic.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=greg@enjellic.com \
    --cc=linux-driver@qlogic.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=marcus.barrow@qlogic.com \
    --cc=scst-devel@lists.sourceforge.net \
    --cc=vst@vlnb.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox