From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 12:15:13 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 B2DB6106564A for ; Mon, 22 Dec 2008 12:15:13 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF338FC13 for ; Mon, 22 Dec 2008 12:15:13 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1428555ywe.13 for ; Mon, 22 Dec 2008 04:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JUCq+jVAzfOyjj9+EtgdRvfxMu6IFI+dvTUjrXVETYA=; b=g7zt8NHIS7vHI9QU0MYaqILWZZjXlfo4td/ldfI727JeqyUBF+ZFl1OD4FdtNSsljp 7vUZv3fCLTsFZWpmC3mSMSae8buDPkSKHANum3tbh9NjVHLlFxfVMv4ckje533cv7qod 9WFmr0Yk3EiqoTTG2LRd+2CbYfIarYOjYJ2hs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OuKjxwPrhaFa4jpPTrWNtgrzgugdlZjKTEP6yZf89MYPei1tNV+3J+KuHFwtpcYQc1 FkBznjH7BluVf4EDrpZ2nUepGwURvAD9uwswM8Snl1wwOStkJEofC1XmTfmvIDw2BPpP RMPBtKYq88vUX4ehG/vx5CcnL/CDf8Mvo6Drw= Received: by 10.231.20.1 with SMTP id d1mr157205ibb.17.1229948112635; Mon, 22 Dec 2008 04:15:12 -0800 (PST) Received: by 10.231.18.197 with HTTP; Mon, 22 Dec 2008 04:15:12 -0800 (PST) Message-ID: <3a142e750812220415o2a361006vf18468b485440ff3@mail.gmail.com> Date: Mon, 22 Dec 2008 13:15:12 +0100 From: "Paul B. Mahol" To: jerome In-Reply-To: <20081222004444.477cbeaf@f89199.upc-f.chello.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081222004444.477cbeaf@f89199.upc-f.chello.nl> 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: Mon, 22 Dec 2008 12:15:13 -0000 On 12/22/08, jerome 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