Date: Mon, 25 Apr 2005 22:11:43 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/esp ncr53c9x.c Message-ID: <200504252211.j3PMBheb041436@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504252211.j3PMBheb041436>