Date: Sun, 4 Jul 2010 14:40:52 +0200 From: Oliver Pinter <oliver.pntr@gmail.com> To: Alexander Motin <mav@freebsd.org> Cc: Daisuke Aoyama <aoyama@peach.ne.jp>, FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: [Need Help]isboot (iSCSI boot driver) version 0.2.1 Message-ID: <AANLkTikAEZzOWE3yTCWWm3GyRorvzSaMpnVMefIytHhS@mail.gmail.com> In-Reply-To: <4C30758E.7080102@FreeBSD.org> References: <6BC2B2FBAFFA4C26A46977F121B707E1@ad.peach.ne.jp> <mailpost.1278162245.7916753.99842.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw> <4C2F4B67.3060201@FreeBSD.org> <10CB692CA3FE4A8992B250B7F35B243B@ad.peach.ne.jp> <4C30758E.7080102@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mav@freebsd.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikAEZzOWE3yTCWWm3GyRorvzSaMpnVMefIytHhS>