From owner-freebsd-current@FreeBSD.ORG Wed Oct 5 08:55:09 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 49CC316A46C for ; Wed, 5 Oct 2005 08:55:09 +0000 (GMT) (envelope-from pertti.kosunen@pp.nic.fi) Received: from fep19.inet.fi (fep19.inet.fi [194.251.242.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2290D43D49 for ; Wed, 5 Oct 2005 08:55:06 +0000 (GMT) (envelope-from pertti.kosunen@pp.nic.fi) Received: from [192.168.0.20] ([84.249.3.49]) by fep19.inet.fi with ESMTP id <20051005085505.UJNR20628.fep19.inet.fi@[192.168.0.20]>; Wed, 5 Oct 2005 11:55:05 +0300 Message-ID: <434394E9.6070106@pp.nic.fi> Date: Wed, 05 Oct 2005 11:55:05 +0300 From: Pertti Kosunen User-Agent: Mozilla Thunderbird 1.0.2 / FreeBSD 6.0-BETA5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremie Le Hen References: <20050928190336.GA1027@obiwan.tataz.chchile.org> <200509281527.33584.mistry.7@osu.edu> <20050928202406.GD1027@obiwan.tataz.chchile.org> <20050928222849.GA1086@obiwan.tataz.chchile.org> <20050929170359.GA31360@amper.iem.pw.edu.pl> <20051005081840.GK43195@obiwan.tataz.chchile.org> In-Reply-To: <20051005081840.GK43195@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ATA/DMA problem after reboot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 05 Oct 2005 08:55:09 -0000 Jeremie Le Hen wrote: >How do I set this at boot time ? There may be a tunable or something >allowing to do this. My problem indeed occurs before / is even >mounted. > Disable dma at boot and enable in rc.local. /boot/loader.conf hw.ata.ata_dma="0" hw.ata.atapi_dma="0" /etc/rc.local #!/bin/sh atacontrol mode ad0 UDMA66 atacontrol mode ad4 UDMA66 atacontrol mode ad5 UDMA66 atacontrol mode ad6 UDMA66