Date: Tue, 2 Nov 2010 02:48:59 +0530 From: Penta Upa <bsdboot@gmail.com> To: Matthew Jacob <mj@feral.com> Cc: freebsd-scsi@freebsd.org Subject: Re: Problems getting target mode to work with isp driver Message-ID: <AANLkTi=3agbZOT6e_Yx6Zj=J6h7dp94hTS2v01CuYho7@mail.gmail.com> In-Reply-To: <AANLkTinNgHbOpCm9eZsH2FOKbA%2BXeS9NpyG4GEDJ6PyB@mail.gmail.com> References: <AANLkTinc7LYQBXZ7TYwmTgsEU-uWrG_TW5eEoX7K7H48@mail.gmail.com> <4CC75FAE.9060708@feral.com> <4CC7AB7E.3050705@feral.com> <AANLkTi=Jqu36_aegWmu_vO3DetxHQRK2f4=BOV2ZfaF7@mail.gmail.com> <4CC8B62E.1090506@feral.com> <AANLkTinNgHbOpCm9eZsH2FOKbA%2BXeS9NpyG4GEDJ6PyB@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000e0cd2dc0a51a1fa0494045b61 Content-Type: text/plain; charset=ISO-8859-1 Hi Matthew, I attached the Freebsd target and the linux initiator to a Brocade silkworm 3200. Additionally i have moved the 24xx card to the freebsd target. The current setup on the target and initiator is freebsd (8.1) -> 2340 and 2460 hba's linux (RHEL) -> 2342 HBA Device hints used are hint.isp.0.fullduplex="1" hint.isp.0.iid=75 With the switch configuration target mode for 24xx works nicely. No issues so far. However point to point doesn't work with the 24xx target too. Using the 23xx card for the target i have seen device timeouts on the initiator side after which target mode stops working. I have yet to get a scenario where i can simulate the problem consistently. Attached (iniitatorerrors.txt) contains the errors reported on the linux side. On the FreeBSD side no errors were reported. I did find the following warnings reported by the target (both with and with the switch configuration) after every port logout (done by removing the qla2xxx linux driver) by the initiator Oct 31 20:00:13 scache kernel: isp0: isp_del_wwn_entry: Chan 0 IID 0x2100001b320f3212 N-Port Handle 0x0000 Port ID 0xffffff cannot be found to be cleared Oct 31 20:00:13 scache kernel: isp0: Chan 0 [0]: hdl 0x0 PROB al0 tgt --- INI 0x011000 => UNK 0x000000; WWNN 0x2000001b320f3212 WWPN 0x2100001b320f3212 Oct 31 20:00:13 scache kernel: isp0: Chan 0 [126]: hdl 0x7e PROB al0 tgt --- UNK 0xfffffe => UNK 0xfffffe; WWNN 0x1000006069c0766f WWPN 0x2002006069c0766f Oct 31 20:00:13 scache kernel: isp0: Chan 0 [511]: hdl 0x0 NIL al0 tgt --- UNK 0xffffff => UNK 0x000000; WWNN 0x0000000000000000 WWPN 0x2100001b320f3212 Oct 31 20:00:57 scache kernel: isp0: isp_del_wwn_entry: Chan 0 IID 0x2100001b320f3212 N-Port Handle 0x0000 Port ID 0xffffff cannot be found to be cleared Oct 31 20:00:57 scache kernel: isp0: Chan 0 [0]: hdl 0x0 PROB al0 tgt --- INI 0x011000 => UNK 0x000000; WWNN 0x2000001b320f3212 WWPN 0x2100001b320f3212 Oct 31 20:00:57 scache kernel: isp0: Chan 0 [126]: hdl 0x7e PROB al0 tgt --- UNK 0xfffffe => UNK 0xfffffe; WWNN 0x1000006069c0766f WWPN 0x2002006069c0766f Is there anything else i could try out ? Thanks, Penta On Fri, Oct 29, 2010 at 1:52 AM, Penta Upa <bsdboot@gmail.com> wrote: > > > On Thu, Oct 28, 2010 at 5:00 AM, Matthew Jacob <mj@feral.com> wrote: > >> Since this was all point to point, my guess is that it's a soft loop id >> issue. >> >> You can try your original setup again (linux to FreeBSD), but for the >> FreeBSD box add this to loader.conf: >> >> set hint.isp.0.iid=75 >> >> > target mode doesn't work by setting the above hint in the loader.conf. > (even with the solaris box) The earlier linux setup doesn't work. I also > tried with another linux box (RHEL 5.5) which had both qla2340 and qla2460 > cards and with windows 2003 (which is the same as the solaris box). But they > dont work with or without the hint. Once i removed the hint from the > loader.conf, solaris works but not linux or windows > > I'll attach the the initiators and target to a switch over the weekend and > narrow it down to a point to point issue. Thanks a lot for the help and many > apologies for the delay in response. I'm trying out target mode as a > personal project which i do after work. > > Thanks, > Penta > --000e0cd2dc0a51a1fa0494045b61 Content-Type: text/plain; charset=US-ASCII; name="initiatorerrors.txt" Content-Disposition: attachment; filename="initiatorerrors.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gfzuiqv10 Tm92ICAyIDAyOjI3OjE2IHNjYWNoZTEga2VybmVsOiBxbGEyeHh4IDAwMDA6MDY6MDEuMTogTE9P UCBVUCBkZXRlY3RlZCAoMiBHYnBzKS4KTm92ICAyIDAyOjI3OjE3IHNjYWNoZTEga2VybmVsOiAg IFZlbmRvcjogRnJlZUJTRCAgIE1vZGVsOiBFbXVsYXRlZCBEaXNrICAgICBSZXY6IDAuMSAKTm92 ICAyIDAyOjI3OjE3IHNjYWNoZTEga2VybmVsOiAgIFR5cGU6ICAgRGlyZWN0LUFjY2VzcyAgICAg ICAgICAgICAgICAgICAgICBBTlNJIFNDU0kgcmV2aXNpb246IDAzCk5vdiAgMiAwMjoyNzoxNyBz Y2FjaGUxIGtlcm5lbDogU0NTSSBkZXZpY2Ugc2RnOiAyMDQ4MDAgNTEyLWJ5dGUgaGR3ciBzZWN0 b3JzICgxMDUgTUIpCk5vdiAgMiAwMjoyNzoxNyBzY2FjaGUxIGtlcm5lbDogc2RnOiB0ZXN0IFdQ IGZhaWxlZCwgYXNzdW1lIFdyaXRlIEVuYWJsZWQKTm92ICAyIDAyOjI3OjE3IHNjYWNoZTEga2Vy bmVsOiBzZGc6IGNhY2hlIGRhdGEgdW5hdmFpbGFibGUKTm92ICAyIDAyOjI3OjE3IHNjYWNoZTEg a2VybmVsOiBzZGc6IGFzc3VtaW5nIGRyaXZlIGNhY2hlOiB3cml0ZSB0aHJvdWdoCk5vdiAgMiAw MjoyNzoxNyBzY2FjaGUxIGtlcm5lbDogU0NTSSBkZXZpY2Ugc2RnOiAyMDQ4MDAgNTEyLWJ5dGUg aGR3ciBzZWN0b3JzICgxMDUgTUIpCk5vdiAgMiAwMjoyNzoxNyBzY2FjaGUxIGtlcm5lbDogc2Rn OiB0ZXN0IFdQIGZhaWxlZCwgYXNzdW1lIFdyaXRlIEVuYWJsZWQKT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