AHA-3940 aic7xxx kernel 2.2.13 problem

AHA-3940 aic7xxx kernel 2.2.13 problem

Post by Dr. Marcus Naraido » Mon, 23 Apr 2001 02:53:34

My system:
Adaptec AHA-3940AU (narrow) two channel adapter card.
Adaptec Bios 1.34.1
Seagate Barracuda 18XL ST318416N (narrow) SCSI hard drive.
SuSE Linux v6.3 kernel 2.2.13
Phoenics Bios 4.0 release 4.0E
HP PC with Pentium 2 400MHz, 128MBytes RAM and Bios 02.01

On channel B (SCSI1) I have one external device, Iomega Zip250 (ID5)
with termination
I have just bought a Seagate Barracuda ST318416N 18GByte additional hard
drive which I have
attached to channel A (SCSI0). It has jumpers set to ID0. It is not on
the end of the SCSI bus
and so is not terminated. The end of the SCSI bus is terminated witha
Belkin active terminator.
(I've tried setting termination on the device, putting it at the end of
the bus and removing the
active terminator. No joy.)
I am booting from an another (non-SCSI) disk.

Before OS boot, the system correctly recognises the ST318416N and the
channel and ID.
When LILO begins the OS installation I get the following messages.

SCSI0 Aborting due to time out
SCSI PID2 SCSI0 Chan0 ID0 LUN0 Test ...then some numbers...
SCSI Host 0 abort (pid2) timed out - resetting
SCSI Bus reset for host 0 channel 0
SCSI Host 0 abort (pid2) trying harder
...and so on...

I have changed the internal ribbon cable. Ensured pin-1-orientation.
Made sure the cables
adhere to the appropriate standards and are the correct length.
I have tried SCSISelect sync=no, max rate=5 and this didn't help. (I've
now returned to the
The adapter is in the first PCI slot and this is scanned first.

This appears to be quite a common problem (see Linux news groups).
The termination is fine. The adapter is fine. The drive is fine. The
cable lengths are fine.

This all points to the aic7xxx driver and the options it employs. It
appears that I need to add one
of the following commands. They are all to do with the aic7xxx chipset
driver. Either:

1. at the LILO prompt
LILO boot: linux aic7xxx=seltime:0,no_reset,extended,verbose:0x39 (is
this syntax right?)

2. in the /etc/lilo.conf file
append "aic7xxx='seltime:0.no_reset.extended.verbose:0x39'" (although
the various quotes syntax may be wrong and I could do with help, should
these be commas or periods?)

3. in the /etc/modules.conf file
allias scsi_hostadapter off (...why?)
options aic7xxx aic7xxx=seltime:0,no_reset,extended,verbose:0x39 (commas
or periods?)


alias scsi_hostadapter off
post-install aic7xxx rmmod aic7xxx
post-remove aic7xxx modprobe aic7xxx

NONE of these has any effect. Even the command to the boot prompt is
being ignored! During boot up I get the following messages.

...some text, then...
loading module aic7xxx
using /lib/modules/2.2.13/aic7xxx.o
...some text, including stuff about scsi0 and scsi1 which is fine,
   then this again...
loading module aic7xxx
using /lib/modules/2.2.13/aic7xxx.o
insmod named module already exists

No-where are any of my options being echoed.

It looks  like the module is being loaded twice and the first loading of
the module does not use any of the options I have provided. Where can
this be happening? How can I force the kernel to read my options and not
some which are buried elsewhere?

Furthermore, I'm a little confused. In /etc/rc.config theres the

INITRD_MODULES="aic7xxx aic7xxx"

What the hell is this?

And finally, the chip on my AHA-3940AU is an aic7870 but when I look at
the c source file aic7xxx.c it suggests that the chip will be either an
aic7872 or an aic7895. Will this make a difference? Should I be using a
different aic7xxx.c file? Where will I get that from? How do I compile
it and use it?  If I need to compile my own kernel I'm going to need an
idiots guide. Any pointers?



< 1K Download

1. AHA-3985 and AHA-3940?

yes, actually... I remember seeing someone ask if either of these
were supported by linux.  My understanding is that the 3940 is
just two 2940's, so it might just work.  However, I don't know
what the interface is like to the 3985

Has anyone gotten either of these cards working with linux?

Michael Gile                        |               Graduate Assistant

"Don't Blame Me, I voted for Perot!"| Rensselaer Polytechnic Institute

2. OS5 and Xenix binaries

3. serious ISDN/HiSax/Kernel problems in 2.2.13 and 2.2.16

4. Need help restoring a file(urgent!!)

5. AHA-3940 problems ??

6. Find open file descriptors

7. Update to kernel 2.2.13, problems with XFS and Scsi

8. Can i use my soundcard: Digital Only CardD+ in dosemu ??

9. Problem during and after compiling kernel 2.2.13

10. Kernel 2.2.10--->Kernel 2.2.13

11. kernel 2.2.13 problem, please help !

12. newbie - kernel 2.2.13 - pcmcia-problem

13. lpr problem in Kernel 2.2.13