Re: fxp network problems on alpha

From: Andrew Gallatin <gallatin_at_cs.duke.edu>
Date: Tue, 9 Mar 2004 11:09:19 -0500 (EST)
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
_at__at_ -346,8 +346,8 _at__at_
 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;
 
Received on Tue Mar 09 2004 - 07:09:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC