Subject: Re: fxp0: device timeouts with ~20040422-current
To: Arto Selonen <arto+dated+1082719571.04a3651f19d50955@selonen.org>
From: Allen Briggs <briggs@wasabisystems.com>
List: current-users
Date: 04/23/2004 09:32:58
On Fri, Apr 23, 2004 at 02:25:04PM +0300, Arto Selonen wrote:
> After upgrading from 1.6ZL (~20040328 sources) to 2.0C (sources from
> anoncvs fi-mirror around 9am EEST) I started getting a steady flow
> of 'fxp: device timeout' errors on both of the system's fxp interfaces:

This is likely due to my recent change in revision 1.82 of
src/sys/dev/ic/i82557.c that fixed "SCB timeout" and "device
timeout" errors on one of my systems:

revision 1.82
date: 2004/03/31 14:48:31;  author: briggs;  state: Exp;  lines: +17 -4
Be more careful about issuing CU_RESUME in fxp_start()--only doing
it if we think it's probably necessary.  Then do it again in the
tx interrupt handler, if we again think it's necessary.  This
reduces the number of commands we issue the chip.  Prior to this
change, the i82550 (running without extended feature set, so like
a '559) would sometimes fail in fxp_scb_wait() prior to issuing
another CU_RESUME, resulting in
        fxp0: WARNING: SCB timed out!
messages on the console, often followed by device timeouts.

Can you try reverting to revision 1.81 of that file (with the
attached patch or via CVS)?

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 Wasabi Systems, Inc.             http://www.wasabisystems.com/