From owner-cvs-src-old@FreeBSD.ORG Sat Oct 31 17:06:53 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2174C10656C4 for ; Sat, 31 Oct 2009 17:06:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 021908FC0A for ; Sat, 31 Oct 2009 17:06:53 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VH6qI8000299 for ; Sat, 31 Oct 2009 17:06:52 GMT (envelope-from se@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9VH6qf0000298 for cvs-src-old@freebsd.org; Sat, 31 Oct 2009 17:06:52 GMT (envelope-from se@repoman.freebsd.org) Message-Id: <200910311706.n9VH6qf0000298@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to se@repoman.freebsd.org using -f From: Stefan Esser Date: Sat, 31 Oct 2009 17:06:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sym sym_hipd.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 17:06:53 -0000 se 2009-10-31 17:06:36 UTC FreeBSD src repository Modified files: sys/dev/sym sym_hipd.c Log: SVN rev 198719 on 2009-10-31 17:06:36Z by se While certain supported Symbios/LSI SCSI chips (532c896, 53c1000, 53c1010) do support 64bit addresses, the current SCRIPTS code supports only 32bit addresses causing data corruption for buffer addresses >4GB. This problem affects 64bit machines with more than 4GB RAM or amd64 with 4GB and memory hole remapping. Work-around this problem with a bus_dma tag that requests bounce-buffers for addresses >4GB. This causes some overhead, but given the maximum SCSI bus speed of 160MB/s compared, the effect should hardly be noticeable. The problem was reported by Mike Watters (mike at mwatters net) who also verified that this fix cures the problem. Since this change is a NOOP on systems with less than 4GB RAM and fixes data corruption (in RAM and on disk) on systems with more than 4GB, I hope that this change is accepted for 8.0. MFC after: 3 days (pending approval) Revision Changes Path 1.73 +1 -1 src/sys/dev/sym/sym_hipd.c