2.1.91 SMP and aic7xxx
dledford at dialnet.net
Thu Apr 2 19:25:59 PST 1998
Attila Karpati wrote:
> Robert HYATT <hyatt at cis.uab.edu> wrote:
> > 2. try 2.1.92, plus Ingo's patch sent to this list this morning
> > some time.
> I did so and tried the newest aic driver (5.0.10). I got the following kernel
> (scsi0) Wide channel, SCSI ID 7, 16/255 SCBs
> (scsi0) BIOS enabled, IO port 0xec00, IRQ 17
> (scsi0) IO Memory at 0xfebff000, MMAP Memory at 0x00000000
> (scsi0) Resetting channel
> (scsi0) Dowloading sequencer code... 413 instructions downloaded
> scsi0: Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.10/3.2.2
> <Adaptec AIC-7880 Ultra SCSI host adapter>
> scsi: 1 host.
> (scsi0:0:-1:-1) Scanning channel for devices.
> (scsi0:-1:-1:-1) Allocating initial 30 SCB structures
> Here stopped the kernel.
> The place where the hang occurs in the aic7xxx.c source file (i think):
> <Line 8008>
> scb->flags |= SCB_ACTIVE | SCB_WAITINGQ;
> if (p->delayed_scbs[tindex].head != NULL)
> scbq_insert_tail(&p->delayed_scbs[tindex], scb);
> scbq_insert_tail(&p->waiting_scbs, scb);
> if ( (p->flags & (AHC_IN_ISR | AHC_IN_ABORT | AHC_IN_RESET)) == 0)
> Can someone correct this with a patch?
It's very unlikely that the code is hanging in the spot you mentioned. More
likely is that we are sending the command to the sequencer and then never
getting the interrupts we should get from the REQINIT phase of negotiation
or from SELTO interrupts. Hmmm....maybe we could talk Ingo onto releasing a
patch that would force the IO-APIC code to disabled for testing purposes to
see if the IRQ->IO-APIC mapping on your motherboard has anything to do with
> The machine has 4 PCI slots full with 3 ethernet (tulip) cards and a VGA card.
> The controller is an onboard one. Do you think it would help to rearrange the
Possibly, try to get the VGA card and the Adaptec on the same IRQ, and all
of the Tulip cards on different IRQs (that is, if your BIOS prints out the
nice message at bootup to tell you what IRQs it assiged, otherwise you may
> cards in this situation? How did you rearrange your cards?
> To Unsubscribe: send mail to majordomo at FreeBSD.org
> with "unsubscribe aic7xxx" in the body of the message
Doug Ledford <dledford at dialnet.net>
Opinions expressed are my own, but
they should be everybody's.
To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message
More information about the aic7xxx