Date: Tue, 9 Mar 2004 11:09:19 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Sten Spans <sten@blinkenlights.nl> Cc: current@freebsd.org Subject: Re: fxp network problems on alpha Message-ID: <16461.60463.679464.180533@grasshopper.cs.duke.edu> In-Reply-To: <Pine.SOL.4.58-Blink.0403091245060.4143@tea.blinkenlights.nl> References: <Pine.SOL.4.58-Blink.0403091245060.4143@tea.blinkenlights.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16461.60463.679464.180533>
