From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 16:04:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA75D16A4CE for ; Thu, 5 Aug 2004 16:04:26 +0000 (GMT) Received: from smtp-bedford.mitre.org (smtp-bedford-x.mitre.org [192.160.51.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EE1143D5A for ; Thu, 5 Aug 2004 16:04:26 +0000 (GMT) (envelope-from jandrese@mitre.org) Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with SMTP id i75G4PI22036 for ; Thu, 5 Aug 2004 12:04:25 -0400 Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (Postfix) with ESMTP id BA845BF82 for ; Thu, 5 Aug 2004 12:04:25 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i75G4PP21980 for ; Thu, 5 Aug 2004 12:04:25 -0400 Received: from mm112324-2k.mitre.org (128.29.3.51) by mailhub2.mitre.org with SMTP id 4004978; Thu, 05 Aug 2004 12:04:18 -0400 Message-ID: <41125A82.7070302@mitre.org> Date: Thu, 05 Aug 2004 12:04:18 -0400 From: Jason Andresen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SiI3112a possible workaround? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 16:04:27 -0000 I was searching the net today and I came across this little gem in a Linux mailing list: http://www.uwsg.iu.edu/hypermail/linux/kernel/0307.3/1349.html Notably: 1) As some others suggested on the list, the problem with very slow transfer and timeouts if you try to enable DMA, can be fixed by the following lines in an appropriate rc file: hdparm -X66 -d1 /dev/hda echo "max_kb_per_request:15" > /proc/ide/hdX/settings (repeat for both drives, e.g. hde and hdg). As I have one of these unfortunate controllers, I was wondering if it is possible to do something like this in FreeBSD? sysctl doesn't seem to have anything and I'm not sure what to look for in the sources. Does FreeBSD have any sort of analog to the above hdparm command?