Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 04:52:14 +0900 (JST)
From:      UEHARA Tetsu=TaLow <tetsu@oniboshi.sys.wakayama-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/48928: ata-dma.c workaround for SiS 651 based machines
Message-ID:  <200303041952.h24JqEYY040152@oniboshi.sys.wakayama-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         48928
>Category:       i386
>Synopsis:       ata-dma.c workaround for SiS 651 based machines
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 12:00:25 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303041952.h24JqEYY040152>