From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 07:39:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AEC016A4CE for ; Sat, 22 Nov 2003 07:39:53 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C08EF43F75 for ; Sat, 22 Nov 2003 07:39:52 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.200.37]) by comcast.net (rwcrmhc12) with ESMTP id <2003112215395201400oqj6he>; Sat, 22 Nov 2003 15:39:52 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id EBEA93A; Sat, 22 Nov 2003 10:39:51 -0500 (EST) Sender: lowell@be-well.ilk.org To: Bert Lagaisse References: <3FBE13FC.6020606@cs.kuleuven.ac.be> From: Lowell Gilbert Date: 22 Nov 2003 10:39:51 -0500 In-Reply-To: <3FBE13FC.6020606@cs.kuleuven.ac.be> Message-ID: <44r800cszc.fsf@be-well.ilk.org> Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: DMA issue caused crash and file system inconsistency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 15:39:53 -0000 Bert Lagaisse writes: > I did some stupid newbie things: > > I have 2 cdroms, a plextor 8/4/32A and a 50x aopen cdrom. > > I added the line hw.ata.atapi_dma="1" to loader.conf > The plextor now uses WDMA2 > The aopen cdrom still uses PIO4 (dma worked under wintendo 2000) > > After I tried to enable DMA (using atacontrol) on my aopen cdrom and > mounted it, the system crashed (freebsd 4.9-RELEASE) > > result : > > During the reboot i got an error and had to run "fsck" > > I did, and answered yes to all the questions. (kinda stupid, I know) > > The system booted but startx couldn't find /var/log/XFree86.0.log > It seems that /var/log was completely removed > > mkdir log in /var solved the problem > > What else can I expect after a file system inconsistency ? A bunch of files are missing, too. Certainly the log files themselves (many of which will not be created if they don't exist), possibly others. > And how do I solve the cdrom DMA problem ? Do you need to?