[bug] misdetection of syncrate in aic7xxx version 5.1.19

Meurisse Vincent Vincent.Meurisse at icn.siemens.de
Fri Aug 13 01:34:11 PDT 1999


>I expect to find out if your CD-ROM that is not seeing the right speed also
>happens to have its speed setting in the Adaptec SCSI BIOS set to less than
>the maximum speed.  In general, with the latest aic7xxx driver versions,
the
>driver will always do the right thing with your BIOS set to the maximum
speed,

You were right : I put the maximum speed for each ID in the SCSI BIOS and
the devices were then all set to the correct speed by the driver. Thanks for
the tip !
But shouldn't we expect that the driver finds the right syncrates even if we
put the correct values in the SCSI BIOS ?
I wonder why the driver detected it right for the ultra2 devices, for the
ultra device but not for the fast device... might it be related to the
offset which always the same but for the device which was misdetected ?

FYI, both /proc/scsi/aic7xxx/0 with different values set in the SCSI BIOS :
------------ the one with the correct syncrates -> detection fails
--------------

Adaptec AIC7xxx driver version: 5.1.19/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Disabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra2 SCSI host adapter
                           Ultra-2 LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe0000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 16,
                         Allocated 30, HW 32, Page 255
             Interrupts: 2089
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0300
Ordered Queue Tag Flags: 0x0300
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,8,8,1,1,1,1,1,1}

Statistics:

(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
  Transinfo settings: current(12/15/0/0), goal(12/127/0/0), user(12/127/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:4:0)
  Device using Narrow/Sync transfers at 5.0 MByte/sec, offset 8
  Transinfo settings: current(50/8/0/0), goal(50/127/0/0), user(50/127/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:8:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/127/1/0), user(10/127/1/0)
  Total transfers 1691 (1458 reads and 233 writes)


(scsi0:0:9:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/127/1/0), user(10/127/1/0)
  Total transfers 275 (264 reads and 11 writes)

------ the one with all speed set to the max in the SCSI BIOS -> detection
OK -------- 

Adaptec AIC7xxx driver version: 5.1.19/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Disabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra2 SCSI host adapter
                           Ultra-2 LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe0000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 16,
                         Allocated 30, HW 32, Page 255
             Interrupts: 5413
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0300
Ordered Queue Tag Flags: 0x0300
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,8,8,1,1,1,1,1,1}

Statistics:

(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
  Transinfo settings: current(12/15/0/0), goal(10/127/0/0), user(10/127/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:4:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 8
  Transinfo settings: current(25/8/0/0), goal(10/127/0/0), user(10/127/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:8:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/127/1/0), user(10/127/1/0)
  Total transfers 2886 (1456 reads and 1430 writes)


(scsi0:0:9:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/127/1/0), user(10/127/1/0)
  Total transfers 2404 (1873 reads and 531 writes)
--------------------------------------------------------------------------

	Regards,

			Vincent.


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