Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 1996 01:11:42 +1000 (EST)
From:      michael butler <imb@asstdc.com.au>
To:        current@freebsd.org
Subject:   3C589b + ep driver
Message-ID:  <199609231511.BAA00512@walkabout.asstdc.com.au>

next in thread | raw e-mail | index | archive | help
I'm still fighting with my laptop (100MHz TP560) and the ep driver.
Intermittently, the "link OK" light on my hub goes out and ifconfig reports
the driver hung in the OACTIVE state.

I've tried several things .. reinstating the dynamic TX_START_THRESH stuff
and reordering the ep_intr function. Since ep_intr is executed under
splbio(), I found that these hangs were much less frequent when I removed
the disabling of interrupts (with SET_INTR_MASK) but still there :-( The
threshold stuff appears to have little or no bearing on the problem.

At first, I though that the practice of re-reading status information (see
the "continue" on RX_COMPLETE or RX_EARLY) was the problem but coding around
this (reading only once per interrupt and moving the TX_STATUS stuff onto a
separate variable) didn't help either.

I can easily provoke a hung condition by ftp-ing (inbound) a sizable file
(e.g. a tarred and gzipped source tree) to my laptop. I cannot reliably
generate it with outbound traffic.

Since it seems that others are now having similar experiences with similarly
structured drivers (e.g. if_vx), I wonder if someone could shed some light
on what is going on (and how to fix it :-)) ?

My D-Link just causes a panic in the ed driver so this is the nearest I have
to "working" ..

	michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609231511.BAA00512>