From owner-freebsd-current@FreeBSD.ORG Sun Feb 17 15:52:25 2008 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 20A6E16A418; Sun, 17 Feb 2008 15:52:25 +0000 (UTC) (envelope-from gibbs@scsiguy.com) Received: from aslan.scsiguy.com (aslan.scsiguy.com [70.89.174.89]) by mx1.freebsd.org (Postfix) with ESMTP id C97F413C459; Sun, 17 Feb 2008 15:52:24 +0000 (UTC) (envelope-from gibbs@scsiguy.com) Received: from [192.168.0.6] (tumnus.scsiguy.org [192.168.0.6]) (authenticated bits=0) by aslan.scsiguy.com (8.14.2/8.14.2) with ESMTP id m1HFqK6a089558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Feb 2008 08:52:21 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-ID: <47B8582A.3020402@scsiguy.com> Date: Sun, 17 Feb 2008 08:52:10 -0700 From: "Justin T. Gibbs" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Niki Denev References: <200704182239.59842.gelsemap@superhero.nl> <86tzvcvaai.fsf@dwp.des.no> <31439.195.50.100.20.1176984826.squirrel@www.superhero.nl> <20080211184453.GA5605@dragon.NUXI.org> <2e77fc10802111330p738d2c93i9eb1189b307d732d@mail.gmail.com> <47B0C34E.7040804@samsco.org> <20080212010836.GA14441@dragon.NUXI.org> <2e77fc10802161506x5d790149lb688d221b0a96222@mail.gmail.com> <47B7D534.7000204@scsiguy.com> <2e77fc10802170142r51719253r682365fb7d274116@mail.gmail.com> <2e77fc10802170623k181c807dh52b13b01c121cd9f@mail.gmail.com> In-Reply-To: <2e77fc10802170623k181c807dh52b13b01c121cd9f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, "Gelsema, P \(Patrick\)" , JoaoBR Subject: Re: Adaptec AHD U320 operating as only U160 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, 17 Feb 2008 15:52:25 -0000 Niki Denev wrote: > After some bonnie64 runs the first machine (8.0-CURRENT Dtrace > snapshot with aic79xx_osm.c v1.30) spat out this : > > ahd1: Recovery Initiated - Card was not paused >>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< > ahd1: Dumping Card State at program address 0x38 Mode 0x11 ... > SAVED_MODE[0x11] DFFSTAT[0x31]:(CURRFIFO_1|FIFO0FREE|FIFO1FREE) > SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] > LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] According to the controller, the bus is idle. However... > Pending list: > 325 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > 403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > 439 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > 380 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > 495 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > 353 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > 478 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] > Total 7 we have 7 commands still pending on the drive at ID 1, and the drive hasn't provided status within the allowed timeout period. There were lots of problems early on with Seagate drives locking up like this when hit with more than 31 (I think that was the magic number) concurrent commands with WCE (write cache enable) set. It was supposedly fixed in later firmware releases. Do you have the latest firmware for your drives? You might be able to confirm this hypothesis by lowering the queued depth via camcontrol and/or disabling WCE. -- Justin