[eepro100] Failure to RX

Matthew Sammon matthew.sammon@cs.tcd.ie
Mon, 22 Oct 2001 11:40:38 +0100


Hi,

I'm having a lot of trouble getting my Intel 100 PRO working on
a RedHat 7.1 (kern 2.4) default install.  I believe the hardware
is working as Win2K was previously installed and the NIC worked
fine, and (as shown below) the debug messages don't indicate any
woes.  Under Linux, and with an identical (apart from IP
address) setup to a networked Linux box nearby, I am unable to
ping any host other then myself and the loopback.

Having read the Ethernet-Howto, I checked, using /proc/interrupts
if the IRQ was shared, and it was (with USB hardware). However,
when I disabled the USB hardware in the BIOS (so that it no
longer showed up in /proc/interrupts or /proc/pci) the problem
persists.  Also, I checked the interrupt event count in
/proc/interrupts (as suggested in Eth-Howto) and it is non-zero
and increases as a try to ping (but fail to reach) other hosts.

ifconfig and netstat -i do not indicate any errors and show TX
counts increasing, but always sho RX counts as zero.

If there is any further source of info I should read to fix this
problem myself, or any more useful info provided by the OS that
I should investigate, please tell me.  The only error I can detect
is at the bottom of this mail:
"/etc/hotplug/net.agent: register event not handled"

Here are the various pieces of info I have gleaned, which seem to
indicate that the NIC is working, even though it cannot reach any
other host (the USB hardware is still enabled, even though it's
on the same IRQ, as disabling does not seem to affect the NIC):


[root@localhost sammonm]# dmesg

PCI: PCI BIOS revision 2.10 entry at 0xfd97e, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
.
.
.
eepro100.c:v1.09j-t 9/29/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
<saw@saw.sw.com.sg> and others
PCI: Found IRQ 9 for device 01:08.0
eth0: OEM i82557/i82558 10/100 Ethernet, 00:30:05:0F:A2:82, I/O at 0x3400, IRQ
9.
  Board assembly 000000-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).

[root@localhost sammonm]# cat /proc/interrupts 
           CPU0       
  0:      35343          XT-PIC  timer
  1:        525          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  Intel ICH2
  8:          1          XT-PIC  rtc
  9:         15          XT-PIC  usb-uhci, eth0
 10:       1099          XT-PIC  i810@PCI:0:2:0
 11:          0          XT-PIC  usb-uhci
 12:       8071          XT-PIC  PS/2 Mouse
 14:       7623          XT-PIC  ide0
 15:       3148          XT-PIC  ide1
NMI:          0 
ERR:          0

[root@localhost sammonm]# cat /proc/pci 
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: PCI device 8086:1130 (Intel Corporation) (rev 2).
  Bus  0, device   2, function  0:
    VGA compatible controller: PCI device 8086:1132 (Intel Corporation) (rev
2).      IRQ 10.
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
      Non-prefetchable 32 bit memory at 0xf4000000 [0xf407ffff].
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corporation 82820 820 (Camino 2) Chipset PCI (rev 17).
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device  31, function  0:
    ISA bridge: Intel Corporation 82820 820 (Camino 2) Chipset ISA Bridge
(ICH2) (rev 17).
  Bus  0, device  31, function  1:
    IDE interface: Intel Corporation 82820 820 (Camino 2) Chipset IDE U100
(rev 17).
      I/O at 0x2400 [0x240f].
  Bus  0, device  31, function  2:
    USB Controller: Intel Corporation 82820 820 (Camino 2) Chipset USB (Hub A)
(rev 17).
      IRQ 9.
      I/O at 0x1400 [0x141f].
  Bus  0, device  31, function  3:
    SMBus: Intel Corporation 82820 820 (Camino 2) Chipset SMBus (rev 17).
      IRQ 5.
      I/O at 0x1800 [0x180f].
  Bus  0, device  31, function  4:
    USB Controller: Intel Corporation 82820 820 (Camino 2) Chipset USB (Hub B)
(rev 17).
      IRQ 11.
      I/O at 0x1c00 [0x1c1f].
  Bus  0, device  31, function  5:
    Multimedia audio controller: PCI device 8086:2445 (Intel Corporation) (rev
17).
      IRQ 5.
      I/O at 0x1000 [0x10ff].
      I/O at 0x2000 [0x203f].
  Bus  1, device   8, function  0:
    Ethernet controller: Intel Corporation 82820 820 (Camino 2) Chipset
Ethernet (rev 3).
      IRQ 9.
      Master Capable.  Latency=66.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xf4100000 [0xf4100fff].
      I/O at 0x3400 [0x343f].

[root@localhost sammonm]# cat /proc/net/dev      
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
    lo:    2164      22    0    0    0     0          0         0     2164
22    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0      630
15    0    0    0     0       0          0



[root@localhost sammonm]# tail /var/log/messages

Oct 19 11:37:00 localhost kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
Oct 19 11:37:00 localhost kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
Oct 19 11:37:00 localhost kernel: PCI: Found IRQ 9 for device 01:08.0
Oct 19 11:37:00 localhost kernel: eth0: OEM i82557/i82558 10/100 Ethernet, 00:30:05:0F:A2:82, I/O at 0x3400, IRQ 9.
Oct 19 11:37:00 localhost kernel:   Board assembly 000000-000, Physical connectors present: RJ45
Oct 19 11:37:00 localhost kernel:   Primary interface chip i82555 PHY #1.
Oct 19 11:37:00 localhost kernel:   General self-test: passed.
Oct 19 11:37:00 localhost kernel:   Serial sub-system self-test: passed.
Oct 19 11:37:00 localhost kernel:   Internal registers self-test: passed.
Oct 19 11:37:00 localhost kernel:   ROM checksum self-test: passed (0x04f4518b).Oct 19 11:37:00 localhost /etc/hotplug/net.agent: invoke ifup eth0
Oct 19 11:37:00 localhost /etc/hotplug/net.agent: register event not handled


thanks

-- 
Matthew Sammon <matthew.sammon@cs.tcd.ie>