Re: Panic with current kernel (ATA-related?)

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 16 Feb 2004 11:08:25 -0800
On Sun, Feb 15, 2004 at 04:10:48PM +0300, Maxim Konovalov wrote:
> 
> Index: ata-all.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v
> retrieving revision 1.203
> diff -u -r1.203 ata-all.c
> --- ata-all.c	30 Jan 2004 19:16:08 -0000	1.203
> +++ ata-all.c	14 Feb 2004 15:43:20 -0000
> _at__at_ -567,7 +567,7 _at__at_
>  	    while (retries-- > 0) {
>  		request->device = atadev;
>  		request->timeout = 5;
> -		request->retries = -1;
> +		request->retries = 3;
>  		request->u.ata.command = command;
>  		request->flags = (ATA_R_READ | ATA_R_IMMEDIATE);
>  		request->data = (caddr_t)atadev->param;
> %%%
> 

This patch fixes my mtrash_ctor panic.  For details, see

http://lists.freebsd.org/pipermail/freebsd-current/2004-February/020580.html

Please commit it.

-- 
Steve
Received on Mon Feb 16 2004 - 10:08:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC