Panic with current kernel (ATA-related?)
Steve Kargl
sgk at troutmask.apl.washington.edu
Mon Feb 16 11:08:27 PST 2004
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
More information about the freebsd-current
mailing list