Re: memory corruption/panic solved ("FAILURE - ATAPI_IDENTIFY no interrupt")

From: Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw>
Date: Sat, 31 Jul 2004 17:47:15 +0800 (CST)
On Sat, 31 Jul 2004, [ISO-8859-1] Søren Schmidt wrote:
[...]
> Thats the real bug, donecount should be reset on retry..
>
> > _at__at_ -561,11 +561,12 _at__at_
> >  		request->data = (caddr_t)atadev->param;
> >  		request->bytecount = sizeof(struct ata_params);
> >  		request->transfersize = DEV_BSIZE;
> > +		request->donecount = 0;
> >  		ata_queue_request(request);
> >  		if (!(error = request->result))
> >  		    break;
> >  	    }
>
> This part should be all thats needed IMHO...

I've tested this, and it worked on my T40.
Received on Sat Jul 31 2004 - 07:47:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC