Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 11:06:37 -0700
From:      Sean Bruno <sbruno@miralink.com>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi target failure ...
Message-ID:  <486920AD.2070206@miralink.com>
In-Reply-To: <E1KDMLG-000DfS-BH@cs1.cs.huji.ac.il>
References:  <E1KDMLG-000DfS-BH@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Danny Braniss wrote:
>> 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()
>
>
>   
How are you attempting to make the failure occur with the initiator?  
Just pulling the cable or some such operation while running an write?

Sean





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486920AD.2070206>