From owner-freebsd-stable Fri Mar 31 4:26:59 2000 Delivered-To: freebsd-stable@freebsd.org Received: from relay.ipf.net (relay.gigabell.net [195.211.211.23]) by hub.freebsd.org (Postfix) with SMTP id 35F4E37B938 for ; Fri, 31 Mar 2000 04:26:53 -0800 (PST) (envelope-from koellmann@gmx.net) Received: (qmail 29720 invoked from network); 31 Mar 2000 12:26:49 -0000 Received: from dialin-194-29-33-5.hamburg.gigabell.net (HELO server.home.net) (194.29.33.5) by relay.gigabell.net with SMTP; 31 Mar 2000 12:26:49 -0000 Received: (qmail 17878 invoked from network); 31 Mar 2000 12:24:27 -0000 Received: from desk.home.net (192.168.1.2) by server.home.net with SMTP; 31 Mar 2000 12:24:27 -0000 Received: by desk.home.net (Postfix, from userid 1002) id 8588F934BD; Fri, 31 Mar 2000 14:23:57 +0200 (CEST) Date: Fri, 31 Mar 2000 14:23:57 +0200 From: =?iso-8859-1?Q?Thomas_K=F6llmann?= To: Grigoriy Strokin Cc: freebsd-stable@freebsd.org Subject: Re: New kernel with its ATA drivers damages the filesystem Message-ID: <20000331142357.A1291@home.net> References: <20000331022130.A4045@isabase.philol.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <20000331022130.A4045@isabase.philol.msu.ru>; from grg@philol.msu.ru on Fri, Mar 31, 2000 at 02:21:30AM +0400 X-Operating-System: FreeBSD 4.0-STABLE X-Uptime: 2:17pm up 4:13, 2 users, load averages: 1.41, 1.35, 1.21 X-PGP-KeyID: 8C45AC01 X-PGP-Fingerprint: C5 F0 DE B2 AD 70 B9 45 B0 F9 0C D3 58 19 48 C8 Organization: =?iso-8859-1?Q?Hamburger_Gesellschaft_mit_beschr=E4nkter_Hoffnung?= Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Grigoriy Strokin wrote/schrieb (Friday, March 31, 2000): | While the bug wiping out filesystems on machines with Apollo MVP3 when ATA | driver is in UDMA mode is being fixed, I suppose there at least should be some | note added to /usr/src/UPDATING, so that another users do not loss | all their data and have to reinitialize /usr and restore it from backup, as I | had to do? | | Something like that: | | If you use the Apollo MVP3 chipset, it is STRONGLY | recommended that you disable the use of DMA mode in ATA drivers | BEFORE you try to boot the system after `make installkernel'. | Add the following line: | /sbin/sysctl -w hw.atamodes=pio,pio,pio,pio | to the very beginning of your /etc/rc, | ~root/.profile and ~root/.login. | Be warned that if you don't disable the DMA mode, | all your filesystems may be corrupted because | of a bug in the driver that is still being fixed. | 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. Gruß - Thomas -- I looked in the store windows and there was nothing in the store windows that I wanted at all. - Charles Bukowski, A Rain of Women # PGP key sent on request / PGP key auf Wunsch per e-mail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message