From owner-freebsd-current@FreeBSD.ORG Tue Mar 9 08:09:38 2004 Return-Path: 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 6BA1C16A4CE for ; Tue, 9 Mar 2004 08:09:38 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B3443D3F for ; Tue, 9 Mar 2004 08:09:36 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i29G9OvK008065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Mar 2004 11:09:25 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i29G9JZ5092370; Tue, 9 Mar 2004 11:09:19 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16461.60463.679464.180533@grasshopper.cs.duke.edu> Date: Tue, 9 Mar 2004 11:09:19 -0500 (EST) To: Sten Spans In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: current@freebsd.org Subject: Re: fxp network problems on alpha X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 16:09:38 -0000 Sten Spans writes: > > I am experiencing a quite serious problems with the fxp > interfaces in my alpha running 5.2.1 ( the problem also shows > up with current ). The easiest way to trigger the problem > is to run netperf (benchmarks/netperf). The interface > dies almost immeadiately. > What cpu type do you compile with? I use an ev6 machine with an fxp and it works just great. All my kernels are built with my cpu type set to ev6 in /etc/make.conf: CPUTYPE=ev6 (or use ev56 if you have an ev56) And with the appended patch. Can you see if either or both help you? Drew Index: dev/fxp/if_fxpreg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/fxp/if_fxpreg.h,v retrieving revision 1.35 diff -u -r1.35 if_fxpreg.h --- dev/fxp/if_fxpreg.h 14 May 2003 20:33:41 -0000 1.35 +++ dev/fxp/if_fxpreg.h 30 May 2003 18:10:06 -0000 @@ -346,8 +346,8 @@ struct fxp_rfa { u_int16_t rfa_status; u_int16_t rfa_control; - u_int32_t link_addr; - u_int32_t rbd_addr; + u_int8_t link_addr[4]; + u_int8_t rbd_addr[4]; u_int16_t actual_size; u_int16_t size;