Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2000 13:07:01 -0700
From:      sjbuller@us.ibm.com
To:        aic7xxx@FreeBSD.ORG
Subject:   aic7xxx=tag_info
Message-ID:  <872568B3.006E7E87.00@d53mta04h.boulder.ibm.com>

next in thread | raw e-mail | index | archive | help




I need to surgically set the TCQ depths for one of my devices
without clobbering TCQs for the whole system. The
aic7xxx=tag_info parm looks like just the ticket, but can't
get it to do what I told it to do.

I've compiled the driver into the kernel, removed it from
conf.modules and added the following to lilo.conf:

  append="max_scsi_luns=64 aic7xxx=tag_info:{,,{0,1,2,3,4,5,6,7}}"

This should leave the first two adapters (0 and 1) alone and
set scsi2 ID0 to 0, ID1 to 1, etc. for demo purposes.

This works for ID0-3, but does not for ID4-7.  I get:

   Default Tag Queue Depth: 100
       Tagged Queue By Device array for aic7xxx host instance 2:
         {0,1,2,3,0,0,0,0,0,0,0,0,0,0,0,0}
       Actual queue depth per device for aic7xxx host instance 2:
         {1,1,1,1,1,1,100,1,1,1,1,1,1,1,1,1}

Since I could not get past ID3, I had to use a sledgehammer
solution of compiling the kernel with TCQ with TCQ
default=enabled and default depth=100 (I need to set TCQ depth
on ID6 to around 75 or 80).

I would like to leave everything as close to "out of box" as
possible by just enabling and setting scsi2:ID6 to whatever.

Another attempt with:
  append="max_scsi_luns=64 aic7xxx=tag_info:{,,{75,75,75,75,75,75,75,75}}"
Resulted in:
   Tagged Queue By Device array for aic7xxx host instance 2:
            {75,75,75,0,0,0,0,0,0,0,0,0,0,0,0,0}
Note that only the first 3 were set....

Any ideas what is going on here?

Regards,
Steve Buller


*********************************************************
Redhat 6.1, kernel 2.2.12-20
Adaptec AIC7xxx driver version: 5.1.20/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-2944 Ultra SCSI host adapter
                           Ultra Wide Controller
    PCI MMAPed I/O Base: 0x9dcff000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 46, Max Active 100,
                         Allocated 255, HW 16, Page 255
             Interrupts: 26357970
      BIOS Control Word: 0x10a6
   Adapter Control Word: 0x005f
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0040
 Tag Queue Enable Flags: 0x0040
Ordered Queue Tag Flags: 0x0040
Default Tag Queue Depth: 100
    Tagged Queue By Device array for aic7xxx host instance 2:
      {0,1,2,3,0,0,0,0,0,0,0,0,0,0,0,0}
    Actual queue depth per device for aic7xxx host instance 2:
      {1,1,1,1,1,1,100,1,1,1,1,1,1,1,1,1}




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?872568B3.006E7E87.00>