Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 09:58:20 +0200 (CEST)
From:      hans@brandinnovators.com (Hans Zuidam)
To:        freebsd-bugs@FreeBSD.ORG
Subject:   if_ed/tcpdump problem
Message-ID:  <199806040758.JAA10331@truk.brandinnovators.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have FreeBSD 2.2.5-RELEASE running with two NE2000 clones (if_ed)
connecting to two different networks.  This has worked quite well
over the past year.

>From the logs and ifconfig:

    May 25 17:05:44 truk /kernel: ed0 at 0x300-0x31f irq 5 on isa
    May 25 17:05:44 truk /kernel: ed0: address 00:40:95:50:28:b5, type NE2000 (16 bit) 
    May 25 17:05:44 truk /kernel: ed1 at 0x320-0x33f irq 10 on isa
    May 25 17:05:44 truk /kernel: ed1: address 00:40:f6:14:bc:e3, type NE2000 (16 bit) 


    ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	    inet 192.9.200.10 netmask 0xffffff00 broadcast 192.9.200.255
	    ether 00:40:95:50:28:b5 
    ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	    inet 192.9.201.31 netmask 0xffffff00 broadcast 192.9.201.255
	    ether 00:40:f6:14:bc:e3 
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	    inet 127.0.0.1 netmask 0xff000000 

Now a strange problem has surface with one of the interfaces (ed1).
When connecting to a host using TCP everything works well, when
ping-ing everything works well, but when connecting using a UDP
based application I get a lot of "NIC memory corrupt messages":

    Jun  4 08:54:54 truk /kernel: ed1: NIC memory corrupt - invalid packet length 4299
    Jun  4 08:54:55 truk /kernel: ed1: NIC memory corrupt - invalid packet length 8439
    Jun  4 08:54:55 truk /kernel: ed1: NIC memory corrupt - invalid packet length 8434

The strange thing is that they are not generated if I do not use
tcpdump on the interface.  If I use tcpdump, then I see a lot of:

    09:27:41.473402 Broadcast Broadcast ffff 1185: 
			     ffff ffff ffff ffff ffff ffff ffff ffff
			     ffff ffff ffff ffff ffff ffff ffff ffff
			     ffff ffff ffff ffff ffff ffff ffff ffff
			     ffff ffff ffff

The other host reports lots of late collisions (collisions after
64 byte times into the transmission.)

Any ideas what might be wrong?  Thanks in advance,

					    Hans

-- 
H. Zuidam                        E-Mail: hans@brandinnovators.com
Brand Innovators B.V.            P-Mail: P.O. Box 1377
de Pinckart 54                   5602 BJ Eindhoven, The Netherlands
5674 CC Nuenen                   Tel. +31 40 2631134, Fax. +31 40 2831138

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806040758.JAA10331>