Subject: Re: accessing IDE hard drive via pcmcia card (redirected from netbsd-users)
To: Steven M. Bellovin <smb@research.att.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 05/21/2004 22:59:12
On Fri, May 21, 2004 at 04:55:17PM -0400, Steven M. Bellovin wrote:
> >
> >Would be a good test. But this flush cache command should be enouth.
> >Maybe adding a printf here to make sure it's called on last close would
> >be usefull too.
>
> Demonstrably, it isn't -- as I said, I'm not getting writes flushed
> properly when the drive is closed immediately afterwards.
Of maybe the function is called, but the command is a NOP on this drive ...
> >
> >Also please update to wd.c 1.276, I just added support for DIOCCACHESYNC.
> >Then you can try dkctl wdX synccache, and see if it complete without errors.
> >
> That's on -current?
Yes.
> This machine is 2.0beta. If there are no other
> changes, I could try to merge yours and mine, and run that driver on
> 2.0.
The changes are small , the diff should apply almost cleanly.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--