From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 19:01:39 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 EA6A416A4CE for ; Thu, 5 Aug 2004 19:01:39 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0F7443D58 for ; Thu, 5 Aug 2004 19:01:39 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id DA1E972DF2; Thu, 5 Aug 2004 12:01:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id D509172DB5; Thu, 5 Aug 2004 12:01:39 -0700 (PDT) Date: Thu, 5 Aug 2004 12:01:39 -0700 (PDT) From: Doug White To: Jason Andresen In-Reply-To: <41125A82.7070302@mitre.org> Message-ID: <20040805115935.H36982@carver.gumbysoft.com> References: <41125A82.7070302@mitre.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 19:01:40 -0000 On Thu, 5 Aug 2004, Jason Andresen wrote: > 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? 'atacontrol mode' allows you to set the speeds on a per-device basis. For the max_kb_per_request thing, thre isnt' a way to set that that I know of, but it might be something that we could quirk in the driver. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org