From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 25 18:34:54 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1617C16A4E5; Fri, 25 Aug 2006 18:34:54 +0000 (UTC) (envelope-from wrstuden@wasabisystems.com) Received: from mononoke.wasabisystems.com (mononoke.wasabisystems.com [66.173.145.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CC1143D5E; Fri, 25 Aug 2006 18:34:42 +0000 (GMT) (envelope-from wrstuden@wasabisystems.com) Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91]) by mononoke.wasabisystems.com (Postfix) with ESMTP id 33DAF871F7; Fri, 25 Aug 2006 14:34:41 -0400 (EDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <561BF9E9-C140-4C64-B332-7A62AC640B48@wasabisystems.com> Content-Transfer-Encoding: 7bit From: William Studenmund Date: Fri, 25 Aug 2006 11:34:33 -0700 To: Danny Braniss X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Cc: "Kenneth D. Merry" , scsi@freebsd.org Subject: Re: iSCSI/luns/check-condition 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: Fri, 25 Aug 2006 18:34:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Aug 25, 2006, at 11:25 AM, Danny Braniss wrote: > just one other fishy matter: > i've set max_luns to 1, and it's still trying LUN 0 & LUN 1, how come? > ... > struct ccb_pathinq *cpi = &ccb->cpi; > ... > cpi->max_lun = 1; WAG: it's the maximum defined LUN, not the number of LUNs? Try 0? Take care, Bill -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFE70K+DJT2Egh26K0RAsiRAJ9GEcsGtXO/etFffro1BIX7CQ/XcACdFaH7 R67y48WNhN+02dwTdx95wfE= =Sqo1 -----END PGP SIGNATURE-----