Date: Mon, 30 Jun 2008 19:35:02 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: Sean Bruno <sbruno@miralink.com> Cc: freebsd-scsi@freebsd.org Subject: Re: iscsi target failure ... Message-ID: <E1KDMLG-000DfS-BH@cs1.cs.huji.ac.il> In-Reply-To: Your message of Mon, 30 Jun 2008 08:54:19 -0700 .
next in thread | raw e-mail | index | archive | help
> Danny Braniss wrote: > > Hi, > > I'm trying to get the iscsi_initiator to handle errors in a better way, > > and so far if if I report to the cam via XPT_DONE, with status = > > CAM_REQ_ABORTED > > the kernel panics after printing many > > g_vfs_done():da1s1d[WRITE(offset=6428672, length=2048)]error = 5 > > (the offset= changes), > > so I was wandering, is there a better (CAM_REQ_CMP_ERR?) status? the return > > when > > a terminal error has occurred? > > > > danny > Are you talking about the macro XPT_DONE() or the CAM status XPT_DONE? > > Also, is there a spot in the code that you are specifically looking at? > Hi Sean, in iscsi_subr.c/iscsi_cleanup -> _scsi_done->[macro]XPT_DONE()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KDMLG-000DfS-BH>