Problem with AHA-2940 Ultra and

J.M.Gaeta (gaeta@picker.com)
Fri, 27 Sep 1996 09:33:02 -0400


I am running linux-2.0.21 on a couple of systems, and it seems to be
quite stable. I have a peculiar problem with a AHA-2940 Ultra (PCI)
SCSI controller I just added to one of the systems.

If I build the Adaptec AIC7xxx driver version: 3.4/3.2/3.1 directly
into the kernel, the system hangs when I try to boot. It seems to
reset the SCSI bus OK and detects the SEAGATE Model: ST15230N drive.
It hangs after the lines:

eth0: 3c509 at 0x300 tag 1, AUI port, address 00 20 af 07 60 f7, IRQ 5.
3c509.c:1.07 6/15/95 becker@cesdis.gsfc.nasa.gov

(Have had no such boot problems until I installed the Adaptec SCSI
controller).

If I build the driver aic7xxx.o as a module, and then:

insmod /lib/modules/2.0.21/scsi/aic7xxx.o
(then fsck and mount the partitions on the SCSI drive)

AFTER the Ethernet controllers have been initialized, it works like
a charm.

Here is some additional information:

cat /proc/scsi/aic7xxx/0

Adaptec AIC7xxx driver version: 3.4/3.2/3.1

Compile Options:
AIC7XXX_RESET_DELAY : 15
AIC7XXX_TWIN_SUPPORT : Enabled
AIC7XXX_TAGGED_QUEUEING: Disabled
AIC7XXX_PAGE_ENABLE : Disabled
AIC7XXX_PROC_STATS : Disabled

Adapter Configuration:
SCSI Adapter: AHA-2940 Ultra
(AIC-788x chipset)
Host Bus: Single
Base IO: 0xfc00
IRQ: 11
SCBs: Used 2, HW 16, Page 16
Interrupts: 1447
Serial EEPROM: True
Extended Translation: Enabled
SCSI Bus Reset: Enabled
Ultra SCSI: Enabled
Target Disconnect: Enabled

cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST15230N Rev: 0298
Type: Direct-Access ANSI SCSI revision: 02

There are two Ethernet boards on this system a 3c509, and a DEC
DE500-XA at 0xf880 (PCI bus 0, device 10). There are 3 PIC bus
boards: DiamondMM 3240, DE500-XA, and the AHA-2940 Ultra. I am
confused, it works great with the AHA-2940 loaded as a module, but
hangs when it is built into the kernel...

Is it a problem with the AHA-2940 Ultra controller?
Is it a problem with the AHA-2940 Ultra Linux driver?
Is it a problem with the 3c509 Ethernet controller that is now showing
up when I add the SCSI controller?
Is it a problem with the 3c509 Linux driver?
Am I doing something incorrectly?

Any hints or testimonials from folks using a similar configuration?
Any additional information I should be providing?

Thanks in advance for your assistance.

--
Jay Gaeta <gaeta@picker.com>