linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: problems with scsi_transport_fc and qla2xxx
@ 2006-02-28 16:54 Maxim Kozover
  0 siblings, 0 replies; 19+ messages in thread
From: Maxim Kozover @ 2006-02-28 16:54 UTC (permalink / raw)
  To: linux-scsi

Hi!
Most of the problem seems to be a QLogic driver problem.
HBAs are connected to target via FC switch.

1. If I have several LUNs on each HBA, with QLogic only 1 directory
per adapter (for LUN 0) is created in /sys/class/fc_remote_ports,
while with Emulex a directory for every LUN is created.

2. The situation I described occurs with QLogic only if the cable
connecting between HBA and switch is pulled out/in. If I
connect/disconnect the cable between switch and target, disks come
back.

3. With Emulex in both cases disks come back.

However, both with Emulex and QLogic stale directories in
/sys/classfc_remote_ports are left.
For example, with Emulex if I had in the beginning
rport-6:0-0  rport-6:0-1  rport-6:0-2  rport-7:0-0  rport-7:0-1  rport-7:0-2
then disconnected adapter 7, got
rport-6:0-0  rport-6:0-1  rport-6:0-2  rport-7:0-0  rport-7:0-2
(7-0-0 and 7-0-2 didn't disappear while 7-0-1 did)
connected 7 back
rport-6:0-0  rport-6:0-1  rport-6:0-2  rport-7:0-2  rport-7:0-4
rport-7:0-5 rport-7:0-6
(7-0-0 disappeared, but 7-0-2 is still here).

Thanks,

Maxim.

MK> Hi!
MK> I'm checking 2.6.16-rc5 with 2 QLogic 2312 adapters using qla2xxx
MK> driver from 2.6.16-rc5.
MK> As with earlier kernels, I think > 2.6.12 (since scsi_transport_fc
MK> gained functionality) I have the following problem.
MK> 2 scsi hosts available, 4 and 5 (for QLogic).
MK> I disconnect the cable from one of QLogic cards. After timeout I have
MK> the message
MK> rport-4:0-0: blocked FC remote port time out: removing target and saving binding
MK> and appropriate SCSI devices that came from adapter 4 disappear from
MK> /proc/scsi/scsi.
MK> So far, so good.
MK> I reconnect the cable, the directory
MK> /sys/class/fc_remote_ports/rport-4:0-1 appears along with the old
MK> ones rport-4:0-0 and rport-5:0-0, so currently I have 3.
MK> However, no automatic rescan appears on adapter 4.
MK> What's worse, if I try echo "0 1 0" > /sys/class/scsi_host/host4/scan
MK> the process is stuck.
MK> Please advise.

MK> Thanks,

MK> Maxim.


^ permalink raw reply	[flat|nested] 19+ messages in thread
* problems with scsi_transport_fc and qla2xxx
@ 2006-02-28 16:53 Maxim Kozover
  0 siblings, 0 replies; 19+ messages in thread
From: Maxim Kozover @ 2006-02-28 16:53 UTC (permalink / raw)
  To: linux-scsi

Hi!
I'm checking 2.6.16-rc5 with 2 QLogic 2312 adapters using qla2xxx
driver from 2.6.16-rc5.
As with earlier kernels, I think > 2.6.12 (since scsi_transport_fc
gained functionality) I have the following problem.
2 scsi hosts available, 4 and 5 (for QLogic).
I disconnect the cable from one of QLogic cards. After timeout I have
the message
rport-4:0-0: blocked FC remote port time out: removing target and saving binding
and appropriate SCSI devices that came from adapter 4 disappear from
/proc/scsi/scsi.
So far, so good.
I reconnect the cable, the directory
/sys/class/fc_remote_ports/rport-4:0-1 appears along with the old
ones rport-4:0-0 and rport-5:0-0, so currently I have 3.
However, no automatic rescan appears on adapter 4.
What's worse, if I try echo "0 1 0" > /sys/class/scsi_host/host4/scan
the process is stuck.
Please advise.

Thanks,

Maxim.


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

end of thread, other threads:[~2006-03-20 11:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1413265398.20060227150526@netvision.net.il>
     [not found] ` <978150825.20060227210552@netvision.net.il>
2006-03-01  6:14   ` problems with scsi_transport_fc and qla2xxx Andrew Morton
2006-03-01 20:25     ` Stefan Kaltenbrunner
2006-03-01 21:08       ` Andrew Vasquez
2006-03-02 16:32         ` Maxim Kozover
2006-03-02 17:38           ` Andrew Vasquez
2006-03-02 22:15             ` Maxim Kozover
2006-03-06 19:06               ` Andrew Vasquez
2006-03-06 20:00           ` Mike Snitzer
2006-03-06 20:09             ` Maxim Kozover
2006-03-06 21:28               ` Andrew Vasquez
2006-03-06 20:57                 ` Maxim Kozover
2006-03-06 21:09                 ` Maxim Kozover
     [not found]                   ` <20060306232831.GS6278@andrew-vasquezs-powerbook-g4-15.local>
     [not found]                     ` <1219491790.20060307124035@netvision.net.il>
     [not found]                       ` <20060307172227.GE6275@andrew-vasquezs-powerbook-g4-15.local>
     [not found]                         ` <1343850424.20060307231141@netvision.net.il>
     [not found]                           ` <20060308080050.GF9956@andrew-vasquezs-powerbook-g4-15.local>
     [not found]                             ` <20060308154341.GA1779@andrew-vasquezs-powerbook-g4-15.local>
     [not found]                               ` <1502511597.20060308213247@netvision.net.il>
     [not found]                                 ` <20060310231344.GB641@andrew-vasquezs-powerbook-g4-15.local>
2006-03-11 21:10                                   ` Re[8]: " Maxim Kozover
2006-03-12  9:28                                     ` Arjan van de Ven
2006-03-12 11:46                                       ` Maxim Kozover
2006-03-13 23:19                                     ` Andrew Vasquez
2006-03-20 10:45                                       ` Maxim Kozover
2006-02-28 16:54 Maxim Kozover
  -- strict thread matches above, loose matches on Subject: below --
2006-02-28 16:53 Maxim Kozover

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