From nobody@FreeBSD.org  Sun Jul  5 16:42:37 2009
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 3543D1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Jul 2009 16:42:37 +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 23EDE8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Jul 2009 16:42:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n65Ggatm084691
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 5 Jul 2009 16:42:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n65GgaN1084690;
	Sun, 5 Jul 2009 16:42:36 GMT
	(envelope-from nobody)
Message-Id: <200907051642.n65GgaN1084690@www.freebsd.org>
Date: Sun, 5 Jul 2009 16:42:36 GMT
From: Rene Schickbauer <cavac@magicbooks.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: SATA / ICH7 problems
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136356
>Category:       kern
>Synopsis:       [ata] SATA / ICH7 problems
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 05 16:50:02 UTC 2009
>Closed-Date:    
>Last-Modified:  Mon Jul 06 05:14:59 UTC 2009
>Originator:     Rene Schickbauer
>Release:        8-current
>Organization:
>Environment:
FreeBSD titan 8.0-CURRENT-200906 FreeBSD 8.0-CURRENT-200906 #1: Tue Jun 30 13:29:40 CEST 2009     root@titan:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Writing to a SATA disk on an ICH7M SATA 150 Controller brings the controller into an inaccessible/unstable state.

In my EEE PC 901, i haved changed the second SSD disk from the Asus delivered one to a Patriot 32GB SSD. Installing FreeBSD on this disk and working with it seems fine.

Accessing the build-in 4GB SSD by writing makes that controller inaccesible, sometimes even crashing the whole system. After rebooting, in some cases even the BIOS does not see the controller anymore - i have to remove AC cord and battery for a minute in Order to restore the system.

The hardware itself is working ok, hours of stresstesting under windows do not seem to trigger that problem, while even a simple newfs under FreeBSD can crash the computer.

From what i have been able to see in the kernel (i'm not really good at kernel debugging...), there could be a problem that the ICH7 does not react properly to a reset command or the reset command itself is faulty. This seems to trigger on certain timeout conditions, when the slow SSD/Flashchips/Chipset sends a soft error because it is not quite able to keep up and need one or more commands resend.
>How-To-Repeat:
Get an EEE PC (or a Soekris Net5501 with a slow SATA disk - was able to reproduce the error there, too) and write to a SATA disk.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 6 05:14:40 UTC 2009 
Responsible-Changed-Why:  
reclassify. 

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