WOW! Async negotiation works now!

Andre Hinrichs andre at u9eta.dmst01.telekom.de
Wed Dec 9 12:39:39 PST 1998


HI!

I tested the hack from Holger Lenz on my system and the system works!!!
Now, Doug has to decide what is usable for the official patch.

I attached some kernel information.
Let me know if you need more information.

I'm now looking forward to the 2.2 kernel with a working aic7xxx driver.

Greetings

  Andre

> OK, here it is - use standard patch -p1 in linux directory. It applies
> to a clean 5.1.4 aic7xxx.c as supplied with linux 2.0.36.
> Use at your own risk - even though I had no problems, theres no telling
> what might go wrong - the driver is very complicated.
>
> After applying the patch, recompile the kernel and set
> Initiate Sync Negotiation AND
> Initiate Wide Negotiation (if applicable) to NO in the BIOS.
>
> If the settings are as indicated above, youll see
> aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 11/0
> aic7xxx: Initial PCI_COMMAND value was 0x17
> aic7xxx: Initial DEVCONFIG value was 0x1580
> aic7xxx: Loading serial EEPROM...done
> aic7xxx: ASYNC_HACK triggered for target 2
> ...
> on bootup if the settings came through to the driver. If it works, later
> on youll get
> (scsi0:0:2:0) ASYNC_HACK: FORCING ASYNC
> (scsi0:0:2:0) Using asynchronous transfers.
> (scsi0:0:2:0) Using Narrow(8bit) transfers
>   Vendor: SyQuest   Model: SQ3270S           Rev: 1_27
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> ...
>
> let me know how it goes. Please send replies to aic7xxx at FreeBSD.ORG, so
> I get them at work too - and maybe Doug Ledford will get interested and
> investigate the issue.
-------------- next part --------------
Adaptec AIC7xxx driver version: 5.1.4/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 5
  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     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
                           Ultra Wide Controller
    PCI MMAPed I/O Base: 0xeb000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 15
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 16, Page 255
             Interrupts: 4892
      BIOS Control Word: 0x0026
   Adapter Control Word: 0x005a
   Extended Translation: Disabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0005
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:
(scsi0:0:0:0)
  Device using Wide/Sync transfers at
  40.0 MByte/sec, offset 8
    Device Negotiation Settings
        Period Offset Bus Width
User       012    008        1
Goal       012    008        1
Current    012    008        1
    Total transfers 4304 (3679 read;625 written)
      blks(512) rd=30785; blks(512) wr=1840
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      1   1875     82    712    969     19     15      6      0 
Writes:     0      0    475    128     15      7      0      0      0      0 

(scsi0:0:2:0)
  Device using Narrow/Sync transfers at
  20.0 MByte/sec, offset 15
    Device Negotiation Settings
        Period Offset Bus Width
User       012    015        0
Goal       012    015        0
Current    012    015        0
    Total transfers 501 (499 read;2 written)
      blks(512) rd=1239; blks(512) wr=4
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      1    495      0      1      0      0      2      0      0 
Writes:     0      0      2      0      0      0      0      0      0      0 

(scsi0:0:4:0)
  Device using Narrow/Async transfers.
    Device Negotiation Settings
        Period Offset Bus Width
User       000    000        0
Goal       000    000        0
Current    000    000        0
    Total transfers 2 (2 read;0 written)
      blks(512) rd=2; blks(512) wr=0
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      2      0      0      0      0      0      0      0      0 
Writes:     0      0      0      0      0      0      0      0      0      0 

