How to enable Ultra2 with AIC-7890?

Osma Ahvenlampi oa at spray.fi
Fri Jan 22 04:49:10 PST 1999


I have a Dell PowerEdge 2300 system with aic7890/aic7860 built-in on
the motherboard. I'm running Linux 2.0.36, aic7xxx driver version
5.1.4. I have six drives connected to the aic7890 bus, as follows:

Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: QUANTUM  Model: QM34500TD-SCA    Rev: N1K0
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: QUANTUM  Model: QM39100TD-SCA    Rev: N1K0
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: SEAGATE  Model: ST39173LC        Rev: 5702
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: SEAGATE  Model: ST39173LC        Rev: 5702
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: SEAGATE  Model: ST39173LC        Rev: 5702
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: SEAGATE  Model: ST39173LC        Rev: 5702
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: DELL     Model: 1x6 U2W SCSI BP  Rev: 4.2 
  Type:   Processor                        ANSI SCSI revision: 02

The Adaptec SCSI BIOS reports all devices on this bus as ULTRA2-LVD,
just as I expect. However, aic7xxx seems to be using Fast/Wide mode to
talk on the bus instead of Ultra2. What do I have to configure to
enable Ultra2 (or even Ultra) mode on the bus?

I pass these options to the aic7xxx driver with LILO:

image=/boot/vmlinuz
        label=linux
        root=/dev/sda2
        append="aic7xxx=ultra,verbose,tag_info:{{12,12,12,12,12,12},{1,1,1,1,1,6,4}}"

/proc/scsi/aic7xxx/0:

Adaptec AIC7xxx driver version: 5.1.4/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 10
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7890/1 Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xf9fff000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 72,
                         Allocated 75, HW 32, Page 255
             Interrupts: 344775
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x003f
Ordered Queue Tag Flags: 0x003f
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {12,12,12,12,12,12,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {12,12,12,12,12,12,1,1,1,1,1,1,1,1,1,1}

Statistics:
(scsi0:0:0:0)
  Device using Wide/Sync transfers at
  20.0 MByte/sec, offset 31
    Device Negotiation Settings
        Period Offset Bus Width
User       025    127        1
Goal       025    127        1
Current    025    031        1
    Total transfers 30315 (3051 read;27264 written)
      blks(512) rd=19427; blks(512) wr=84454


(scsi0:0:1:0)
  Device using Wide/Sync transfers at
  20.0 MByte/sec, offset 31
    Device Negotiation Settings
        Period Offset Bus Width
User       025    127        1
Goal       025    127        1
Current    025    031        1
    Total transfers 73364 (20380 read;52984 written)
      blks(512) rd=368235; blks(512) wr=608368


(scsi0:0:2:0)
  Device using Wide/Sync transfers at
  20.0 MByte/sec, offset 15
    Device Negotiation Settings
        Period Offset Bus Width
User       025    127        1
Goal       025    127        1
Current    025    015        1
    Total transfers 48679 (19109 read;29570 written)
      blks(512) rd=357115; blks(512) wr=328384


(scsi0:0:3:0)
  Device using Wide/Sync transfers at
  20.0 MByte/sec, offset 15
    Device Negotiation Settings
        Period Offset Bus Width
User       025    127        1
Goal       025    127        1
Current    025    015        1
    Total transfers 60495 (19836 read;40659 written)
      blks(512) rd=363763; blks(512) wr=427440


(scsi0:0:4:0)
  Device using Wide/Sync transfers at
  20.0 MByte/sec, offset 15
    Device Negotiation Settings
        Period Offset Bus Width
User       025    127        1
Goal       025    127        1
Current    025    015        1
    Total transfers 55053 (19728 read;35325 written)
      blks(512) rd=362611; blks(512) wr=373032


(scsi0:0:5:0)
  Device using Wide/Sync transfers at
  20.0 MByte/sec, offset 15
    Device Negotiation Settings
        Period Offset Bus Width
User       025    127        1
Goal       025    127        1
Current    025    015        1
    Total transfers 76923 (21051 read;55872 written)
      blks(512) rd=377323; blks(512) wr=624712

-- 
Walk softly and carry a megawatt laser.
Osma Ahvenlampi <oa at spray.fi>


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message



More information about the aic7xxx mailing list