From owner-freebsd-current@FreeBSD.ORG Sat Feb 16 23:06:03 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 BF9EB16A537 for ; Sat, 16 Feb 2008 23:06:03 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id C1AF813C461 for ; Sat, 16 Feb 2008 23:06:02 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so942210rvb.43 for ; Sat, 16 Feb 2008 15:06:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=5kcKCS8boJ1W1lOteW7hUCi/4mjfsio9Lxnvla4CWBk=; b=rRgXnke/q6MwLb01FKzp9ORDKF8K8l/dJxftvfOl6W2m2K80MKLYGrRlp0RQXgOMUirk3SPHzP/xgqXzb5SrlocFW6UZAe951Y1/la7TbbSER+tB94cZf9h8pVQINBBWPGg7FbcQlpc8Xc7h1LQW7p2K6S5yG4RnFc8i0QhWJc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nC0vYcZxpt/BNmU1UpRa8lwfbWebp9M/wh1EjpH49EOwKV8+j0jHgFo3qq/ZsHMN/RGUl0OHxGFJ1vrcmipykpRXKxvjpa38jLFRg1476ib7SixMM2ipMQ9uxzbq4bpnEaXb4ruv2KyxccDG/UqR4Va93QkfyyXConsjv/RNJTk= Received: by 10.140.179.25 with SMTP id b25mr2862497rvf.152.1203203161913; Sat, 16 Feb 2008 15:06:01 -0800 (PST) Received: by 10.141.170.18 with HTTP; Sat, 16 Feb 2008 15:06:01 -0800 (PST) Message-ID: <2e77fc10802161506x5d790149lb688d221b0a96222@mail.gmail.com> Date: Sun, 17 Feb 2008 01:06:01 +0200 From: "Niki Denev" Sender: ndenev@gmail.com To: obrien@freebsd.org, "Scott Long" , "Gelsema, P (Patrick)" , JoaoBR , freebsd-current@freebsd.org In-Reply-To: <20080212010836.GA14441@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> X-Google-Sender-Auth: 8831ee879b6c1b12 Cc: 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: Sat, 16 Feb 2008 23:06:03 -0000 On Feb 12, 2008 3:08 AM, David O'Brien wrote: > On Mon, Feb 11, 2008 at 02:51:10PM -0700, Scott Long wrote: > > I hate to say it, but SCSI speed negotiation broke with 7.0. > ... > > I'm working on fixing the problem, but it won't be fixed in time for > > the final 7.0 release. > > I know. > I hope I've added to the body of knowledge of where the problem started. > You told me previously it could have been the addition of the Domain > Validation code. Unfortuantely it isn't - it goes all teh way back to > the cut over to the "NEW TRANS" code. > > > and I don't know of a workaround other than to tell you to read the > > camcontrol manpage section on the 'negotiate' command and play with > > that. > > Using that I am not able to get U320 negotiatation. > > -- > -- David (obrien@FreeBSD.org) > > 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) 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?) Of course this might be (and possibly is :) ) completely wrong, but i hope it can serve as a pointer to the problem with the negotiation. --Niki