Randoms hang of onboard i8255x controler ( SMP server )

Brancaleoni Raffaele s940195@student.ulg.ac.be
Fri Apr 16 11:06:10 1999


Hi,

I experience problems with a SMP Server based upon Asus P2B-D2
Motherboard and
two network interfaces (An onboard i82558 and an Intel EEPro 100+ ):
Onboard interface fails to access the network. ( This works under other
OS'es anyway,
the server has been tested with heavy load under NT without any problems
). 
The address of the server are 192.168.2.215 on eth1 (onboard i82558) 
and 192.168.1.215 on eth0 (Intel EEPro 100+).
At boot, both cards are correctly setup ( You'll find ifconfig dumps and
route dumps below )

I've been unable to get eepro100-diag.c to compile properly 
on my box, some weird problems when parsing in.h ( even with a fresh 
copy of the kernel 2.2.5 sources)

When trying to ping my own computer ( which is already on the network, 
with ip 192.168.2.25 )
The server eth1 (Onboard i82558) freeze after ~ 15 ICMP Echo packets (
15 is a maximum ).
An "ifconfig eth1 down ; ifconfig eth1 192.168.2.215 netmask
255.255.255.0"
solved this issue for another ~15 packets ...

Here is what I get with tcpdump -i eth1 on the server

16:03:30.004436 arp who-has 192.168.2.25 tell 192.168.2.215
16:03:31.004276 arp who-has 192.168.2.25 tell 192.168.2.215
16:03:32.004270 arp who-has 192.168.2.25 tell 192.168.2.215
16:03:33.004373 arp who-has 192.168.2.25 tell 192.168.2.215

On my own machine I get : 

13:18:35.567279 arp who-has 192.168.2.25 tell 192.168.2.215
13:18:35.567363 arp reply 192.168.2.25 is-at 0:0:c0:ec:55:bc
13:18:36.567335 arp who-has 192.168.2.25 tell 192.168.2.215
13:18:36.567477 arp reply 192.168.2.25 is-at 0:0:c0:ec:55:bc
13:18:37.567267 arp who-has 192.168.2.25 tell 192.168.2.215
13:18:37.567349 arp reply 192.168.2.25 is-at 0:0:c0:ec:55:bc

The onboard card seems to send properly but seems also to
have problems with it's "receive" capabilities.

A dmesg on the server gives : 
"eth1: Transmit Timed out : statuts 0000 0000 at 14/29 command
00030000."
"eth1: Trying to restart the transmitter..."

As read from this mailing list archive I tried to compile
the driver as module and set multicast_filter_limit successively to
a larger value( >64 the default ), to the previously mentionned 
value of 3 and then to 0 without any success.

The other card referenced as eth0 (Intel EtherExpress Pro 100+) works
fine anyway.

Could anyone help with this ? 
  
If you need further informations let me know.

Thank you,



Raffaele 





P.S. Here are the settings I'm currently using :

Linux Kernel 2.2.5, SMP i686 ( compiled with egcs-2.91.60 )
The driver is v1.06, and has been compiled successively as built-in and
as module.
The distribution is a SuSE 6.0

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface 
192.168.2.0     *               255.255.255.0   U     0      0        0
eth1
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
loopback        *               255.0.0.0       U     0      0        0
lo

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:1535 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1535 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:A0:C9:97:E5:E3  
          inet addr:192.168.1.215  Bcast:192.168.1.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1822 errors:1 dropped:0 overruns:0 frame:0
          TX packets:427 errors:0 dropped:0 overruns:10 carrier:0
          collisions:0 
          Interrupt:17 Base address:0xd000 

eth1      Link encap:Ethernet  HWaddr 00:E0:18:A0:02:3A  
          inet addr:192.168.2.215  Bcast:192.168.2.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1433 errors:34 dropped:0 overruns:0 carrier:0
          collisions:168 
          Interrupt:18 Base address:0xb800 

PCI devices found:
  ... truncated ...
  Bus  0, device  11, function  0:
    Ethernet controller: Intel 82557 (rev 2).
      Medium devsel.  Fast back-to-back capable.  IRQ 17.  Master
Capable. 
 Latency=32.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xcf000000 [0xcf000008].
      I/O at 0xd000 [0xd001].
      Non-prefetchable 32 bit memory at 0xca800000 [0xca800000].
  Bus  2, device   3, function  0:
    Ethernet controller: Intel 82557 (rev 5).
      Medium devsel.  Fast back-to-back capable.  IRQ 18.  Master
Capable.  
 Latency=32.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xcd000000 [0xcd000008].
      I/O at 0xb800 [0xb801].
      Non-prefetchable 32 bit memory at 0xca000000 [0xca000000].  
  ... truncated ...