From owner-freebsd-current@FreeBSD.ORG Mon Feb 18 14:07:14 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 ED16216A417 for ; Mon, 18 Feb 2008 14:07:14 +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 86EAB13C4D1 for ; Mon, 18 Feb 2008 14:07:14 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from scoo-longs-computer.local (74-92-209-69-Colorado.hfc.comcastbusiness.net [74.92.209.69] (may be forged)) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m1IE73Mc012926; Mon, 18 Feb 2008 07:07:08 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <47B99107.3000204@samsco.org> Date: Mon, 18 Feb 2008 07:07:03 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: JoaoBR References: <200704182239.59842.gelsemap@superhero.nl> <2442.10.202.77.197.1203269021.squirrel@webmail.superhero.nl> <200802180501.08502.joao@matik.com.br> <200802180810.29049.joao@matik.com.br> In-Reply-To: <200802180810.29049.joao@matik.com.br> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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\) - FreeBSD" , freebsd-current@freebsd.org, "Gelsema, P \(Patrick\)" , Niki Denev Subject: Re: Adaptec AHD U320 operating as only U160 (take care with this hack!) 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: Mon, 18 Feb 2008 14:07:15 -0000 JoaoBR wrote: > On Monday 18 February 2008 05:01:01 JoaoBR wrote: >> On Sunday 17 February 2008 14:23:41 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) > > > > take care with this hack because at least on Tyans and SM Mbs this hack does > nothing good and cause continuous card dumps and some machines do not boot > correctly (seems it depends on kind of disk installed), it is not usable > here! > > > the only card which stands this is the pci-x adaptec 29320 > You are confusing people by posting a response to a discussion that has already moved beyond where you are responding. The real fix to the original poster's problem has already been identified, please catch up. Also, in the future, whether you are up to date on the discussion or not, making a post saying that something crashes/doesn't work, but without posting any of the debugging information that goes with it, is pretty close to being useless. Scott