From owner-freebsd-bugs Tue Mar 4 12: 0:30 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C33037B401 for ; Tue, 4 Mar 2003 12:00:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1786143FA3 for ; Tue, 4 Mar 2003 12:00:26 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h24K0PNS059600 for ; Tue, 4 Mar 2003 12:00:25 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h24K0PwI059599; Tue, 4 Mar 2003 12:00:25 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0CEF37B401 for ; 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 ; 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 ; 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 Reply-To: UEHARA Tetsu=TaLow To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/48928: ata-dma.c workaround for SiS 651 based machines Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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