3c509 problems in 2.2.12

phazer (phazer@battlemech.dhs.org)
Fri, 1 Oct 1999 16:00:07 -0400 (EDT)


Hi,

I upgraded my server (that does mainly ip-masqerading) from redhat-5.2 and
kernel 2.2.10 ro redhat-6.0 and kernel 2.2.12.
It is a p200-mmx, 72 Mb ram, 2 NICS, a cheap ne2000 compatible and a
3c509 (tpo).

The 3com NIC is configured via dhcp (dhcpcd) and the ne2000 nic has a
static ip address (192.168.0.1)

After a few hours of use, the 3com 509 NIC that is connected to the cable
modem had some strange problems. almost all tcp connections failed and
ping showed errors such as:

wrong data byte #8 should be 0xa5 but was 0xa4
a4 86 f4 37 53 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18
19 1a 1 b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f

I dis/enabled the NIC and after that everything worked fine again.

'ifconfig eth1 down; ifconfig eth1 up; route add -net 0.0.0.0 gw
24.218.44.1; /etc/firewall/fw4'

24.218.44.1 is my default router and fw4 the script that loads the
firewalling rules and enables ip-masqerading

I let ping run overnight (i pinged my default router) and the next morning
it showed the same problems.

Script started on Fri Oct 1 00:06:50 1999
[root@battlemech /root]# ping 24.218.44.1
PING 24.218.44.1 (24.218.44.1) from 24.218.46.88 : 56 data bytes
64 bytes from 24.218.44.1: icmp_seq=0 ttl=255 time=2.3 ms
64 bytes from 24.218.44.1: icmp_seq=1 ttl=255 time=1.9 ms
64 bytes from 24.218.44.1: icmp_seq=2 ttl=255 time=1.9 ms
[.. *SNIP* ..]
64 bytes from 24.218.44.1: icmp_seq=21226 ttl=255 time=1.9 ms
64 bytes from 24.218.44.1: icmp_seq=21227 ttl=255 time=8.6 ms
64 bytes from 24.218.44.1: icmp_seq=21228 ttl=255 time=2401.7 ms
wrong data byte #8 should be 0x4d but was 0x4b
4b 86 f4 37 56 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from 24.218.44.1: icmp_seq=21229 ttl=255 time=2002.0 ms
wrong data byte #8 should be 0x4e but was 0x4c
4c 86 f4 37 54 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from 24.218.44.1: icmp_seq=21230 ttl=255 time=2002.9 ms
wrong data byte #8 should be 0x4f but was 0x4d
4d 86 f4 37 53 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
64 bytes from 24.218.44.1: icmp_seq=21314 ttl=255 time=1511.3 ms
[.. *SNIP* ..]
wrong data byte #8 should be 0xa2 but was 0xa1
a1 86 f4 37 55 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from 24.218.44.1: icmp_seq=21315 ttl=255 time=512.9 ms
64 bytes from 24.218.44.1: icmp_seq=21316 ttl=255 time=1494.1 ms
wrong data byte #8 should be 0xa4 but was 0xa3
a3 86 f4 37 54 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from 24.218.44.1: icmp_seq=21317 ttl=255 time=1001.9 ms
wrong data byte #8 should be 0xa5 but was 0xa4
a4 86 f4 37 53 f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from 24.218.44.1: icmp_seq=21318 ttl=255 time=574.8 ms
64 bytes from 24.218.44.1: icmp_seq=21319 ttl=255 time=54.5 ms
64 bytes from 24.218.44.1: icmp_seq=21320 ttl=255 time=449.6 ms
[.. then lots of bad packets ..]
64 bytes from 24.218.44.1: icmp_seq=25833 ttl=255 time=3003.2 ms
wrong data byte #8 should be 0x4b but was 0x48
48 98 f4 37 5a f4 e 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
ping: sendto: Operation not permitted
ping: wrote 24.218.44.1 64 chars, ret=-1
[.. here I ifconfig down/up and reloaded the firewall ..]
64 bytes from 24.218.44.1: icmp_seq=25838 ttl=255 time=4.3 ms
64 bytes from 24.218.44.1: icmp_seq=25839 ttl=255 time=2.3 ms
64 bytes from 24.218.44.1: icmp_seq=25840 ttl=255 time=2.1 ms
64 bytes from 24.218.44.1: icmp_seq=25841 ttl=255 time=2.7 ms
[..]
64 bytes from 24.218.44.1: icmp_seq=25855 ttl=255 time=2.1 ms
64 bytes from 24.218.44.1: icmp_seq=25856 ttl=255 time=2.1 ms
64 bytes from 24.218.44.1: icmp_seq=25857 ttl=255 time=7.6 ms

--- 24.218.44.1 ping statistics ---
25858 packets transmitted, 25846 packets received, 0% packet loss
round-trip min/avg/max = 1.6/477.3/3040.8 ms
[root@battlemech /root]#
Script done on Fri Oct 1 07:17:54 1999

[root@battlemech /root]# grep 'wrong data' ping-log |wc -l
4509

I don't think this is a problem of mediaones (my ips) routers, because as
soon as I reconfigured the nic, the problem went away. This also never
occured with kernel 2.2.10.

If it happens again, i will try the latest ac patch and see if the problem
goes away, if not i'm going to switch back to 2.2.10

tia,
-phazer

PS: please CC: me any replies as i am not susbscribed to the list

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/