Subject: Re: Kernel asm compile errors
To: David Rogers <drogers@halo7.net>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-mac68k
Date: 01/16/2001 23:59:21
--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> These errors seem to happen to me most often when moving a large amounts of
> data to my drive over the network.  I don't know if this helps at all but it
> may be something to look into.

That jives with what other people are saying: it's happening primarily
(only?) on writes to the disk.

What doesn't make sense to me is that it seems as though the SCSI chip
must be lying about how much data was actually transferred at some point.
The SCSI chip has transfer counters that should be telling us how much
is really left of the transfer.  Hmmm...  I wonder if there could be
something left in the FIFO that should also be counted as residual...

Can someone who can easily reproduce this try the attached patch?  If
it doesn't work, can you also try it without sync.?  (set sc->sc_minsync
to 0 in the espattach() function)

Thanks,
-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service

--/04w6evG8XlLl3ft
Content-Type: application/x-gunzip
Content-Disposition: attachment; filename="esp.patch2.gz"
Content-Transfer-Encoding: base64

H4sIANYlZToCA6VUa2/aMBT9nPyKq06dgCQN4dnSMsGgIKS+RJn2ZVLkJk6xGpLUNpR263/f
tRMeqtRqU6Mo8eNc+55zjz1JQrruABXZUWB2P/+Y08EtRCymHXCDleBpKl3xLAQP1M8lPJi7
CxK0jh/c9I6lrt7YXpmcSs7oiiX3wPEnWJqAd1RrmyGLInCW4HDVLRJ1HCdvGbVqtep6Nbd2
AjWvU/c6jYah4yzL2kE8F1+vDdVGp9nsND2z1wOnWWvYngeW+uPKvZ4JJhgGpwK6cDWY+tPz
/hA/45IIbD0wG1yUTzcY613QZRnOzuD41HQMI+MskVHpIFwQbPAODC/7sI4ohzSCF8pT3eE0
hMPwV3JgI3uBe1iG4VZgNmcCApLAnGQZTYAlIOcURwRV4QRm05v+ENKMciKVYhW3iLxBPWkS
IpxIYBKeCC6ULrIYhwuUCJxvIvBRIyER9EfTuZ31Z8gAE/jCIhief/8xVlhsl/KqKbwf0rvl
fRl+q6n/ZqiDAJ9Ws1lvgbNj/Iq7YtIsyiWWS55AVen9qiujkii9yfrrXtJl6HahWqSlwAU2
JBIz259U9WPhe1UejS764zIuXV170VslPpRiq8VPzlDn0WR0DXqrJYmRPdw9Syo2VWZhznqP
ttYANulZ/+DCD2FbH0KedsFa6ZAfgHbbPkb/n9Ttjf0110l/fHV9O5sMCtHpRsgFEeyFbpXc
s7eS4nHJggcF8gXWLkObxjFW/YnJORzGa7v4hLqhneDkRijFaYIaVkgYcnvbi2liQ1677eCb
TD51ULStNn7b1VgJ0zppoSJW2/Ps3b1QSJH5c7KifsjpoxKmrIRQs5iG4oOMKjCmUu+PFO6R
fMTThe4rglSI3Ct7OE7V2VF333sRUESo25BymkhG4qPNqJs3FBY9XVr6WBOv5UuolKGwKqn5
as2ILGN5av4FjivGefUFAAA=

--/04w6evG8XlLl3ft--