Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2004 17:47:15 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
Cc:        Nate Lawson <nate@root.org>
Subject:   Re: memory corruption/panic solved ("FAILURE - ATAPI_IDENTIFY no interrupt")
Message-ID:  <04073117462818.89117@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <410B61F2.90504@DeepCore.dk>
References:  <410AD054.8070202@root.org> <410B61F2.90504@DeepCore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Jul 2004, [ISO-8859-1] Søren Schmidt wrote:
[...]
> Thats the real bug, donecount should be reset on retry..
>
> > @@ -561,11 +561,12 @@
> >  		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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04073117462818.89117>