cvs commit: src/sys/dev/esp ncr53c9x.c
Scott Long
scottl at FreeBSD.org
Mon Apr 25 15:11:44 PDT 2005
scottl 2005-04-25 22:11:43 UTC
FreeBSD src repository
Modified files:
sys/dev/esp ncr53c9x.c
Log:
Apply a torniquet to the problem of the drive unexpectedly disconnecting
during a data phase. Before, we would try to recover the autosense, but
the DMA engine would still be active with interrupted transfer, and we'd
quickly spiral out of control and cause massive data corruption. For now,
just reset the chip and cancel everything. The better solution is to
cancel the DMA operation, but there is no clear way to do that right now.
The data corruption problem is severe enough to warrant this fix in the
interim. Thanks to Kris Kenneway to sacrificing countless filesystems to
this bug.
MFC After: 3 days
Revision Changes Path
1.11 +9 -1 src/sys/dev/esp/ncr53c9x.c
More information about the cvs-src
mailing list