Skip site navigation (1)Skip section navigation (2)
Date:      30 Apr 2002 16:00:45 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Chris Pockele <chrisp@belgacom.net>
Cc:        Christopher Hall <hsw@acm.org>, stable@FreeBSD.ORG
Subject:   Re: ata (cd) troubles
Message-ID:  <1020196845.342.31.camel@gyros.marcuscom.com>
In-Reply-To: <20020430213613.A780@freedaemon.home.lan>
References:  <chrisp@belgacom.net> <200204300101.g3U11Lg6018433@x4.tucheng.generalresources.com>  <20020430213613.A780@freedaemon.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-04-30 at 16:36, Chris Pockele wrote:
> On Tue, Apr 30, 2002 at 09:01:21AM +0800, Christopher Hall wrote:
> > 
> > There are several threads that show similar problems with acd, and
> > there is a PR
> > 
> > i386/37420: Copying large files from an IDE CD-ROM to a harddrive
> >  causes a system lock-up.
> > 
> > Some have had success by using atacontrol to change drive to dma mode.
> > This only reduces the frequency of the problem in my case.
> >
> Well, I've done that and it seems to help.  No crash yet - although I haven't
> done really extensive testing yet.  Anyway, the bug is still there - if I
> can do anything to help, just ask :).
> 
> What is the difference between the mode setting (atacontrol) and the dma
> sysctl?  Is the sysctl some default value?  I enabled dma with atacontrol:
> 
> # atacontrol mode 1
> Master = WDMA2 
> Slave  = WDMA2
> 
> # sysctl -a | grep dma
> hw.ata.ata_dma: 1
> hw.ata.atapi_dma: 0
> 
> (still says 0 ?)
> The (ata) manpage is a bit unclear on this subject, how should this "sysctl"
> be changed? 

Add this to /boot/loader.conf:

hw.ata.atapi_dma=1

Works for me on my Dell Inspiron 8100.  I have my DVD-ROM as a UDMA 33
device.

Joe

> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 
-- 
PGP Key: http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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