[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bge0 timeout problems



On Tue, Aug 13, 2002 at 11:29:40PM -0400, Nathan Binkert wrote:
> Have you tried -current?  There are some fixes that could fix your
> problems.  If -current works, I can look into generating a patch for
> -stable.

I have already tried using the current gx driver under 3.1-stable.  As
far as I know, -current won't even detect the PCI bus the gx cards are
on (at least on my 2650).  The new gx driver still gives timeout errors.

Check out the log that reads

Work around what appears to be a chip bug in the BCM5701 that shows
up when operating in PCI-X mode. 

under http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c 

I have had success so far with changing ETHER_ALIGN from 2 to 0 in
if_bgereg.h as a quick fix.  I found this on the freebsd list along with 
a caution that it affects performance and only works on i386.  I haven't
had time to try to patch in their complete changes which I believe are
roughly equivalent but more portable to other archs.

Note that to get the 2650 to detect any useful devices on -current, I
had to patch pchb.c to detect the CIOBX2 (vendor RCC, product 0x0101) and
configure the additional PCI bus.  The patch is trivial (basically
adding a case to a switch statement), but I can provide it if anyone is
interested.


-- 
Brandin Claar
Assistant Research Engineer
Penn State Applied Research Lab