Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2005 11:55:05 +0300
From:      Pertti Kosunen <pertti.kosunen@pp.nic.fi>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ATA/DMA problem after reboot
Message-ID:  <434394E9.6070106@pp.nic.fi>
In-Reply-To: <20051005081840.GK43195@obiwan.tataz.chchile.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434394E9.6070106>