Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Oddness in ahcisata driver



On Thu, Apr 17, 2008 at 12:08:17PM -0500, M Graff wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Yorick Hardy wrote:
> | This is not a correct fix, but would you be interested in looking here?
> |
> |   http://mail-index.netbsd.org/port-i386/2008/04/14/msg000371.html
> 
> This patch suggests retrying after a short delay.  I've tested it and
> while it does work, it does not ALWAYS work -- one time in 15 it has
> failed me if I rapidly reboot.
> 
> I suppose we might need a:
> 
> ~  maxtries = 5;
> ~  while (err == CMD_ERR && maxtries-- > 0) {
> ~    delay(...);
> ~    err = wd->atabus->...
> ~  }


Could you try with ahcisata_core.c rev 1.15 that I just commited ?
It may help for this problem.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index