From owner-freebsd-current@FreeBSD.ORG Sun Jul 4 13:50:08 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E137410657E5; Sun, 4 Jul 2010 13:50:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2FD8FC0C; Sun, 4 Jul 2010 13:50:08 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1OVPa9-0000JS-1t; Sun, 04 Jul 2010 16:50:05 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Oliver Pinter In-reply-to: References: <6BC2B2FBAFFA4C26A46977F121B707E1@ad.peach.ne.jp> <4C2F4B67.3060201@FreeBSD.org> <10CB692CA3FE4A8992B250B7F35B243B@ad.peach.ne.jp> <4C30758E.7080102@FreeBSD.org> Comments: In-reply-to Oliver Pinter message dated "Sun, 04 Jul 2010 14:40:52 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 04 Jul 2010 16:50:04 +0300 From: Daniel Braniss Message-ID: Cc: Alexander Motin , FreeBSD-Current , Daisuke Aoyama Subject: Re: [Need Help]isboot (iSCSI boot driver) version 0.2.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 13:50:09 -0000 > iscsi initiator paniced over 4 dev, and the code has limitations of > devices, it is hardcoded to 4 > > 9f2ae5be (scottl 2007-07-24 15:35:02 +0000 39) #define ISCSIDEV "iscsi" > 9f2ae5be (scottl 2007-07-24 15:35:02 +0000 40) > 9f2ae5be (scottl 2007-07-24 15:35:02 +0000 41) #define > ISCSI_MAX_TARGETS 4 //64 > 9f2ae5be (scottl 2007-07-24 15:35:02 +0000 42) > 9f2ae5be (scottl 2007-07-24 15:35:02 +0000 43) #define ISCSI_MAX_LUNS > 4 > > when setting this to 64, than paniced the kernel > get ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-2.2.4.tar.gz but what does this have to to with the Subject:? danny > > On 7/4/10, Alexander Motin wrote: > > Daisuke Aoyama wrote: > >>>> Notes/Known Issues/Limitations: > >>>> FreeBSD can't use transfer length > 64KB. > >>> > >>> Since 8.0 FreeBSD can use any transfer lengths. 64K is a safety limit > >>> for CAM SIMs that do not report maximum transfer size. If your driver > >>> supports bigger transactions (and even if not), you should fill maxio > >>> field in XPT_PATH_INQ response. > >> > >> I set maxio=1024*1024 in version 0.2.2. As a result, the request (each > >> ccb) > >> have 256 blocks (128KB). I don't know why it is 128KB. > > > > 128KB is a default MAXPHYS value. You may rise it in your kernel if you > > want. I am successfully using 1MB MAXPHYS now.