From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: What breaks aic7xxx in post 2.6.12-rc2 ? Date: Thu, 19 May 2005 20:17:33 -0500 Message-ID: <1116551853.5037.145.camel@mulgrave> References: <20050516085832.GA9558@gmail.com> <20050517071307.GA4794@in.ibm.com> <20050517002908.005a9ba7.akpm@osdl.org> <1116340465.4989.2.camel@mulgrave> <20050517170824.GA3931@in.ibm.com> <1116354894.4989.42.camel@mulgrave> <428C030E.8030102@cybsft.com> <1116476630.5867.2.camel@mulgrave> <20050519095143.GA3972@in.ibm.com> <1116546970.5037.137.camel@mulgrave> <428D37CF.5070903@cybsft.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from stat16.steeleye.com ([209.192.50.48]:49357 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S261219AbVETBRr (ORCPT ); Thu, 19 May 2005 21:17:47 -0400 In-Reply-To: <428D37CF.5070903@cybsft.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "K.R. Foley" Cc: dino@in.ibm.com, Andrew Morton , gregoire.favre@gmail.com, Linux Kernel , SCSI Mailing List On Thu, 2005-05-19 at 20:05 -0500, K.R. Foley wrote: > It does work with the exception that my u160 drive is still identified > as 80MB/s. Well, that's some good news, at least. > May 19 19:36:46 porky kernel: scsi0:A:0:0: Tagged Queuing enabled. Depth 32 > May 19 19:36:46 porky kernel: target0:0:0: Beginning Domain Validation > May 19 19:36:46 porky kernel: WIDTH IS 1 > May 19 19:36:46 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit) > May 19 19:36:46 porky kernel: (scsi0:A:0): 80.000MB/s transfers > (40.000MHz, offset 127, 16bit) OK, it looks like the period is limited to 25ns. Could you confirm this? cat /sys/class/spi_transport/target0:0:0/period cat /sys/class/spi_transport/target0:0:0/max_period Now, if the max_period is 25, try doing echo 12.5 > /sys/class/spi_transport/target0:0:0/max_period and then echo 1 > /sys/class/spi_transport/target0:0:0/revalidate to trigger a revalidation of the domain and see if it comes up to 160. Thanks, James