From owner-freebsd-bugs Fri Sep 8 15:10:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2E96A37B443 for ; Fri, 8 Sep 2000 15:10:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA58798; Fri, 8 Sep 2000 15:10:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 8 Sep 2000 15:10:05 -0700 (PDT) Message-Id: <200009082210.PAA58798@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tracy Camp Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. Reply-To: Tracy Camp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/21139; it has been noted by GNATS. From: Tracy Camp To: "Chris D. Faulhaber" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. Date: Fri, 8 Sep 2000 15:08:11 -0700 (PDT) On Fri, 8 Sep 2000, Chris D. Faulhaber wrote: > On Fri, 8 Sep 2000 campt@miralink.com wrote: > > > IBM DNES drives do not support more than 64 tagged queued commands and > > the default settings for maxtags is 255 which is problematic. Under heavy > > write loads this leads to a system crash. > > >How-To-Repeat: > > Install a DNES drive and perform disk operations. > > >Fix: > > Add quirk entry in cam/cam_xpt.c for this drive (see below) that limits maxtags to 32. > > > > { > > /* DNES docs state on page 203 that this device only > > * supports 64 queued commands. 9gig and 18gig devices P/N > > * DNES-318350 and DNES-309170. campt@miralink.com > > */ > > { T_DIRECT, SIP_MEDIA_FIXED, "IBM", "DNES*","*"}, > > /*quirks*/0, */mintags*/2,/*maxtags*/32 > > } > > > > Beware, the above entry also encompasses this drive: > > da0: Fixed Direct Access SCSI-3 device > > which works fine without the entry. Just read what they tell me in the docs. I've been using the DNES-309170W SA30 and see the problem, there is also a 309170W with a diffrent firmware that has the same behavior. I turned off tagged queueing alltogether in my application and got much improved stability so I'm at least convinced its necissary, but hey - your call. :) The manual refrenced is a nice 230 some page pdf available from IBM. Maybe I've misread it. t. > > ----- > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org > -------------------------------------------------------- > FreeBSD: The Power To Serve - http://www.FreeBSD.org > > Tracy Camp Product Development Miralink Corp.PDX Portland OR 503-223-3140 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message