From owner-freebsd-current@FreeBSD.ORG Sun Jul 4 12:41:07 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 A04EE106566B; Sun, 4 Jul 2010 12:41:07 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 017578FC0A; Sun, 4 Jul 2010 12:41:06 +0000 (UTC) Received: by bwz12 with SMTP id 12so2836152bwz.13 for ; Sun, 04 Jul 2010 05:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WFrXX7sJhsj8UXJhkVxAUSS8RcLELLIo45ue2S4c88E=; b=VGic/kdNgTaItyiTR3PeqkU6jtjSNqg+JMZPa2ZHmAP0ydhQtCcygsTi2+9hXIao7f T8ktZGJ94+kTaqrnS0IB9G1U9P1h4dpmyLECZ+kYF1hmkjC8fyJjg3qcdfmy7pLLzSQ5 hy86Y9lstAdN6fcL7v6Uqhp3vvSm6Dj3DE6gE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Plt4FFe5o8pVOag9JS+KtB4dLS4oSFmR2Djb0BoXnUzNODR0vqG/Gcr9FWkdHoHGB8 MF27EoUSCJv4aLH8OwyPzFhcDe/Ihw7YiHYJHi2NNJ6K3V1haFpphEdLRqF+Hh96vUze sGORN190Im6v7EJqQlo2DMP7IWrUEkdsTqloc= MIME-Version: 1.0 Received: by 10.204.29.17 with SMTP id o17mr1237271bkc.208.1278247252706; Sun, 04 Jul 2010 05:40:52 -0700 (PDT) Received: by 10.204.66.66 with HTTP; Sun, 4 Jul 2010 05:40:52 -0700 (PDT) In-Reply-To: <4C30758E.7080102@FreeBSD.org> References: <6BC2B2FBAFFA4C26A46977F121B707E1@ad.peach.ne.jp> <4C2F4B67.3060201@FreeBSD.org> <10CB692CA3FE4A8992B250B7F35B243B@ad.peach.ne.jp> <4C30758E.7080102@FreeBSD.org> Date: Sun, 4 Jul 2010 14:40:52 +0200 Message-ID: From: Oliver Pinter To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: Daisuke Aoyama , FreeBSD-Current 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 12:41:07 -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 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. > > -- > Alexander Motin > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >