ez-scsi speed settings and aic7890

Dennis J.A. Bijwaard bijwaard at Speed.a2000.nl
Sun Apr 11 19:01:29 PDT 1999


Hi,

I hope someone here can shed some light on this problem, with which I
have been strugling for some months now.

I have an on-board aic7890 scsi controller which is supported since
kernel
2.0.36. However, I get errors with my Plextor 32x and Ricoh 4x2 when I
read and compare iso9660 images (I use xcdroast for this). The errors
also persist in the 2.2.5 kernel. The same cdroms work fine with my
aic7850
controller (with bootoption to avoid recursive reboots).

The same problem also occurs in NT when the speed setting in the EZ-SCSI
menu of the scsi bios higher than 20Mb/s, but not when I set it to
20Mb/s
or lower. 

The problem always exists in linux, so I presume linux takes the speed 
settings for granted and just uses the maximum value for the scsi type.
I just patched the 2.2.5 kernel with aic7xxx version 5.1.14, to no
avail.

It reports the following scsi messages during boot (patched kernel
2.2.5)
with ricoh on aic7890 and plextor on aic7850 controller:

(scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 6/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 374 instructions downloaded
(scsi1) <Adaptec AIC-7850 SCSI host adapter> found at PCI 9/0
(scsi1) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi1) Downloading sequencer code... 406 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.14/3.2.4
       <Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.14/3.2.4
       <Adaptec AIC-7850 SCSI host adapter>
scsi : 2 hosts.
(scsi0:0:3:0) Synchronous at 10.0 Mbyte/sec, offset 15.
  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.03
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
  Vendor: RICOH     Model: RO-1420C          Rev: 1.62
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
(scsi0:0:6:0) Synchronous at 80.0 Mbyte/sec, offset 31.
  Vendor: QUANTUM   Model: VIKING II 4.5WLS  Rev: 4110
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 6, lun 0
scsi : detected 2 SCSI cdroms 1 SCSI disk total.
Uniform CDROM driver Revision: 2.54
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8910423 [4350 MB] [4.4
GB]

The quantum viking II on the ultra2/lvd connector seems to work
flawlessly.
Writing with the ricoh cdwriter seems to work good on the aic7890 as
well.

My questions:
- Can I make linux use the ez-scsi speed values?
- Can I somehow set the speed value in linux, or is the driver just too
  damn fast?
- Are there other ways to circumvent this problem?
- Is more info required?

Maybe the /proc/scsi/aic7xxx/0 (aic7890) and /proc/scsi/aic7xxx/1
(aic7850)
info is also of importance, just in case I have included them below.

-- 
Kind regards,
			Dennis Bijwaard (remove antispam to reply)

/proc/scsi/aic7xxx/0
------------------------------------------------
Adaptec AIC7xxx driver version: 5.1.14/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 10

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7890/1 Ultra2 SCSI host adapter
                           Ultra-2 LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe1000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 14
                   SCBs: Active 0, Max Active 9,
                         Allocated 15, HW 32, Page 255
             Interrupts: 153555
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0040
Ordered Queue Tag Flags: 0x0040
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,8,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0/0), goal(25/127/0/0),
user(25/127/1/0)
  Total transfers 121735 (121735 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+  
128K+
   Reads:       1       0     464       0       0  121270       0      
0
  Writes:       0       0       0       0       0       0       0      
0


(scsi0:0:4:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(25/127/1/0)
  Total transfers 0 (0 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+  
128K+
   Reads:       0       0       0       0       0       0       0      
0
  Writes:       0       0       0       0       0       0       0      
0


(scsi0:0:6:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 31
  Transinfo settings: current(10/31/1/0), goal(10/127/1/0),
user(10/127/1/0)
  Total transfers 30504 (6554 reads and 23950 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+  
128K+
   Reads:    2020    2573     150     610     608      97     200    
296
  Writes:    1065    1413     181    4498    1346      62     127  
15258


/proc/scsi/aic7xxx/1
------------------------------------------------
Adaptec AIC7xxx driver version: 5.1.14/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 10

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
                           Narrow Controller
    PCI MMAPed I/O Base: 0xe0800000
 Adapter SEEPROM Config: SEEPROM not found, using defaults.
      Adaptec SCSI BIOS: Disabled
                    IRQ: 14
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 3, Page 255
             Interrupts: 14
      BIOS Control Word: 0x0000
   Adapter Control Word: 0x0000
   Extended Translation: Disabled
Disconnect Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 1:
      {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 1:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:


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