Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 15:09:53 +0100
From:      Christian Lackas <c.lackas@kfa-juelich.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: hw.ata.ata_dma="0": can I do this during bootup at the
Message-ID:  <20041213140953.GA41404@zel726.zel.kfa-juelich.de>
In-Reply-To: <B122FD14-4B73-11D9-87CD-000A95D15614@hollensbe.org>
References:  <20041211120123.C9F7D16A4D6@hub.freebsd.org> <B122FD14-4B73-11D9-87CD-000A95D15614@hollensbe.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Erik Hollensbe <erik@hollensbe.org> [041211 16:55]:

Hi Erik,

> > > I have to dispatch a
> > >    atacontrol mode 1 foo UDMA33
> > You can use /etc/rc.early for that. You'll have to create it if it
> > doesn't yet exist. Put 'atacontrol mode 1 foo UDMA33' in it, and it
> > should execute that command before mounting the drives.
> Note that you can put this in loader.conf as well - if you're having
> trouble booting the system to do it, boot to "safe mode" - should get
> you in.

are you sure you can call atacontrol(1) from within loader.conf?
I don't want to disable DMA (by setting hw.ata.ata_dma=0), just a slower
DMA mode for a single device. Otherwise the fsck on this device will
fail with read errors.

I will try rc.early, thanks for the suggestion.

Best regards
 Christian

-- 
http://www.lackas.net/



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