From owner-freebsd-questions Thu Sep 14 20:21:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by hub.freebsd.org (Postfix) with SMTP id 2C5BC37B423 for ; Thu, 14 Sep 2000 20:21:48 -0700 (PDT) Received: (qmail 24108 invoked by uid 1100); 15 Sep 2000 03:21:47 -0000 Date: 14 Sep 2000 20:21:47 -0700 Date: Thu, 14 Sep 2000 20:21:47 -0700 From: Eric Hodel To: questions@freebsd.org Subject: sysctl.conf Message-ID: <20000914202147.F93342@segment7.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a hard drive that incorrectly reports itself as an ATA drive, and I need it to be DMA so my system doesn't fall over and die. I found that sysctl.conf would do this for me, so I put into sysctl.conf: hw.atamodes="dma,---,pio,---" and rebooted. On reboot I get the following message: hw.atamodes="dma,---,dma,---" -> hw.atamodes="dma,---,dma,---" Obviously this isn't the desired behavior. If I add an echo to /etc/rc.sysctl I can see that it prints out the proper line to set the property I want, but it isn't changed. Can somebody point me in the correct direction? I'm running -current, but I've had this problem for quite some time now. -- Eric Hodel - drbrain@segment7.net - http://segment7.net As a matter of fact, I _would_ mind being cremated in the company furnace. http://www.dilbert.com/comics/dilbert/archive/images/dilbert2045670000822.gif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message