From owner-freebsd-scsi Mon Mar 4 22:42: 2 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.mirapoint.com (mail.mirapoint.com [63.107.133.18]) by hub.freebsd.org (Postfix) with ESMTP id A21D737B400 for ; Mon, 4 Mar 2002 22:41:59 -0800 (PST) Received: from mail.mirapoint.com (localhost.mirapoint.com [127.0.0.1]) by mail.mirapoint.com (Mirapoint Messaging Server MOS 3.1.0.43) with SMTP id AOD06786 (AUTH cer); Mon, 4 Mar 2002 22:41:55 -0800 (PST) Message-Id: <200203050641.AOD06786@mail.mirapoint.com> Received: from 207.135.76.118 by mail.mirapoint.com (Mirapoint Messaging Server MOS 3.1.0.43) with HTTPS/1.1; Mon, 4 Mar 2002 22:42:34 -0800 Date: Mon, 4 Mar 2002 22:42:34 -0800 From: Carl Reisinger Subject: Re: Writing > 64KB records to SCSI Tape, FreeBSD 4.1 (?) To: "Kenneth D. Merry" Cc: Carl Reisinger , freebsd-scsi@FreeBSD.ORG Reply-To: cer@mirapoint.com X-Mailer: Mirapoint Webmail Direct 3.1.0.43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >I believe that's pretty close to what an Adaptec 1542 can handle, so that's >why we've left it at that size. (From a CAM standpoint that is.) I haven't laid hands or eyes on a 1542 in nearly 8 years. But from watching this list it seems a fair number of people have cards that I haven't seen in years. > >I would suggest just bumping si_iosize_max up to 128K in your copy of the >sa(4) driver and see if that does the trick. > That's what I would like to do, but my knowledge of the sa driver, and FreeBSD drivers in general, is slim. Since sending my original message I have spent more time looking over the code. If I understand things correctly the dev parameter to saopen is actually a pointer to a specinfo structure and I can just change the value of si_iosize_max in saopen. True? If I want to get real fancy I can set si_iosize_max in samount after the max record size supported by the drive is found. (use the min of MAXPHYS and the drive max) (Now if there was a way to query the HBA for its max transfer size). The good news, for me, is that the controllers I need to support is very limited. aic7899 and a few Symbios controllers. The aic7899 seems to handle 16MB transfers. Don't know about the Symbios chips. >> NOTE: While most of the kernel is based on 4.1-STABLE, I >> believe the CAM subsystem and scsi_sa has been lifted from >> 4.3. (The behaviour is the same under 4.5) > >Sounds "interesting". :) > We try to limit "changes", but every so often we need a fix from a later release. And sometimes that involves back porting a fair amount of code. I forget what the 4.1 CAM problem was that caused us to pull in the 4.3 code. Carl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message