Subject: Re: New aic78xx driver code update
To: Frank van der Linden <frank@wins.uva.nl>
From: Robert Elz <kre@munnari.OZ.AU>
List: current-users
Date: 03/07/2000 23:22:36
    Date:        Tue, 7 Mar 2000 10:42:00 +0100
    From:        Frank van der Linden <frank@wins.uva.nl>
    Message-ID:  <20000307104200.A28307@wins.uva.nl>

  | I put a new tarfile of the new ahc driver in

I have tested this on an alpha (pc164), this is what I get ...

NetBSD 1.4U (LAVENDER) #1: Tue Mar  7 22:37:05 EST 2000
    root@lavender:/usr/src/sys/arch/alpha/compile/LAVENDER
Digital AlphaPC 164 500 MHz
8192 byte page size, 1 processor.
[...]
ahc0 at pci0 dev 7 function 0
ahc0: interrupting at eb164 irq 1
ahc0: Reading SEEPROM...done.
ahc0: BIOS eeprom is present
ahc0: Secondary High byte termination Enabled
ahc0: Secondary Low byte termination Enabled
ahc0: Primary Low Byte termination Enabled
ahc0: Primary High Byte termination Enabled
ahc0: aic7890/91 ahc0: dmamem for shared data at phys 16e2000 virt fffffc00016e2000 nseg 1 size 768
ahc0: dmamem for hardware SCB structures at phys 16ea000 virt fffffc00016ea000 nseg 1 size 16320
ahc0: dmamem for sense buffers at phys 16ee000 virt fffffc00016ee000 nseg 1 size 8160
ahc0: dmamem for SG space at phys 16f0000 virt fffffc00016f0000 nseg 1 size 8192
Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: SCB physaddr 16ea000
ahc0: ID physaddr 16e2000
DISCENABLE == 0xffffffff
ULTRAENB == 0x0
scsibus1 at ahc0 channel 0: 16 targets, 8 luns per target
[...]
scsibus1: waiting 2 seconds for devices to settle...
stray eb164 irq 1
stray eb164 irq 1
stray eb164 irq 1
stray eb164 irq 1
stray eb164 irq 1; stopped logging

and at that point the kernel hung.   There were no scsi cables connected
to the controller for that test.   I moved my (old) scsi2 (50 pin)
cable (and so devices) from a qlogic 1020 to the ahc and either got
exactly the same behaviour, or...

ahc0: Someone reset channel A
ahc0: Someone reset channel A
ahc0: Someone reset channel A
ahc0: Someone reset channel A
ahc0: Someone reset channel A
ahc0: Someone reset channel A
(into infinity)

depending upon which way I connected it (my cable isn't notched,
and the board doesn't have pin 1 marked any way I could see it).
This replaces the "stray eb64 irq 1" output - though occurred earlier
in the autoconfig process

Thanks for getting this this far.

kre