From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 05:28:48 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 09E3316A4CE for ; Fri, 21 Nov 2003 05:28:48 -0800 (PST) Received: from hermes.cs.kuleuven.ac.be (hermes.cs.kuleuven.ac.be [134.58.40.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB7FA43F3F for ; Fri, 21 Nov 2003 05:28:45 -0800 (PST) (envelope-from bert.lagaisse@cs.kuleuven.ac.be) Received: from dr-zook.cs.kuleuven.ac.be (dr-zook.cs.kuleuven.ac.be [134.58.41.20])hALDSi222216 for ; Fri, 21 Nov 2003 14:28:44 +0100 (MET) Received: from localhost (localhost [127.0.0.1])34B8A1BB6B for ; Fri, 21 Nov 2003 14:28:39 +0100 (CET) Received: from dr-zook.cs.kuleuven.ac.be ([127.0.0.1]) by localhost (dr-zook [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12802-03 for ; Fri, 21 Nov 2003 14:28:36 +0100 (CET) Received: from iris.cs.kuleuven.ac.be (imap.cs.kuleuven.ac.be [134.58.41.11]) 472181BB69 for ; Fri, 21 Nov 2003 14:28:36 +0100 (CET) Received: from cs.kuleuven.ac.be (mesh.cs.kuleuven.ac.be [134.58.39.127]) hALDSZH29696 for ; Fri, 21 Nov 2003 14:28:35 +0100 (MET) Message-ID: <3FBE13FC.6020606@cs.kuleuven.ac.be> Date: Fri, 21 Nov 2003 14:32:44 +0100 From: Bert Lagaisse User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030314-p2 (Debian) at cs.kuleuven.ac.be Subject: DMA issue caused crash and file system inconsistency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 13:28:48 -0000 Hi, 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 ? And how do I solve the cdrom DMA problem ? -- Bert Lagaisse K.U.Leuven, Dept. computer science Address: Celestijnenlaan 200A 3001 Heverlee Belgium Email: bert.lagaisse@cs.kuleuven.ac.be Tel: +32 16 32 78 24