Date: Sun, 28 Dec 2008 19:55:11 +0100 From: jerome <jerome@code-monkey.nl> To: "Paul B. Mahol" <onemda@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: disk error / reboot / 6.3 Message-ID: <20081228185511.7b4deafa@f89199.upc-f.chello.nl> In-Reply-To: 3a142e750812220415o2a361006vf18468b485440ff3@mail.gmail.com
next in thread | raw e-mail | index | archive | help
Hi Paul,
The patch worked (almost).=20
At first a program accessing a disk that reported an uncorrectable error=
, the program just segfaulted.
Another instance let to the situation that I was only able to ping the s=
erver.
No ssh or console access was possible anymore.
-Pat
=5F=5F=5F=5F=5F =20
From: Paul B. Mahol [mailto:onemda@gmail.com]
To: jerome [mailto:jerome@code-monkey.nl]
Cc: freebsd-questions@freebsd.org
Sent: Mon, 22 Dec 2008 13:15:12 +0100
Subject: Re: disk error / reboot / 6.3
On 12/22/08, jerome <jerome@code-monkey.nl> wrote:
> Hi Paul,
>
> The server resets while running, like pressing the reset button...
=20
Try this patch:
=20
--- src/sys/dev/ata/ata-queue.c 2008/10/27 09:26:24 1.74
+++ src/sys/dev/ata/ata-queue.c 2008/11/27 03:37:46 1.75
@@ -357,7 +357,7 @@ ata=5Fcompleted(void *context, int dummy)
"\6MEDIA=5FCHANGED\5NID=5FNOT=5FFOUND"
"\4MEDIA=5FCHANGE=5FREQEST"
"\3ABORTED\2NO=5FMEDIA\1ILLEGAL=5FLENGTH=
");
- if ((request->flags & ATA=5FR=5FDMA) &&
+ if ((request->flags & ATA=5FR=5FDMA) && request->dma &=
&
(request->dma->status & ATA=5FBMSTAT=5FERROR))
printf(" dma=3D0x%02x", request->dma->status);
if (!(request->flags & (ATA=5FR=5FATAPI | ATA=5FR=5FCO=
NTROL)))
=20
--=20
Paul
=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081228185511.7b4deafa>
