linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* qla2xxx: issues when creating a new target port
@ 2013-03-03 13:49 Chris Boot
  2013-03-05 21:52 ` Nicholas A. Bellinger
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Boot @ 2013-03-03 13:49 UTC (permalink / raw)
  To: andrew.vasquez, linux-driver, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org

Hi all,

When creating a new target port in targetcli (/qla2xxx create 21:0x:...), and I have nothing plugged-in to the port, the creation process takes quite some time. After a few seconds, the kernel prints a message saying "Cable is unplugged...". So far so good.

It seems that when the target is created, it comes up in the 'enabled' state, regardless of me having set 'auto_enable_tpgt=false'. Running 'disable' from targetcli seems to try to bring the link up again ("Performing ISP error recovery" then "Cable is unplugged...") and the target remains in the enabled state.

If I then add LUNs and ACLs to the target, everything appears OK, but plugging the target port into an initiator gives odd behaviour. The initiator spends a very long time scanning the target and eventually times out and finds no LUNs. The only way to get the port working again is to save the configuration and reboot the target server, which is very frustrating.

I'm using targetcli as found in Debian wheezy with kernel 3.8.0, though I have had this problem for a little while now...

Cheers,
Chris

-- 
Chris Boot
bootc@bootc.net


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

end of thread, other threads:[~2013-03-30 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 13:49 qla2xxx: issues when creating a new target port Chris Boot
2013-03-05 21:52 ` Nicholas A. Bellinger
2013-03-05 22:15   ` Chris Boot
2013-03-08 21:25     ` Chris Boot
2013-03-30 21:42       ` Chris Boot

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