From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 18:56:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D0E31065670 for ; Sun, 28 Dec 2008 18:56:33 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from viefep18-int.chello.at (viefep19-int.chello.at [62.179.121.39]) by mx1.freebsd.org (Postfix) with ESMTP id B20448FC16 for ; Sun, 28 Dec 2008 18:56:32 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from edge04.upc.biz ([192.168.13.239]) by viefep19-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20081228185630.ECWT29431.viefep19-int.chello.at@edge04.upc.biz>; Sun, 28 Dec 2008 19:56:30 +0100 Received: from f89199.upc-f.chello.nl ([92.108.20.29]) by edge04.upc.biz with edge id wiwT1a05l0dehbQ04iwVzy; Sun, 28 Dec 2008 19:56:29 +0100 X-SourceIP: 92.108.20.29 Received: from localhost ([127.0.0.1]) by f89199.upc-f.chello.nl; Sun, 28 Dec 2008 19:55:11 +0100 To: "Paul B. Mahol" From: jerome In-Reply-To: 3a142e750812220415o2a361006vf18468b485440ff3@mail.gmail.com Message-ID: <20081228185511.7b4deafa@f89199.upc-f.chello.nl> Date: Sun, 28 Dec 2008 19:55:11 +0100 X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: disk error / reboot / 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 18:56:33 -0000 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 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