AHA-2940/3COM 3c595 network problem

AHA-2940/3COM 3c595 network problem

Post by Patrick Doy » Tue, 16 Jul 1996 04:00:00

I've recently installed Linux on my Pentium (v. 2.0.5), and am having real
trouble getting networking to work.  The problem is this.  I have an AHA-2940
Adaptec SCSI PCI card and a 3COM 3c595 Vortex PCI Ethernet card.  I've
compiled support for both into my kernel.

When I boot, the PCI stuff in the BIOS assigns them both to IRQ 9.  This
-seems- (and I'm guessing here) to prevent registry of the Ethernet card
with "ifconfig".  When I try it generates the error:

   eth0: vortex_open() InternalConfig 0001001b.
   SIOCSIFFLAGS:  Try again

I don't know anything about PCI, except that I can't control which IRQs
the cards are given.  There should be plenty of spare IRQs available (the
only other cards are the Stealth 64 video board (not PCI) and SoundBlaster
16) but for some reason they both get IRQ 9.

My system also has a Windows 95 partition, which -also- assigns IRQ 9 to
both boards, but it works just fine.  Evidently they can share the
interrupt, but somehow this isn't working in Linux.

If anyone can explain what exactly the problem is or how to fix it, it
would be -greatly- appreciated!  

   Patrick Doyle

(dmesg dump follows)

Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000f0120
pcibios_init : BIOS32 Service Directory entry at 0xf13ec
pcibios_init : PCI BIOS revision 2.10 entry at 0xf13d0
Probing PCI hardware.
Calibrating delay loop.. ok - 39.83 BogoMIPS
Memory: 31012k/32768k available (648k kernel code, 384k reserved, 724k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.

Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
ide0: buggy RZ1000 interface: not enabled
Floppy drive(s): fd0 is 1.44M
Started kswapd v
FDC 0 is a post-1991 82077
aic7xxx: BurstLen = 8 DWDs, Latency Timer = 64 PCLKS
aic7xxx: AHA-2940 Rev B.
aic7xxx: devconfig = 0x500.
aic7xxx: Reading SEEPROM...done.
aic7xxx: Extended translation enabled.
aic7xxx: Using 16 SCB's after checking for SCB memory.
AHA-2940 (PCI-bus):
    irq 9
    bus release time 40 bclks
    data fifo threshold 100%
        scsi id 7
        scsi selection timeout 256 ms
        scsi bus reset at power-on enabled
        scsi bus parity enabled
        scsi bus termination (low byte) enabled
aic7xxx: Downloading sequencer code...done.
aic7xxx: Resetting the SCSI bus...done.
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 3.2/3.1/3.0
scsi : 1 host.
aic7xxx: Scanning channel A for devices.
aic7xxx: Target 0, channel A, now synchronous at 10.0MHz, offset(0xf).
  Vendor: SEAGATE   Model: ST31230N          Rev: 0510
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
aic7xxx: Target 5, channel A, now synchronous at 8.0MHz, offset(0xf).
  Vendor: NEC       Model: CD-ROM DRIVE:502  Rev: 2.2e
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
scsi : detected 1 SCSI cdrom 1 SCSI disk total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2069860 [1010 MB] [1.0 GB]
  Overriding PCI latency timer (CFLT) setting of 64, new value is 255.
eth0: 3Com 3c595 Vortex 100baseTX at 0xf8e0, 00:a0:24:29:65:ad, IRQ 9
  Internal config register is 1001b, transceivers 0xe10a.
  64K word-wide RAM 3:1 Rx:Tx split, 10baseT interface.

Partition check:
 sda: sda1 sda2 sda3
VFS: Mounted root (ext2 filesystem) readonly.
eth0: vortex_open() InternalConfig 0001001b.