Subject: Re: iSCSI initiator CHAP failure
To: Alistair Crooks <agc@pkgsrc.org>
From: Jay Nelson <jdn@bga.com>
List: current-users
Date: 11/29/2007 16:19:03
On Wed, Nov 28, 2007 at 04:40:52PM +0000, Alistair Crooks wrote:
> On Tue, Nov 27, 2007 at 08:56:29PM -0800, Jeff Rizzo wrote:
> > Jay Nelson wrote:
> > > sks# iscsifs -u jdn -h acp /iscsi
> > > pid 13232:/usr/src/dist/iscsi/src/initiator.c:1912: ***ERROR*** Bad Status-Class: got 2, expected 0
> > > Nov 27 08:45:53 sks iscsifs: pid 13232:/usr/src/dist/iscsi/src/initiator.c:1912: ***ERROR*** Bad Status-Class: got 2, expected 0 
> > > pid 13232:/usr/src/dist/iscsi/src/initiator.c:1737: ***ERROR*** initiator_cmd_t failed
> > > pid 13232:/usr/src/dist/iscsi/src/initiator.c:566: ***ERROR*** login_phase_i() failed
> > > Nov 27 08:45:53 sks iscsifs: pid 13232:/usr/src/dist/iscsi/src/initiator.c:1737: ***ERROR*** initiator_cmd_t failed 
> > > Nov 27 08:45:53 sks iscsifs: pid 13232:/usr/src/dist/iscsi/src/initiator.c:566: ***ERROR*** login_phase_i() failed 
> > > pid 13232:/usr/src/dist/iscsi/src/initiator.c:1084: ***ERROR*** enqueue_worker: discovery_phase() failed (ignoring command)
> > > Nov 27 08:45:53 sks iscsifs: pid 13232:/usr/src/dist/iscsi/src/initiator.c:1084: ***ERROR*** enqueue_worker: discovery_phase() failed (ignoring command)
> > >
> > > And on the target:
> > >
> > > Nov 27 08:49:49 acp iscsi-target: pid 751:/usr/src/dist/iscsi/src/parameters.c:648: ***ERROR*** Initiator authentication failed 79 1d 
> > > Nov 27 08:49:49 acp iscsi-target: pid 751:/usr/src/dist/iscsi/src/target.c:1087: ***ERROR*** login_command_t() failed 
> > > Nov 27 08:49:49 acp iscsi-target: pid 751:/usr/src/dist/iscsi/src/target.c:1207: ***ERROR*** execute_t() failed
> > >
> > >   
> > FWIW, I've been playing with the initiator under MacOS 10.5.1 (ppc), and
> > this is exactly what I see.  I'm looking to see if I can learn anything
> > new this evening - I'll be playing with it on an intel machine.
> 
> I think I've found an endian bug in the code, stay tuned.
> 
> (There's a QAD fix, and a better long term one)
> 
> Regards,
> Alistair

iscsi-target failed on a 4.0_RC3/sparc64 with the following messages:

sks# iscsifs -u jdn -h bar /iscsi
pid 9271:/usr/src/dist/iscsi/src/initiator.c:1943: ***ERROR*** Bad "TSIH": 0 == 0.
Nov 29 16:08:41 sks iscsifs: pid 9271:/usr/src/dist/iscsi/src/initiator.c:1943: ***ERROR*** Bad "TSIH": 0 == 0. 
pid 9271:/usr/src/dist/iscsi/src/initiator.c:1737: ***ERROR*** initiator_cmd_t failed
pid 9271:/usr/src/dist/iscsi/src/initiator.c:566: ***ERROR*** login_phase_i() failed
Nov 29 16:08:41 sks iscsifs: pid 9271:/usr/src/dist/iscsi/src/initiator.c:1737: ***ERROR*** initiator_cmd_t failed 
Nov 29 16:08:41 sks iscsifs: pid 9271:/usr/src/dist/iscsi/src/initiator.c:566: ***ERROR*** login_phase_i() failed 
pid 9271:/usr/src/dist/iscsi/src/initiator.c:1084: ***ERROR*** enqueue_worker: discovery_phase() failed (ignoring command)
Nov 29 16:08:41 sks iscsifs: pid 9271:/usr/src/dist/iscsi/src/initiator.c:1084: ***ERROR*** enqueue_worker: discovery_phase() failed (ignoring command)

-- jay