hw.ata.ata_dma="0": can I do this during bootup at the
Christian Lackas
c.lackas at kfa-juelich.de
Mon Dec 13 06:09:56 PST 2004
* Erik Hollensbe <erik at 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/
More information about the freebsd-stable
mailing list