[netdrivers] netgear IRQ problem

aaz aaz@interoperate.com
Wed Jan 7 00:21:00 2004


Hi,
We just installed a new Netgear FA311 10/100 PCI Card, in our RH 7.1 (custom
kernel 2.4.23) box.
This is the 3rd network adapter in the box, eth0 and eth1 are on the
motherboard, it is a Dell poweredge 350

We have the natsemi network driver support compiled into the kernel.

Anyways we cannot get this card to work.  Here are some outputs. Can anyone
help out here?

We have gone into the BIOS and disabled both serial ports to try to free up
IRQs etc. to no avail. Shouldn't linux assign an IRQ to it?

------------------------------------------------------------
/sbin/ifup eth2
----------------------------------------------------------
SIOCSIFFLAGS: Device or resource busy
SIOCADDRT: Network is down

output of /sbin/ifconfig
------------------------------------

eth2 does not show up when we do a /sbin/ifconfig listing

however it does show up when doing a /sbin/ifconfig eth2

eth2      Link encap:Ethernet  HWaddr 00:09:5B:61:BA:DF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          Base address:0x4000

------------------------------------------------------------
cat /proc/interrupts
-------------------------------------------------
           CPU0
  0:     418263          XT-PIC  timer
  1:        667          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:    3976924          XT-PIC  eth0, eth1
 10:          0          XT-PIC  usb-uhci
 14:       3835          XT-PIC  ide0
 15:          2          XT-PIC  ide1
NMI:          0
ERR:          0



------------------------------------------------------------
var/log/messages entry from when the system boots
----------------------------------------------------------------------------
-------
Jan  6 19:52:01 iserv2 kernel: PCI: Found IRQ 5 for device 00:0c.0
Jan  6 19:52:01 iserv2 kernel: PCI: Sharing IRQ 5 with 00:0d.0
Jan  6 19:52:01 iserv2 kernel: eth0: Intel Corp. 82557/8/9 [Ethernet Pro
100], 00:02:B3:3F:7B:EC, IRQ 5.
Jan  6 19:52:01 iserv2 kernel:   Board assembly 000000-000, Physical
connectors present: RJ45
Jan  6 19:52:01 iserv2 kernel:   Primary interface chip i82555 PHY #1.
Jan  6 19:52:01 iserv2 kernel:   General self-test: passed.
Jan  6 19:52:01 iserv2 kernel:   Serial sub-system self-test: passed.
Jan  6 19:52:01 iserv2 kernel:   Internal registers self-test: passed.
Jan  6 19:52:01 iserv2 kernel:   ROM checksum self-test: passed
(0x04f4518b).
Jan  6 19:52:01 iserv2 kernel: PCI: Found IRQ 5 for device 00:0d.0
Jan  6 19:52:01 iserv2 kernel: PCI: Sharing IRQ 5 with 00:0c.0
Jan  6 19:52:01 iserv2 kernel: eth1: Intel Corp. 82557/8/9 [Ethernet Pro
100] (#2), 00:02:B3:3F:7B:ED, IRQ 5.
Jan  6 19:52:01 iserv2 kernel:   Board assembly 000000-000, Physical
connectors present: RJ45
Jan  6 19:52:01 iserv2 kernel:   Primary interface chip i82555 PHY #1.
Jan  6 19:52:01 iserv2 kernel:   General self-test: passed.
Jan  6 19:52:01 iserv2 kernel:   Serial sub-system self-test: passed.
Jan  6 19:52:01 iserv2 kernel:   Internal registers self-test: passed.
Jan  6 19:52:01 iserv2 kernel:   ROM checksum self-test: passed
(0x04f4518b).

Jan  6 19:52:01 iserv2 kernel: natsemi dp8381x driver, version
1.07+LK1.0.17, Sep 27, 2002
Jan  6 19:52:01 iserv2 kernel:   originally by Donald Becker
<becker@scyld.com>
Jan  6 19:52:01 iserv2 kernel:   http://www.scyld.com/network/natsemi.html
Jan  6 19:52:01 iserv2 kernel:   2.4.x kernel port by Jeff Garzik, Tjeerd
Mulder
Jan  6 19:52:01 iserv2 kernel: eth2: NatSemi DP8381[56] at 0xd0804000,
00:09:5b:61:ba:df, IRQ 0.

------------------------------------------------------------
cat /proc/pci
---------------------------------------------
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP
disabled) (rev 3).
      Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xe0000000 [0xefffffff].
  Bus  0, device   7, function  0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
      Master Capable.  Latency=64.
      I/O at 0xffa0 [0xffaf].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
      IRQ 10.
      Master Capable.  Latency=64.
      I/O at 0xef80 [0xef9f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device  12, function  0:
    Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xfebfb000 [0xfebfbfff].
      I/O at 0xef00 [0xef3f].
      Non-prefetchable 32 bit memory at 0xfea00000 [0xfeafffff].
  Bus  0, device  13, function  0:
    Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2) (rev
8).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xfebfa000 [0xfebfafff].
      I/O at 0xee80 [0xeebf].
      Non-prefetchable 32 bit memory at 0xfe800000 [0xfe8fffff].
  Bus  0, device  14, function  0:
    Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller (rev 0).
      Master Capable.  Latency=64.  Min Gnt=11.Max Lat=52.
      I/O at 0xea00 [0xebff].
      Non-prefetchable 32 bit memory at 0xfebfe000 [0xfebfefff].
  Bus  0, device  15, function  0:
    VGA compatible controller: ATI Technologies Inc Rage XL (rev 39).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
      I/O at 0xe800 [0xe8ff].
      Non-prefetchable 32 bit memory at 0xfebff000 [0xfebfffff].