From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 30 15:48:46 2008 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 2C390106567A for ; Mon, 30 Jun 2008 15:48:45 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id AA3668FC17 for ; Mon, 30 Jun 2008 15:48:45 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1KDL1Y-000CnB-1l for freebsd-scsi@freebsd.org; Mon, 30 Jun 2008 18:10:36 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Jun 2008 18:10:36 +0300 From: Danny Braniss Message-ID: Subject: iscsi target failure ... 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: Mon, 30 Jun 2008 15:48:46 -0000 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