Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 07:42:59 +0200 (CEST)
From:      Soeren Schmidt <sos@spider.deepcore.dk>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        Alexander Serkov <serkov@ukrpost.net>
Subject:   Re: Why is ATAPI DMA disabled by default ?
Message-ID:  <200308140542.h7E5gxFL034186@spider.deepcore.dk>
In-Reply-To: <20030814092542.G10062@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Maxim Konovalov wrote:
> 
> > I use 5.1-current and have found that by default FreeBSD disables ATAPI's
> > support for DMA transfers and thus uses CPU hungry PIO modes.
> > It even makes sysctl used to change this read-only.
> > I had changed the default value of atapi_dma to 1 in dev/ata/atapi-all.c to 1
> > and it worked fine for me.
> 
> Hint: put hw.ata.atapi_dma="1" in /boot/loader.conf.

Or just use atacontrol to change the mode once the system is running...

-Søren



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