From owner-freebsd-current@FreeBSD.ORG Sun Feb 17 18:04:11 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 5C15E16A418; Sun, 17 Feb 2008 18:04:11 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 0931D13C478; Sun, 17 Feb 2008 18:04:10 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from [10.134.22.37] ([166.133.239.16]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m1HI3tdm004304; Sun, 17 Feb 2008 11:04:02 -0700 (MST) (envelope-from scottl@samsco.org) 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> <2442.10.202.77.197.1203269021.squirrel@webmail.superhero.nl> Message-Id: From: Scott Long To: "Gelsema, P (Patrick) - FreeBSD" , re In-Reply-To: <2442.10.202.77.197.1203269021.squirrel@webmail.superhero.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes X-Mailer: iPhone Mail (3A109a) Mime-Version: 1.0 (iPhone Mail 3A109a) Content-Transfer-Encoding: 7bit Date: Sun, 17 Feb 2008 11:03:40 -0700 X-Spam-Status: No, score=0.0 required=5.4 tests=none autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: "Gelsema, P \(Patrick\)" , Niki Denev , "freebsd-current@freebsd.org" , 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 18:04:11 -0000 I approve of whatever justin does with the aic79xx driver for 7.0. Should just be a simple tweak and nothing more. Scott Sent from my iPhone On Feb 17, 2008, at 10:23 AM, "Gelsema, P \(Patrick\) - FreeBSD" wrote: > On Sun, February 17, 2008 07:33, Justin T. Gibbs wrote: >> Niki Denev wrote: >>> I was playing around with DTrace, tracing cam/xpt and the ahd driver >> and >>> found out that if i comment the following code : >>> >>> if ((spi3caps & SID_SPI_IUS) == 0) >>> spi->ppr_options &= ~MSG_EXT_PPR_IU_REQ; >>> >>> at line 6655 in sys/cam/cam_xpt.c my disks again negotiate as U320 : >>> >>> da0 at ahd0 bus 0 target 0 lun 0 >>> da0: Fixed Direct Access SCSI-3 device >>> da0: 320.000MB/s transfers (160.000MHz DT, offset 63, 16bit) >>> da0: Command Queueing Enabled >>> da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) >> >> The aic79xx driver was not properly exporting its capabilities to >> CAM. This has been addressed as of version 1.30 of aic79xx_osm.c. >> Please let me know if you still have problems. > > hulk# uname -a > FreeBSD hulk.superhero.nl 7.0-RC2 FreeBSD 7.0-RC2 #0: Sun Feb 17 > 17:58:36 > CET 2008 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC > amd64 > > hulk# camcontrol inquiry da1 > pass1: Fixed Direct Access SCSI-3 device > pass1: Serial Number 3HX35KPH000075191ZRW > pass1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Command > Queueing Enabled > > Working. Thanks! > > Any chance of mfc-ing this to RELENG_7_0 before 7_0 gets released? > > Rgds, > > Patrick > >> >>> >>> Unfortunately I began seeing again the "Invalid sequencer interrupt" >>> messages that i was seeing before(with fbsd 6.2) with Seagate drives >>> on Adaptec at U320 speeds, and I prey that they are harmless (as >>> they >>> used to be?) >> >> While I do not know their root cause, they do appear to be harmless. >> Do you happen to have your drives in a SES enclosure (on a backplane >> with a SES chip)? One user claimed this was only reproducible when >> a GEM318 SES chip was on the bus. >> >> -- >> Justin >> >> >