From nobody@FreeBSD.org  Mon Aug 16 18:32:09 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 45B381065670
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Aug 2010 18:32:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1AF408FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Aug 2010 18:32:09 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7GIW8UB098990
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Aug 2010 18:32:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7GIW8ov098989;
	Mon, 16 Aug 2010 18:32:08 GMT
	(envelope-from nobody)
Message-Id: <201008161832.o7GIW8ov098989@www.freebsd.org>
Date: Mon, 16 Aug 2010 18:32:08 GMT
From: Paul Honig <paul@swarmtv.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel crashes on HD timeout
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149713
>Category:       amd64
>Synopsis:       [ata] [panic] Kernel crashes on HD timeout
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 16 18:40:04 UTC 2010
>Closed-Date:    Sun Dec 05 14:24:49 UTC 2010
>Last-Modified:  Sun Dec 05 14:24:49 UTC 2010
>Originator:     Paul Honig
>Release:        FreeBSD 7.2-RELEASE (GENERIC)
>Organization:
ETV
>Environment:
FreeBSD etv.cx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When a Harddisk under KVM (Linux) gets very busy the kernel panics and stops with the following message in the console :

http://i.sigio.nl/c90f63a01cb1804e89c47598e92ffb97.png
>How-To-Repeat:
Not repeated yet .. 
>Fix:
Nothing on Google.

>Release-Note:
>Audit-Trail:

From: Alexander Motin <mav@FreeBSD.org>
To: bug-followup@FreeBSD.org, paul@swarmtv.nl
Cc:  
Subject: Re: amd64/149713: Kernel crashes on HD timeout
Date: Tue, 17 Aug 2010 00:11:00 +0300

 I think there is two reasons:
 1. Too low request timeout value triggers error too early. Increasing
 timeout should make it less frequent. It was already done in 7-STABLE
 branch and above.
 2. After timeout triggered, panic probably caused by weak locking in
 ata(4). You may try to upgrade your system, hoping situation was
 improved. But I would recommend you to upgrade to 8.1 and build kernel
 with ATA_CAM option, replacing old ata(4) infrastructure with new and
 probably more reliable one.
 
 -- 
 Alexander Motin

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org, paul@swarmtv.nl
Cc:  
Subject: Re: amd64/149713: [ata] [panic] Kernel crashes on HD timeout
Date: Sun, 05 Dec 2010 15:27:44 +0200

 Is still an issue for you?
 Have you tried the suggestion from mav@?
 
 -- 
 Andriy Gapon
State-Changed-From-To: open->closed 
State-Changed-By: avg 
State-Changed-When: Sun Dec 5 14:24:03 UTC 2010 
State-Changed-Why:  
The crash happened only once and is not reproducible at 
the moment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149713 
>Unformatted:
