From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 11 11:39:50 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95B6E1065680; Wed, 11 Mar 2009 11:39:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD7F8FC1D; Wed, 11 Mar 2009 11:39:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1LhMmp-000Jpi-LB; Wed, 11 Mar 2009 13:39:47 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Pete French In-reply-to: References: Comments: In-reply-to Pete French message dated "Wed, 11 Mar 2009 10:52:12 +0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Mar 2009 13:39:47 +0200 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Tester wanted for multipath failover iSCSI target software X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 11:39:52 -0000 > > Now istgt is a part of ports. (net/istgt) > > FreeBSD issue is solved by danny's patch. > > After applying the patch, iscontrol can connect to istgt. > > I am interested in giving this a try, though not immediately as I > am away from the office at the moment. Do I need to apply a patch > to iscontrol to make it work though ? I can't work it out from your > statement above. english version: (ungoogled :-) the latest is in: http://www.cs.huji.ac.il/~danny/ftp/freebsd/iscsi-2.1.1.tar.gz and if you already have 2.1, apply: --- iscsi.c.orig 2008-09-21 10:01:50.000000000 +0300 +++ iscsi.c 2009-03-11 13:29:04.250472000 +0200 @@ -62,7 +62,7 @@ #include #include -static char *iscsi_driver_version = "2.1.0"; +static char *iscsi_driver_version = "2.1.1"; static struct isc_softc isc; --- isc_sm.c.orig 2008-07-19 14:04:23.000000000 +0300 +++ isc_sm.c 2009-03-11 13:30:20.672791000 +0200 @@ -508,7 +508,7 @@ sn->cmd++; case ISCSI_WRITE_DATA: - bhs->ExpStSN = htonl(sn->stat); + bhs->ExpStSN = htonl(sn->stat + 1); break; default: ---------------------------------------------------------------------------- danny