From tetsu@oniboshi.sys.wakayama-u.ac.jp  Tue Mar  4 11:52:29 2003
Return-Path: <tetsu@oniboshi.sys.wakayama-u.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E0CEF37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Mar 2003 11:52:29 -0800 (PST)
Received: from oniboshi.sys.wakayama-u.ac.jp (oniboshi.sys.wakayama-u.ac.jp [133.42.145.133])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 14CE943FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Mar 2003 11:52:28 -0800 (PST)
	(envelope-from tetsu@oniboshi.sys.wakayama-u.ac.jp)
Received: from oniboshi.sys.wakayama-u.ac.jp (localhost [127.0.0.1])
	by oniboshi.sys.wakayama-u.ac.jp (8.12.6/8.12.3) with ESMTP id h24JqFQG040201
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Mar 2003 04:52:16 +0900 (JST)
	(envelope-from tetsu@oniboshi.sys.wakayama-u.ac.jp)
Received: (from tetsu@localhost)
	by oniboshi.sys.wakayama-u.ac.jp (8.12.6/8.12.3/Submit) id h24JqEYY040152;
	Wed, 5 Mar 2003 04:52:14 +0900 (JST)
Message-Id: <200303041952.h24JqEYY040152@oniboshi.sys.wakayama-u.ac.jp>
Date: Wed, 5 Mar 2003 04:52:14 +0900 (JST)
From: UEHARA Tetsu=TaLow <tetsu@oniboshi.sys.wakayama-u.ac.jp>
Reply-To: UEHARA Tetsu=TaLow <tetsu@oniboshi.sys.wakayama-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ata-dma.c workaround for SiS 651 based machines
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48928
>Category:       i386
>Synopsis:       ata-dma.c workaround for SiS 651 based machines
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 12:00:25 PST 2003
>Closed-Date:    Wed Mar 05 04:21:47 PST 2003
>Last-Modified:  Wed Apr  9 11:20:00 PDT 2003
>Originator:     UEHARA Tetsu=TaLow
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
Wakayama University
>Environment:
System: FreeBSD oniboshi.sys.wakayama-u.ac.jp 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #6: Wed Feb 26 17:42:16 JST 2003 root@oniboshi.sys.wakayama-u.ac.jp:/usr/src/sys/compile/ONIBOSHI i386


	
>Description:
	
For SiS651-based P4 machines, the kernel hangs up when the ata-device 
is probed in booting up process. 
>How-To-Repeat:
It always happens.
	
>Fix:
Here is the patch to /sys/dev/ata/ata-dma.c

*** ata-dma.c.orig      Wed Oct  2 23:13:38 2002
--- ata-dma.c   Tue Feb 25 10:20:08 2003
***************
*** 504,509 ****
--- 504,510 ----
            ata_find_dev(parent, 0x06401039, 0) ||      /* SiS 640 */
            ata_find_dev(parent, 0x06451039, 0) ||      /* SiS 645 */
            ata_find_dev(parent, 0x06501039, 0) ||      /* SiS 650 */
+           ata_find_dev(parent, 0x06511039, 0) ||      /* SiS 651 */
            ata_find_dev(parent, 0x07301039, 0) ||      /* SiS 730 */
            ata_find_dev(parent, 0x07331039, 0) ||      /* SiS 733 */
            ata_find_dev(parent, 0x07351039, 0) ||      /* SiS 735 */

It worked fine for this 3 monthes on my machine.
I'm afraid the same problem may occur on SiS 648, 655, 746 and 755-based machines...

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Tue Mar 4 13:20:43 PST 2003 
Responsible-Changed-Why:  
ATA quirk for Soren. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48928 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed Mar 5 04:20:23 PST 2003 
State-Changed-Why:  
This patch *does not* work, please see how it should be done  
in -current. THe changes in -current are not immediatly 
backportable to -stable, and I have no timeline (unless someone 
buys me time off to do it). 


http://www.freebsd.org/cgi/query-pr.cgi?pr=48928 

From: Noel Elsten <nelsten@quicknet.nl>
To: freebsd-gnats-submit@FreeBSD.org,
	tetsu@oniboshi.sys.wakayama-u.ac.jp
Cc:  
Subject: Re: i386/48928: ata-dma.c workaround for SiS 651 based machines
Date: Wed, 09 Apr 2003 20:11:01 +0200

 This is a multi-part message in MIME format.
 
 --Boundary_(ID_yOFcu5mPyQHnnS8nkKVjJg)
 Content-type: text/plain; charset=iso-8859-1
 Content-transfer-encoding: 7BIT
 
 Is this going to be included in 4.8 Release?? Or do we still have to patch it on our own??
 
 Thanx in advance,
 
 --Boundary_(ID_yOFcu5mPyQHnnS8nkKVjJg)
 Content-type: text/html; charset=iso-8859-1
 Content-transfer-encoding: 7BIT
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
 <META content="MSHTML 6.00.2800.1141" name=GENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=#ffffff>
 <DIV><FONT face=Arial size=2>Is this going to be included in 4.8 Release?? Or do 
 we still have to patch it on our own??</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2>Thanx in advance,</FONT></DIV></BODY></HTML>
 
 --Boundary_(ID_yOFcu5mPyQHnnS8nkKVjJg)--
>Unformatted:
