[CentOS] Adaptec 39320A woes

Fri Aug 3 20:24:12 UTC 2007
Michael St. Laurent <mikes at hartwellcorp.com>

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.

[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 ~]#