2 SCSI-Controllers with linux?

Piete Brooks Piete.Brooks at cl.cam.ac.uk
Thu Feb 19 07:15:35 PST 1998


> A very short question: "Is it possible to use two AHA2940 Controllers
> with Linux or are there any known problems?"

A related question: If I have an AIC-7880 and an AHA-294X (one on the 
motherboard, the other on a PCI card), is there a way to select to *JUST* use 
one of them, and to ignore the other completely ?




<BACKGROUND>
RedHat 5.0, Linux 2.0.32, aic7xxx module, I'm a comparative SCSI newbie ....

Someone ordered a Dual PII/300 system using a R440LX Motherboard
( http://www.intel.com/design/servers/R440LX/ ) and a SCSI disk.

Something in the onboard controller would not do sufficient mappings to allow 
it to see 500 cylinders (as NT did) but over 4000 cylinders, so NT and Linux 
disagreed strongly on what was where, and the BIOS could only access 1/4 of 
the disk.

The suppliers tried a second disc (IBM DCAS-34330W instead of the original 
DCAS-34330) but the same symptoms.

I tried a AHA2920, and it sees 500 cylinders just fine (on the DCAS-34330W 
(but not the DCAS-34330 as I remember).

If I try to modprobe aic7xxx, it sees *BOTH* controllers, and throws a wobbly 
(I suspect because the onboard aic7xxx has nothing on its bus ...)
I have told the BIOS to "Disable Boot Scan" and "Disable Master" on the 
onboard controller, but I can't totally disable it ...

If I could tell it *just* to use the PCI card, I could move the disc from the 
AHA2920 and see how many cylinders it sees.

<FINE DETAIL>
pike:~: cat /proc/pci
PCI devices found:
  Bus  0, device  20, function  3:
    Bridge: Intel 82371AB PIIX4 Power Management (rev 1).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device  20, function  2:
    USB Controller: Intel 82371AB PIIX4 (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master Capable.  
Latency=64.
      I/O at 0xfcc0.
  Bus  0, device  20, function  1:
    IDE interface: Intel 82371AB 430TX PIIX4 (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64. 

      I/O at 0xfca0.
  Bus  0, device  20, function  0:
    ISA bridge: Intel 82371AB PIIX4 (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device  18, function  0:
    VGA compatible controller: Cirrus Logic GD 5446 (rev 0).
      Medium devsel.  IRQ 255.  
      Prefetchable 32 bit memory at 0xfd000000.
  Bus  0, device  16, function  0:
    Ethernet controller: Intel 82557 (rev 2).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  
Latency=66.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xfedfd000.
      I/O at 0xfce0.
      Non-prefetchable 32 bit memory at 0xfeb00000.
  Bus  0, device  15, function  0:
    SCSI storage controller: Adaptec AIC-7881U (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  
Latency=64.  Min Gnt=8.Max Lat=8.
      I/O at 0xf400.
      Non-prefetchable 32 bit memory at 0xfedfe000.
  Bus  0, device  12, function  0:
    VGA compatible controller: Matrox Millennium II (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  
Latency=64.
      Prefetchable 32 bit memory at 0xfb000000.
      Non-prefetchable 32 bit memory at 0xfedf8000.
      Non-prefetchable 32 bit memory at 0xfe000000.
  Bus  0, device  11, function  0:
    SCSI storage controller: Adaptec AIC-7880U (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  
Latency=64.  Min Gnt=8.Max Lat=8.
      I/O at 0xf800.
      Non-prefetchable 32 bit memory at 0xfedff000.
  Bus  0, device   9, function  0:
    SCSI storage controller: Future Domain TMC-18C30 (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  
      I/O at 0xfcb0.
  Bus  0, device   1, function  0:
    PCI bridge: Intel Unknown device (rev 3).
      Vendor id=8086. Device id=7181.
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
      Non-prefetchable 32 bit memory at 0x10100.
      Non-prefetchable 32 bit memory at 0x22a000f0.
      Non-prefetchable 32 bit memory at 0xfff0.
      Non-prefetchable 32 bit memory at 0xfff0.
  Bus  0, device   0, function  0:
    Host bridge: Intel Unknown device (rev 3).
      Vendor id=8086. Device id=7180.
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64. 

      Prefetchable 32 bit memory at 0xfcc00000.

With nother on either SCSI bus, /var/log/messages shows:

aic7xxx: <Adaptec AIC-7880 Ultra SCSI host adapter> at PCI 11
aic7xxx: BIOS disabled, IO Port 0xf800, IO Mem 0xfedff000, IRQ 9, Revision C
aic7xxx: Wide Channel, SCSI ID 7, 16/16 SCBs, QFull 16, QMask 0x1f
aic7xxx: Host adapter BIOS disabled. Using default SCSI device parameters.
aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 15
aic7xxx: Warning - detected auto-termination.  Please verify driver
         detected settings and use manual termination if necessary.
aic7xxx: BIOS enabled, IO Port 0xf400, IO Mem 0xfedfe000, IRQ 9, Revision C
aic7xxx: Wide Channel, SCSI ID 7, 16/16 SCBs, QFull 16, QMask 0x1f
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1/3.2
scsi2 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1/3.2
scsi : 3 hosts.
scsi1: Scanning channel A for devices.
scsi : aborting command due to timeout : pid 32820,
 scsi1, channel 0, id 0, lun 0 Test Unit Ready 00 00 00 00 00
(scsi1:0:0) Abort_reset, scb flags 0x801, while idle, LASTPHASE = 0x1, 
SCSISIGI 0x0, SEQADDR 0x169, SSTAT0 0x4, SSTAT1 0x0
(scsi1:0:0) Queueing an Abort SCB.
SCSI host 1 abort (pid 32820) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
(scsi1:-1:0) Reset device, active_scb 0
scsi1: (targ -1/chan A) matching scb to (targ 0/chan A)
scsi1: Resetting current channel A
scsi1: Channel reset, sequencer restarted
(scsi1:0:0) Aborting scb 0
SCSI host 1 abort (pid 32820) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
(scsi1:0:0) Abort_reset, scb flags 0x801, while idle, LASTPHASE = 0x1, 
SCSISIGI 0x0, SEQADDR 0x169, SSTAT0 0x4, SSTAT1 0x0
(scsi1:0:0) Queueing an Abort SCB.
SCSI host 1 channel 0 reset (pid 32820) timed out - trying harder
SCSI bus is being reset for host 1 channel 0.
(scsi1:-1:0) Reset device, active_scb 0
scsi1: (targ -1/chan A) matching scb to (targ 0/chan A)
scsi1: Resetting current channel A
</FINE DETAIL>
</BACKGROUND>


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