From owner-freebsd-scsi@freebsd.org Thu Nov 17 18:44:36 2016 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99E34C478D4 for ; Thu, 17 Nov 2016 18:44:36 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23EE31B48 for ; Thu, 17 Nov 2016 18:44:35 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uAHIiWhO011574 for ; Thu, 17 Nov 2016 19:44:32 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 95440DC0; Thu, 17 Nov 2016 19:44:32 +0100 (CET) Message-ID: <582DFA90.1050209@omnilan.de> Date: Thu, 17 Nov 2016 19:44:32 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: FC questions, specifically isp(4), sa(4) and mt(1) Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Thu, 17 Nov 2016 19:44:32 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 18:44:36 -0000 Dear scsi gurus, I'm asking for help regarding FibreChannel support in FreeBSD. I thought questions@ wasn't really adequate, please tell me if scsi@ isn't either. First I'd like to ask if there's alreday any translation (documentation newer than isp(4)) between dev.isp.N.topo|loopstate|etc. and hint.isp.N.topology etc. The only matching component I found in man 4 isp was "role". Especially hint.isp.0.fullduplex seems weird to me... I will have a look into the driver to see if I can answer some questions myself, but any links to more info are welcome. My specific problem is that mt(1) seem to crash my LTO3 drive. I'm quiet new to FC, but I think using a QLE2532 in N_port and initiator role togehter with the FC drive shouldn't need any more understanding/tuning than doing the same with LSI2008 and an SAS drive, besides the different wiring ;-) At first, it looks like I was right with that assumption, since camcontrol(8) behaves as usual: 'camcontrol devl' at scbus8 target 0 lun 0 (sa0,pass3) 'camcontrol inq sa0' pass3: Removable Sequential Access SCSI-3 device pass3: Serial Number HUE07491PW pass3: 200.000MB/s transfers, Command Queueing Enabled 'camcontrol load sa0 && camcontrol tur sa0' Unit started successfully, Media loaded Unit is ready ... But as soon as I issue a 'mt status', the drive seems to crash and I get the following kernel messages: isp0: Chan 0 LIP destroyed 1 active commands isp0: Chan 0 LIP destroyed 1 active commands (sa0:isp0:0:0:0): unable to rewind after test read mt: /dev/nsa0: Input/output error or if port is forced to N_ instead L_: sa0: s/n HUE07491PW detached (sa0:isp1:0:0:0): unable to rewind after test read (sa0:isp1:0:0:0): Periph destroyed mt: /dev/nsa0: Input/output error Like mentioned, the drive seems to crash/reboot according to the LEDs. Am I wrong that mt(1) shouldn't make a difference if it's a P-SCSI, SAS or FC drive? Is there a document where some cmd/smpcmd are collected which I could use to start narrowing down the source of the error? Thanks, -harry From owner-freebsd-scsi@freebsd.org Fri Nov 18 20:01:01 2016 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C991C4714C for ; Fri, 18 Nov 2016 20:01:01 +0000 (UTC) (envelope-from jimukyoku@kpa.ees.kyushu-u.ac.jp) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7D8BE1F9F for ; Fri, 18 Nov 2016 20:01:01 +0000 (UTC) (envelope-from jimukyoku@kpa.ees.kyushu-u.ac.jp) Received: by mailman.ysv.freebsd.org (Postfix) id 6DBC6C47134; Fri, 18 Nov 2016 20:01:01 +0000 (UTC) Delivered-To: scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60002C47133 for ; Fri, 18 Nov 2016 20:01:01 +0000 (UTC) (envelope-from jimukyoku@kpa.ees.kyushu-u.ac.jp) Received: from eesserv2.ees.kyushu-u.ac.jp (ckt.ees.kyushu-u.ac.jp [133.5.152.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93AB31F80 for ; Fri, 18 Nov 2016 20:01:00 +0000 (UTC) (envelope-from jimukyoku@kpa.ees.kyushu-u.ac.jp) Received: from [216.45.54.23] (216.45.54.23.static.greencloudvps.com [216.45.54.23] (may be forged)) (authenticated bits=0) by eesserv2.ees.kyushu-u.ac.jp (8.14.4/8.14.4) with ESMTP id uAIJWGT3012443 for ; Sat, 19 Nov 2016 05:00:58 +0900 Message-Id: <201611182000.uAIJWGT3012443@eesserv2.ees.kyushu-u.ac.jp> MIME-Version: 1.0 Subject: Google Award Notification To: scsi@freebsd.org From: "Google Inc." Date: Fri, 18 Nov 2016 12:01:01 -0800 Reply-To: mikhaylovichbrinsergey@gmail.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 20:01:01 -0000 Dear Google User, Congratulation for being selected as a winner, find attached email with fur= ther information. Sergey M. Brin, Co-Founder/Foreign Bureau Administrator.