Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2008 01:06:01 +0200
From:      "Niki Denev" <nike_d@cytexbg.com>
To:        obrien@freebsd.org, "Scott Long" <scottl@samsco.org>,  "Gelsema, P (Patrick)" <gelsemap@superhero.nl>,  JoaoBR <joao@matik.com.br>, freebsd-current@freebsd.org
Subject:   Re: Adaptec AHD U320 operating as only U160
Message-ID:  <2e77fc10802161506x5d790149lb688d221b0a96222@mail.gmail.com>
In-Reply-To: <20080212010836.GA14441@dragon.NUXI.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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 12, 2008 3:08 AM, David O'Brien <obrien@freebsd.org> 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: <SEAGATE ST336807LW 0C01> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e77fc10802161506x5d790149lb688d221b0a96222>