From owner-freebsd-current Mon Dec 30 4:10:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1580237B401 for ; Mon, 30 Dec 2002 04:10:24 -0800 (PST) Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by mx1.FreeBSD.org (Postfix) with SMTP id CA01C43EC5 for ; Mon, 30 Dec 2002 04:10:22 -0800 (PST) (envelope-from bra@fsn.hu) Received: (qmail 28498 invoked by uid 1000); 30 Dec 2002 12:10:21 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Dec 2002 12:10:21 -0000 Date: Mon, 30 Dec 2002 13:10:20 +0100 (CET) From: Attila Nagy To: Julian Elischer Cc: current@freebsd.org Subject: Re: FEC on 5.x In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, [taken from -hackers] > Can you try use tcpdump to comparte something that works with the code > that doesn't. tcpdump -i fec0 shows the following: if I ping our-router I see the packages going out, but nothing coming back. The switch shows 0 input packets. I pinged the machine, then it paniced (please, somebody tell me, what should I do if I don't have a kern.dumpdev sysctl and ddb> panic can't write a crashdump -> http://marc.theaimsgroup.com/?l=freebsd-hackers&m=104107316521812&w=2) BTW, the switch shows output packets, but tcpdump has nothing incoming... This happened last week. Today I tried again and got the following results: tcpdump -i fec0 shows outgoing pings, but there are no incoming packets. tcpdump -i fxp0 & tcpdump -i fxp1 shows the incoming "noise" (bridge STP negotiations, etc), but do not show any traces of the outgoing ICMP packets. So it seems the fec0 interface has no connection with the fxp[0-1] ones. How could I do more testing? Would a serial console to the machine help? It's for testing purposes... Finally, here is what I did: ifconfig fxp0 up ifconfig fxp1 up ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface '"fxp0"' ngctl msg fec0: add_iface '"fxp1"' ngctl msg fec0: set_mode_inet ifconfig fec0 a.b.c.d netmask 255.255.255.252 up The interface becomes up (according to the switch and FreeBSD) and shows the above effects. ----------[ Free Software ISOs - http://www.fsn.hu/?f=download ]---------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message