Re: Adaptec 39320A woes

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



Hi,

Plant, Dean wrote:
Simple fix,

Adaptec & CentOS = :-(
LSI & CentOS = :-)

Which is why after a few hours of testing I decided to indeed buy a
couple of LSI cards to test with -- far better than a lot of frustration.

But, meanwhile, I decided to test one more thing: just suppose that the
SCSI auto-negotiation, which worked fine before, had suddenly given up
in version 3.0 of the aic79xx driver?

I forced the transfer rate in the Adaptec BIOS for those IDs to the
maximum that my Infortrend could support (U160) and for good measure
disabled "Disconnect" as well. Then, rebooted into 2.6.18-8.1.6&8, and
it worked: User==Goal==Curr==160.0 MB/s.
Apparently, the latest aic79xx driver V3.0 does no longer support
auto-negotiation, whereas all drivers <=1.3.11 did negotiate correctly.

Michael, maybe that works for you as well (unless your tapedrive
actually does do U320)?

	DavidG.

Anyway, the LSI cards will finally give me >2TByte devices, so it's good
having those anyway.

We spent a few days trying to get Adaptec cards working with LTO-3
drives. It was suggested to me from this list to try an LSI, we bought
one, it worked, problem solved.

Dean

David Groep wrote:

[sorry for breaking the threading, only joined after reading this on
the web]
Michael St. Laurent wrote:

I'm having speed problems with the SCSI card we're using to do tape
backup.  It seems to be functioning in 16 bit mode and the current
thinking is that perhaps it's using a legacy driver instead of the
correct one.  The Adaptec site has a 'driver' for RHEL5 which I've
downloaded and tried to install but it seems to have a problem
installing on a CentOS-5 system.

Hit this same issue with a slightly different configuration, and
although not able to offer a solution, I can at least give some more
boundary conditions. As I see it now, it starts to look like a driver
issue.
- I found the issue with a 39320 controller on CentOS5/i386,
  talking to an Infortrend IFT-7250F enclosure. It should be doing
  U160 (Wide, 80 MHz synchonous), but it decays to 3.300 MB/s
  transfers. The driver indeed even says the "Goal" is 3.300 MB/s ...

  It is confirmed by the infortrend: it shows asynchonous/narrow as
  transfer settings for the SCSI channels after loading the aic79xx
driver.
- Exchanging the 39320 for a 29320, still on the same machine with
  CentOS5/i386, does not change it: still 3.300 MB/s (as confirmed
  by the infortrend itself)

- putting this same 29320, with the same IFT7250F and with the
  same cabling, in another machine running CentOS3.7: presto, it
  synchonizes again at 160 MB/s (Wide, 80 MHz)!

- similar Adaptec 29320 and 39320's in a CentOS4/i386 box, connected
  to similar Infortrends: work correctly at 160 and 320 MB/s

- Booting into kernel 2.6.18-8.el5 or 2.6.18-8.1.8.el5 makes no
difference
For CentOS5, the aic79xx driver is "Version: 3.0". For CentOS3 it's
using driver "1.3.10-RH1", and for the CentOS4 systems, it's "1.3.11".
What changed between 1.3.11 and 3.0?

At least you're not alone ...

	Regards,
	DavidG.

PS: and indeed, the adaptec driver RPM does not install correctly,
with the same errors you reported below.


[root <at> hcnas modules]# cd /proc/scsi
[root <at> hcnas scsi]# cat scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 08 Lun: 00
 Vendor: DP       Model: BACKPLANE        Rev: 1.05
 Type:   Enclosure                        ANSI SCSI revision: 05
Host: scsi0 Channel: 02 Id: 00 Lun: 00
 Vendor: DELL     Model: PERC 5/i         Rev: 1.03
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 06 Lun: 00
 Vendor: CERTANCE Model: ULTRIUM 2        Rev: 1914
 Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 06 Lun: 01
 Vendor: DELL     Model: PV-124T          Rev: 0043
 Type:   Medium Changer                   ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
 Vendor: Dell     Model: Virtual  CDROM   Rev: 123
 Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi4 Channel: 00 Id: 00 Lun: 00
 Vendor: Dell     Model: Virtual  Floppy  Rev: 123
 Type:   Direct-Access                    ANSI SCSI revision: 02