-------------- next part --------------
Loaded 3577 symbols from /System.map.
Symbols match kernel version.
klogd 1.3-0, log source = /proc/kmsg started.
<4>Memory: sized by int13 0e801h
<4>Console: 8 point font, 400 scans
<4>Console: colour VGA+ 80x50, 1 virtual console (max 63)
<4>pcibios_init : BIOS32 Service Directory structure at 0x000fad60
<4>pcibios_init : BIOS32 Service Directory entry at 0xfb1e0
<4>pcibios_init : PCI BIOS revision 2.10 entry at 0xfb210
<4>Probing PCI hardware.
<4>Calibrating delay loop.. ok - 266.24 BogoMIPS
<4>Memory: 127884k/131072k available (692k kernel code, 384k reserved, 2112k data)
<6>Swansea University Computer Society NET3.035 for Linux 2.0
<6>NET3: Unix domain sockets 0.13 for Linux NET3.035.
<4>Swansea University Computer Society TCP/IP for NET3.034
<4>IP Protocols: ICMP, UDP, TCP
<5>VFS: Diskquotas version dquot_5.6.0 initialized

<4>Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
<4>Checking 'hlt' instruction... Ok.
<4>Linux version 2.0.36 (root at w9e64007) (gcc version 2.7.2.1) #1 Wed Dec 9 20:17:56 CET 1998
<4>Starting kswapd v 1.4.2.2 
<6>Serial driver version 4.13 with no serial options enabled
<6>PS/2 auxiliary pointing device detected -- driver installed.
<4>APM BIOS version 1.2 Flags 0x07 (Driver version 1.2)
<4>    Entry f000:8010 cseg16 f000 dseg fdfa cseg len e7d6, dseg len 0
<4>    Connection version 1.1
<4>    AC on line, battery status unknown, battery life unknown
<4>    battery flag 0x80, battery life unknown
<4>Sound initialization started
<4><Sound Blaster 16 (4.16)> at 0x220 irq 5 dma 1,5
<4><Yamaha OPL3 FM> at 0x388
<4>Sound initialization complete
<4>loop: registered device at major 7
<4>aic7xxx: ASYNC_HACK triggered for target 4
<6>(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 17/0
<6>(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
<6>(scsi0) Downloading sequencer code... 419 instructions downloaded
<4>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.4/3.2.4
<4>       <Adaptec AHA-294X Ultra SCSI host adapter>
<4>scsi : 1 host.
<4>  Vendor: IBM       Model: DCAS-34330W       Rev: S65A
<4>  Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
<4>  Vendor: WDIGTL    Model: ENTERPRISE        Rev: 1.70
<4>  Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0
<4>  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.02
<4>  Type:   CD-ROM                             ANSI SCSI revision: 02
<4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
<6>(scsi0:0:4:0) ASYNC_HACK: FORCING ASYNC
<6>(scsi0:0:4:0) Using asynchronous transfers.
<4>  Vendor: FUJITSU   Model: M2513A            Rev: 1000
<4>  Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Detected scsi removable disk sdc at scsi0, channel 0, id 4, lun 0
<4>scsi : detected 1 SCSI cdrom 3 SCSI disks total.
<6>(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
<4>SCSI device sda: hdwr sector= 512 bytes. Sectors= 8467200 [4134 MB] [4.1 GB]
<6>(scsi0:0:2:0) Synchronous at 20.0 Mbyte/sec, offset 15.
<4>SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4254819 [2077 MB] [2.1 GB]
<4>sdc : unsupported sector size 2048.
<4>SCSI device sdc: hdwr sector= 2048 bytes. Sectors= 0 [0 MB] [0.0 GB]
<4>sdc: Write Protect is off
<4>eth0: 3c509 at 0x210 tag 1, 10baseT port, address  00 20 af 58 bb 7d, IRQ 3.
<4>3c509.c:1.16 2/3/98 becker at cesdis.gsfc.nasa.gov
<4>Partition check:
<4> sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 >
<4> sdb: sdb1 sdb2 sdb3
<4> sdc:scsidisk I/O error: dev 08:20, sector 0, absolute sector 0
<4> unable to read partition table
<4>VFS: Mounted root (ext2 filesystem) readonly.
<4>Adding Swap: 122876k swap-space (priority -1)
<4>Adding Swap: 102380k swap-space (priority -2)
Kernel logging (proc) stopped.
Kernel log daemon terminating.


More information about the aic7xxx mailing list