From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 21:17:47 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 5F5E016A4D9 for ; Thu, 5 Aug 2004 21:17:47 +0000 (GMT) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A2043D58 for ; Thu, 5 Aug 2004 21:17:46 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [194.192.25.143] (laptop.deepcore.dk [194.192.25.143]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i75LHbU0094229; Thu, 5 Aug 2004 23:17:43 +0200 (CEST) (envelope-from sos@DeepCore.dk) Message-ID: <4112A3EC.3040005@DeepCore.dk> Date: Thu, 05 Aug 2004 23:17:32 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040802) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Andresen References: <41125A82.7070302@mitre.org> In-Reply-To: <41125A82.7070302@mitre.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: freebsd-current@freebsd.org Subject: Re: 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 21:17:47 -0000 Jason Andresen wrote: > 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? The ATA driver already limits transfers to 8K on the older stepping of that bugridden silicon. Could you please mail me the complete output of a dmesg and the output of pciconf -l ? I've newer been able to reproduce this problem so I'd like to know what exact HW causes this so we can try a workaround if possible... BTW you should definitly try to update your install to the latest -current as I've just committed some race fixes that might help you on that chip as well... -Søren