2.1.91 SMP and aic7xxx

Attila Karpati karpati at cs.elte.hu
Thu Apr 2 11:28:20 PST 1998


Hi,

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 
messages:

(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;

    save_flags(processor_flags);
    cli();
    if (p->delayed_scbs[tindex].head != NULL) 
    {
        scbq_insert_tail(&p->delayed_scbs[tindex], scb);
    }
    else
    {
        scbq_insert_tail(&p->waiting_scbs, scb);
    }
    if ( (p->flags & (AHC_IN_ISR | AHC_IN_ABORT | AHC_IN_RESET)) == 0)
    {
      aic7xxx_run_waiting_queues(p);
    }
    restore_flags(processor_flags);


Can someone correct this with a patch?

Robert G. Brown <rgb at phy.duke.edu> wrote:
> I had exactly the same problem (as have several other folks).  Try
> rearranging the cards on your PCI bus.  I know it shouldn't matter, but
> I think that it matters.  When I rearranged, it booted and worked
> precisely as advertised where before it hung just as you describe
> (11->17 on an onboard aic7881U on the P6DLS mobo).  No other change.

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  

cards in this situation? How did you rearrange your cards?

Attila



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