From owner-freebsd-stable Fri Mar 31 13:40:41 2000 Delivered-To: freebsd-stable@freebsd.org Received: from isabase.philol.msu.ru (isabase.philol.msu.ru [195.208.217.73]) by hub.freebsd.org (Postfix) with ESMTP id 75A4F37C362 for ; Fri, 31 Mar 2000 13:40:35 -0800 (PST) (envelope-from grg@isabase.philol.msu.ru) Received: (from grg@localhost) by isabase.philol.msu.ru (8.9.3/8.9.2) id BAA48308; Sat, 1 Apr 2000 01:39:59 +0400 (MSD) (envelope-from grg) Date: Sat, 1 Apr 2000 01:39:59 +0400 From: Grigoriy Strokin To: Jason Garman Cc: Thomas K?llmann , Grigoriy Strokin , freebsd-stable@FreeBSD.ORG Subject: Re: New kernel with its ATA drivers damages the filesystem Message-ID: <20000401013959.A48268@isabase.philol.msu.ru> References: <20000331022130.A4045@isabase.philol.msu.ru> <20000331142357.A1291@home.net> <20000331163527.B24581@got.wedgie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000331163527.B24581@got.wedgie.org>; from jgarman@wedgie.org on Fri, Mar 31, 2000 at 04:35:27PM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 31, 2000 at 04:35:27PM -0500, Jason Garman wrote: > On Fri, Mar 31, 2000 at 02:23:57PM +0200, Thomas K?llmann wrote: > > > > Please excuse if this was mentioned before (I did not follow this > > thread very closely), but isn't _not_ using > > > > options ATA_ENABLE_ATAPI_DMA > > > > enough as a measure of precaution? > > > > This is from LINT: > > > > # ATA_ENABLE_ATAPI_DMA: enable DMA on ATAPI device, since many ATAPI > > # devices claim to support DMA but doesn't actually work, this is > > # not enabled as default. > > > Note there is a subtle distinction between ATAPI devices and ATA hard > disks. The devices which that option disables DMA for are devices like > CD-ROMs, IDE zip drives, etc. -- NOT normal IDE hard drives -- they use > DMA with the new driver regardless of that setting. > Interestingly, commenting out this option doesn't affect the mode for my CD-ROM either. sysctl reports hw.atamodes: dma,---,dma,---, First dma is for ad0, second for acd0. And dmesg reports using UDMA-33 for CDROM, too. acd0: CDROM at ata1-master using UDMA33 -- === Grigoriy Strokin, Lomonosov University (MGU), Moscow === === contact info: http://isabase.philol.msu.ru/~grg/ === To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message