From owner-freebsd-hackers Thu Jan 2 6:59:26 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A8BB37B401 for ; Thu, 2 Jan 2003 06:59:24 -0800 (PST) Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by mx1.FreeBSD.org (Postfix) with SMTP id CC4C643EB2 for ; Thu, 2 Jan 2003 06:59:22 -0800 (PST) (envelope-from bra@fsn.hu) Received: (qmail 28825 invoked by uid 1000); 2 Jan 2003 14:59:20 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Jan 2003 14:59:20 -0000 Date: Thu, 2 Jan 2003 15:59:20 +0100 (CET) From: Attila Nagy To: Julian Elischer Cc: hackers@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-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, > do you have FEC working in an old version? i.e. do you have it working > in 4.x somewhere? Yes, I am using it on a box with two fxps. It is: FreeBSD 4.6-STABLE #2: Thu Jul 11 15:13:00 CEST 2002 > if so, can you show a tcpdump of it1 running and a tcpdump of it NOT > running on 5.x? You won't see too much from that... 4.6 (the above box): # tcpdump -i fec0 host FE0.GE.BMF-HBONE.bmf.hu tcpdump: listening on fec0 15:14:43.397883 chuck.intra > FE0.GE.BMF-HBONE.bmf.hu: icmp: echo request 15:14:43.398639 FE0.GE.BMF-HBONE.bmf.hu > chuck.intra: icmp: echo reply # tcpdump -i fxp0 host FE0.GE.BMF-HBONE.bmf.hu & \ tcpdump -i fxp1 host FE0.GE.BMF-HBONE.bmf.hu [1] 87345 tcpdump: WARNING: fxp0: no IPv4 address assigned tcpdump: WARNING: fxp1: no IPv4 address assigned tcpdump: listening on fxp0 tcpdump: listening on fxp1 15:16:17.908213 chuck.intra > FE0.GE.BMF-HBONE.bmf.hu: icmp: echo request 15:16:17.909004 FE0.GE.BMF-HBONE.bmf.hu > chuck.intra: icmp: echo reply RELENG_5_0: # tcpdump -i fec0 tcpdump: listening on fec0 15:30:15.851109 arp who-has 193.6.21.133 (2e:2f:30:31:32:33) tell test.fsn.hu 15:30:16.766530 arp who-has 193.6.21.133 (2e:2f:30:31:32:33) tell test.fsn.hu 15:30:17.869761 arp who-has 193.6.21.133 (2e:2f:30:31:32:33) tell test.fsn.hu (193.6.21.133 is the GW and that is I pinged) # tcpdump -i fxp0 -p host & \ tcpdump -i fxp1 -p host tcpdump: listening on fxp0 tcpdump: listening on fxp1 And nothing. That's why I said previously it seems that the packets don't get down to the physycal interface. Or at least they don't get out to the wire... However, when I ping the test machine from another one, I get: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02ca7ee stack pointer = 0x10:0xd69a8b88 frame pointer = 0x10:0xd69a8bb0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 22 (irq10: fxp0) kernel: type 12 trap, code=0 Stopped at generic_bcopy+0x1a: repe movsl (%esi),%es:(%edi) db> I will attach a disk onto this machine to its Adaptec controller and will be able to send you the dumps. (some people helped me to figure out that most of the RAID drivers in FreeBSD doesn't implement dump...) Thanks, ----------[ 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-hackers" in the body of the message