Technical article 105016

Adaptec 3940 SCSI adapter (dual channel) doesn't work when using a single IRQ.

OpenServer 5.0.0

Written · Last revised

Problem

I have an Adaptec 3940 Dual Channel SCSI PCI controller and want to use it for SCO OpenServer Release 5.

I have attempted to configure this adapter to use the "alad" driver. When SCO OpenServer 5 is booted up, these driver messages are seen on the hardware screen:

device    address       vector  dma     comment
--------------------------------------------------------------
...
%adapter  0xXXXX-0xXXXX 11      -   type=alad ha=0 id=7 fts=st
%adapter  0xXXXX-0xXXXX 11      -   type=alad ha=1 id=7 fts=st
...

Although the devices on channel A work fine, I cannot access any of the devices on channel B.

I have tried three different alad drivers:

- the one supplied in the basic SCO OpenServer 5 product - the one from the Advanced Hardware Supplement 5.1 - the one supplied in the Adaptec package ("alad325")

The symptoms of this problem are, however, the same when using each of these drivers.

Cause

Although the Adaptec 3940 appears to be a dual channel card, it is actually two Adaptec 2940's on the same card, and therefore needs to be configured as two separate adapters with different Interrupt Request Queues (IRQs), rather than one adapter with two buses.

Solution

Modify the machine's BIOS configuration for this adapter in order
to configure it to use two different IRQs.  For example, use IRQ 11
for the first PCI slot and IRQ 10 for the second (empty) PCI slot.

After this change to the BIOS configuration, reboot the system, and these driver messages should now be displayed at the hardware screen:

device    address       vector  dma     comment
--------------------------------------------------------------
...
%adapter  0xXXXX-0xXXXX 11      -   type=alad ha=0 id=7 fts=st
%adapter  0xXXXX-0xXXXX 10      -   type=alad ha=1 id=7 fts=st
...

It should now be possible to access all of the devices attached to channel B of this adapter, using any of the three alad drivers specified above.

NOTE:     The following hardware requirements are necessary when using the
          Adaptec 3940 Dual Channel SCSI PCI controller:

- the system BIOS must support PCI-to-PCI bridging (PPB) - the machine's motherboard must be PCI v2.0-compliant

From the Xinuos technical article database, record 105016. Reproduced with permission. The original is at www.sco.com/ta/105016, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.