From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 02:33:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C821037B401 for ; Sun, 10 Aug 2003 02:33:22 -0700 (PDT) Received: from tungsten.btinternet.com (tungsten.btinternet.com [194.73.73.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B2DF43F75 for ; Sun, 10 Aug 2003 02:33:21 -0700 (PDT) (envelope-from bsd-current@epcdirect.co.uk) Received: from dial81-131-227-67.in-addr.btopenworld.com ([81.131.227.67] helo=gate.bka.epcdirect.co.uk) by tungsten.btinternet.com with esmtp (Exim 3.22 #23) id 19lmZg-0006Gf-00; Sun, 10 Aug 2003 10:33:16 +0100 Received: from lfarr (l-farr.bka.epcdirect.co.uk [192.168.10.200]) h7A9WL8q032424; Sun, 10 Aug 2003 10:32:26 +0100 (BST) (envelope-from bsd-current@epcdirect.co.uk) From: "Lawrence Farr" To: "'Justin T. Gibbs'" , Date: Sun, 10 Aug 2003 10:33:02 +0100 Message-ID: <008101c35f22$6bda20d0$c80aa8c0@lfarr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <531132704.1058892367@aslan.btc.adaptec.com> Importance: Normal Subject: RE: Adaptec AIC7902 Ultra320 Problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 10 Aug 2003 09:33:23 -0000 I've got another drive now to mess about with: da0: Fixed Direct Access SCSI-3 device And I get the same problems. Running non-packetized fixes it. Are you sure this is a firmware issue? Lawrence Farr EPC Direct Limited > -----Original Message----- > From: Justin T. Gibbs [mailto:gibbs@scsiguy.com] > Sent: 22 July 2003 17:46 > To: Lawrence Farr; current@freebsd.org > Subject: Re: Adaptec AIC7902 Ultra320 Problems > > > > I have a Supermicro SuperServer 6013P-8, with: > > > > ahd0: port > > 0x4000-0x40ff,0x4400-0x44ff mem 0xfc300000-0xfc301fff irq 5 > at device 2.0 on > > pci3 > > aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X > 101-133Mhz, 512 SCBs > > ahd1: port > > 0x4800-0x48ff,0x4c00-0x4cff mem 0xfc302000-0xfc303fff irq 5 > at device 2.1 on > > pci3 > > aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X > 101-133Mhz, 512 SCBs > > > > Trying to install 5.1-CURRENT-20030709-JPSNAP or 4.8-STABLE on the > > box gives a timeout error that will hang the disk in a state that > > resetting the machine does not clear, and only power cycling will > > clear. Ive replaced the disks with no change, but installed and > > ran Redhat 7.3 on the box with no timeouts or errors. > > The problem you are encountering looks to be a drive firmware issue > exposed when the drive is running at high queue depths. The linux > driver limites the tag depth to 32 by default. The FreeBSD driver > does not throttle in this way. It seems that we just overwhelm the > drive with commands and it just stops doing anything on the > bus. According > to the timeout trace, the target just stopped sending packets while > still sitting on the bus. > > I have not tested this particular drive, so I do not know if update > firmware is available for it. You might try running in non-packetized > mode by toggling this option via SCSI-Select. You previous test of > running at "160" just reduced the clock rate, but still > allowed the use > of the newer, faster, packetized format. > > -- > Justin >