Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 11:08:25 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic with current kernel (ATA-related?)
Message-ID:  <20040216190825.GA62505@troutmask.apl.washington.edu>
In-Reply-To: <20040215160713.U70835@news1.macomnet.ru>
References:  <200402141934.32797.msch@snafu.de> <20040215160713.U70835@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> @@ -567,7 +567,7 @@
>  	    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



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