AHA-2910

Jason Elliott jason at zarniwop.demon.co.uk
Sat Jul 25 02:07:51 PDT 1998


Hi all,

I've been lurking on this list for a few weeks now and have been applying each
of the 5.1.0 patches up to pre5 (originally on a 2.0.34 kernel, and now on a
2.0.35 kernel).

I have an Adaptec AHA-2910C with a JAZ drive and a Quantum Fireball connected
on the scsi bus.

Whenever I boot I get an infinite loop of SCSI resets/timeouts (see dump of
aic7xxx_panic below).

I have noticed a few of you have posted reports of similar problems, and others
seem to be having some success with later patches.

The one piece of information the *MAY* be of use to you guys who are actually
trying to debug the code is this:

If I try to boot the kernel (using loadlin) when the Adaptec ASPI driver for
DOS (ASPI8DOS.SYS) is loaded ...... IT WORKS!!!

If I boot without having previously loaded the ASPI driver it does not.

Maybe this is of no use at all, but it seems to me that the DOS ASPI driver is
leaving the scsi card in such a state that the linux aic7xxx driver is able to
cope with it. ..... so is there a problem with the initialisation of the scsi
card by the driver (!?!?!?) and would someone be able to dis-assemble (or
somehow reverse engineer) the DOS ASPI driver to work out what the differences
are - no trivial task of course!!

If anyone wants more info on this particular problem please let me know.


This is what happens when I boot *WITH* the DOS ASPI driver:

aic7xxx: <Adaptec AIC-7850 SCSI host adapter> at PCI 15/0
aic7xxx: Initial PCI_COMMAND value was 0x117
aic7xxx: Initial DEVCONFIG value was 0x100
aic7xxx: Loading serial EEPROM...done
aic7xxx: SE Low byte termination Enabled
(scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 15/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) BIOS disabled, IO Port 0xf000, IRQ 11
(scsi0) IO Memory at 0xffae7000, MMAP Memory at 0x4005000
(scsi0) Resetting channel
(scsi0) Downloading sequencer code... 412 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.0pre5/3.2.4
       <Adaptec AIC-7850 SCSI host adapter>
scsi : 1 host.
(scsi0:0:-1:-1) Scanning channel for devices.
  Vendor: iomega    Model: jaz 1GB           Rev: J.83
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 4, lun 0
  Vendor: QUANTUM   Model: FIREBALL1050S     Rev: 630C
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 6, lun 0
scsi : detected 2 SCSI disks total.
(scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2091050 [1021 MB] [1.0 GB]
sda: Write Protect is off
(scsi0:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 8.
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2051460 [1001 MB] [1.0 GB]



And this is what happens without it:

 ...... some stuff scrolled off the top of the screen ....
scsi0: Adaptec AHA274x/284x/294x (EISA/VLB/PCI Fast SCSI) 5.1.0pre5/3.2.4
    <Adaptec AIC-7850 SCSI host adapter>
scsi: 1 host.
(scsi0:0:-1:-1) Scanning channel for devices
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0
Test Unit Ready 00 00 00 00 00
aic7xxx driver version 5.1.0pre5/2.0.35
Controller type:
    Adaptec AIC-7850 SCSI host adapter
p->flags=0x100401, p->chip=0x402, p->features=0x100, sequencer isn't paused
SIMODE0=0x0, SIMODE1=0xa4, SSTAT0=0x4, SSTAT1=0x0, INTSTAT=0x0
SCSISIGI=0x0, SXFRCTL0=0x80, SXFRCTL1=0x27, SCSISEQ=0x12, SCSICTL=0xb0
SCSIRATE=0x0, SEQADDR=0x186, LASTPHASE=P_DATAOUT
Timed out comand is scb #29:
Tag29: flags=0x4, conrol=0x40, TCL=0x0, Sent
QINFIFO: (TAG)
Current SCB: (SCBPTR/TAG/CONTROL) 0/255/0x0
WAITING_SCBS: (SCBPTR/TAG/CONTROL) 255->
DISCONNECTED_SCBS: (SCBPTR/TAG/CONTROL) 255->
FREE_SCBS: (SCBPTR/TAG/CONTROL) 1->1/255/0x0 2/255/0x0
SCBPTR    CONTROL    TAG    PREV    NEXT
     0              00            ff         ff            01
     1              00            ff         00          02
     2              00            ff         01          ff

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