From owner-freebsd-stable Tue Apr 30 13: 1:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gyros.marcuscom.com (dhcp-64-102-60-52.cisco.com [64.102.60.52]) by hub.freebsd.org (Postfix) with ESMTP id 3973237B41A for ; Tue, 30 Apr 2002 13:01:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.3/8.12.3) with ESMTP id g3UK0jwY086563; Tue, 30 Apr 2002 16:00:45 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: ata (cd) troubles From: Joe Marcus Clarke To: Chris Pockele Cc: Christopher Hall , stable@FreeBSD.ORG In-Reply-To: <20020430213613.A780@freedaemon.home.lan> References: <200204300101.g3U11Lg6018433@x4.tucheng.generalresources.com> <20020430213613.A780@freedaemon.home.lan> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 30 Apr 2002 16:00:45 -0400 Message-Id: <1020196845.342.31.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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