From nobody@FreeBSD.org  Sun Jul 18 09:54:22 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5635516A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Jul 2004 09:54:22 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4F83743D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Jul 2004 09:54:22 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6I9sMKd087194
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Jul 2004 09:54:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i6I9sMjB087193;
	Sun, 18 Jul 2004 09:54:22 GMT
	(envelope-from nobody)
Message-Id: <200407180954.i6I9sMjB087193@www.freebsd.org>
Date: Sun, 18 Jul 2004 09:54:22 GMT
From: Kai Schmidt <hirvi@despammed.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Boot sequnce hangs up with SIS 962 Chipset
X-Send-Pr-Version: www-2.3

>Number:         69234
>Category:       i386
>Synopsis:       [patch] [ata] boot sequence hangs up with SIS 962 Chipset in 4.10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 18 10:00:53 GMT 2004
>Closed-Date:    Sat Sep 11 21:09:50 GMT 2004
>Last-Modified:  Sat Sep 11 21:09:50 GMT 2004
>Originator:     Kai Schmidt
>Release:        4.10-Stable
>Organization:
- private -
>Environment:
FreeBSD susi.hirvi.net 4.10-STABLE FreeBSD 4.10-STABLE #4: Sat Jul 10 19:55:03 CEST 2004     root@susi.hirvi.net:/usr/obj/usr/src/sys/ITX  i386
>Description:
When using a motherboard with SIS 962 IDE controller the system doesn't
boot up it hangs with the follwing nessage:

ad0 : read command timeout tag=0 serv=0 resetting
ata0 : resetting devices..

Then the system is blocked even CTRl-ALT-DEL won't work.

The computer is a ASUS Barebone:

http://www.asus.com/prog/spec.asp?m=Terminator%20P4%20533A&langs=01

With FreeBSD 5.2.1 this issue seems to be solved. FreeSBee boots.

>How-To-Repeat:
Just reboot ;)     
>Fix:
Disable UDMA in the BIOS, I have read that a patch exist:

--- ata-dma.c.old	Sun Jun 20 19:30:10 2004
 +++ ata-dma.c	Sun Jun 20 19:23:41 2004
 @@ -669,6 +669,7 @@
   	    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 */
 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Sep 11 19:54:32 GMT 2004 
Responsible-Changed-Why:  
Over to Soren for evaluation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69234 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Sat Sep 11 21:08:23 GMT 2004 
State-Changed-Why:  
That patch is *not* correct. The code in 4.x has no clue how to set  
modes on the newer SiS chipsets. You need to upgrade to 5.x or 
-current to have support for those. 

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