[root <at> hcnas scsi]# ll total 0
dr-xr-xr-x 2 root root 0 Aug  3 13:21 aic79xx
-r--r--r-- 1 root root 0 Aug  3 13:21 device_info
-r--r--r-- 1 root root 0 Aug  3 13:21 scsi
dr-xr-xr-x 2 root root 0 Aug  3 13:21 sg
dr-xr-xr-x 2 root root 0 Aug  3 13:21 usb-storage
[root <at> hcnas scsi]# cd aic79xx/
[root <at> hcnas aic79xx]# ll
total 0
-rw-r--r-- 1 root root 0 Aug  3 13:09 1
-rw-r--r-- 1 root root 0 Aug  3 13:09 2
[root <at> hcnas aic79xx]# cat 1
Adaptec AIC79xx driver version: 3.0
Adaptec 39320A Ultra320 SCSI adapter
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512
SCBs Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8
0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8
0x09f4 0x0142 0x2807 0x0010 0xffff 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0430 0xb3f3

Target 0 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 1 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 2 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 3 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 4 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 5 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 6 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
       RDSTRM|DT|IU|RTI|QAS, 16bit) Goal: 3.300MB/s transfers
       Curr: 3.300MB/s transfers
       Channel A Target 6 Lun 0 Settings
               Commands Queued 29
               Commands Active 0
               Command Openings 1
               Max Tagged Openings 0
               Device Queue Frozen Count 0
       Channel A Target 6 Lun 1 Settings
               Commands Queued 20
               Commands Active 0
               Command Openings 1
               Max Tagged Openings 0
               Device Queue Frozen Count 0
Target 7 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 8 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 9 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 10 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 11 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 12 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 13 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 14 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) Target 15 Negotiation Settings
       User: 320.000MB/s transfers (160.000MHz
RDSTRM|DT|IU|RTI|QAS, 16bit) [root <at> hcnas ~]# rpm -e
a320raid-3.00.063.5.V580A1-1 [root <at> hcnas ~]# rpm -ivh
a320raid.rhel5.i686.rpm Preparing... ########################################### [100%] 1:a320raid ########################################### [100%]
Adaptec adp94xx driver installer - V1.2.5934.0-1

Backing up all modified files to /boot/adp94xx-backup-3

Using GRUB configuration
If this is not what you want, rename your /boot/grub/grub.conf file
/boot -rw------- 1 root root 2403411 Jul 27 14:47
initrd-2.6.18-8.1.8.el5.img
/boot/vmlinuz-2.6.18-8.1.8.el5 /boot/initrd-2.6.18-8.1.8.el5.img
CentOS (2.6.18-8.1.8.el5) Configuration [CentOS (2.6.18-8.1.8.el5)]
/boot/vmlinuz-2.6.18-8.1.8.el5 -> 2.6.18-8.1.8.el5

****** PROBLEM *******
No prebuilt module for 2.6.18-8.1.8.el5 i686
**********************
/boot
-rw------- 1 root root 2403318 Jul 27 07:39 initrd-2.6.18-8.el5.img

/boot/vmlinuz-2.6.18-8.el5 /boot/initrd-2.6.18-8.el5.img CentOS
(2.6.18-8.el5) Configuration [CentOS (2.6.18-8.el5)]
/boot/vmlinuz-2.6.18-8.el5 -> 2.6.18-8.el5

****** PROBLEM *******
No prebuilt module for 2.6.18-8.el5 i686
**********************

***************************************
******** NO MODULES INSTALLED *********
***************************************

Done.
error: %post(a320raid-3.00.063.5.V580A1-1.i686) scriptlet failed,
exit status 1 [root <at> hcnas ~]#

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


--
David Groep

** National Institute for Nuclear and High Energy Physics, PDP/Grid group **
** Room: H1.56 Phone: +31 20 5922179, PObox 41882, NL-1009DB Amsterdam NL **

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux