Re: SCSI tape (Re: scsi negotiation problem on aic79xx (39320A) in 2.6.14)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux