public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Jolk <alexj@buf.com>
To: Denny Page <denny@cococafe.com>
Cc: Raymond Scholz <rscholz@zonix.de>, linux-scsi@vger.kernel.org
Subject: Re: SCSI tape (Re: scsi negotiation problem on aic79xx (39320A) in 2.6.14)
Date: Mon, 27 Nov 2006 18:28:50 +0100	[thread overview]
Message-ID: <456B2052.1060300@buf.com> (raw)
In-Reply-To: <F7D518BF-C626-4964-B184-1AC4C6D2C3B2@cococafe.com>

Denny Page wrote:
> The problem has to do with the speed negotiation that occurs on  driver 
> initialization.
> 
> That I know of, there are 2 ways to address the problem.
> 
> For kernel 2.6.17 (and later), you can go into the Adaptec scsi bios  
> and explicitly limit the transfer speed for the target device to 160  MB/s.
> 
> Alternatively, for kernel 2.6.16 (and later), you can add the  following 
> to your boot init file:
> 
>   # Fix scsi speed negotiation on tape drive
>   SYS_TAPE=/sys/class/spi_transport/target0:0:3
>   echo "12.5" > $SYS_TAPE/min_period
>   echo "1"    > $SYS_TAPE/revalidate
> 
> [Remember to change the SYS_TAPE variable to match your target device]
> 
> You will know that you've done it correctly when you see 160MB/s as  the 
> value of User/Goal/Curr for your target in /proc/scsi/aic79xx/*.
> 
> In my case, it's still unclear to me whether or not the problem is  the 
> AIC79xx, the HP LTO drive, or the scsi driver.

I have successfully used your procedure in order to get an HP LTO-3 
driver to work that's attached to an LSI/Fusion/MPT controller.  That 
would seem to point to the drive or the scsi driver rather than the 
controller.

Alex


-- 
Alexander Jolk         /         BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29

  reply	other threads:[~2006-11-27 17:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Impo.871wnune7w@hush.zonix.de>
2006-11-24 22:11 ` SCSI tape (Re: scsi negotiation problem on aic79xx (39320A) in 2.6.14) Denny Page
2006-11-27 17:28   ` Alexander Jolk [this message]
2006-11-27 17:50     ` Raymond Scholz
2006-11-27 18:01       ` Alexander Jolk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456B2052.1060300@buf.com \
    --to=alexj@buf.com \
    --cc=denny@cococafe.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rscholz@zonix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox