Date: Mon, 22 Dec 2008 23:07:17 +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: <20081222220717.49dbefc9@f89199.upc-f.chello.nl> In-Reply-To: 3a142e750812220415o2a361006vf18468b485440ff3@mail.gmail.com
next in thread | raw e-mail | index | archive | help
Hi Paul, Ok, thanks. Will let you know the outcome. -Jerome _____ 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... Try this patch: --- 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_completed(void *context, int dummy) "\6MEDIA_CHANGED\5NID_NOT_FOUND" "\4MEDIA_CHANGE_REQEST" "\3ABORTED\2NO_MEDIA\1ILLEGAL_LENGTH"); - if ((request->flags & ATA_R_DMA) && + if ((request->flags & ATA_R_DMA) && request->dma && (request->dma->status & ATA_BMSTAT_ERROR)) printf(" dma=0x%02x", request->dma->status); if (!(request->flags & (ATA_R_ATAPI | ATA_R_CONTROL))) -- Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081222220717.49dbefc9>