From owner-freebsd-current@FreeBSD.ORG Fri Sep 2 15:19:38 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0392116A41F for ; Fri, 2 Sep 2005 15:19:38 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E69343D46 for ; Fri, 2 Sep 2005 15:19:37 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EBDIO-0006MQ-73 for freebsd-current@freebsd.org; Fri, 02 Sep 2005 17:17:36 +0200 Received: from mulder.f5.com ([205.229.151.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Sep 2005 17:17:36 +0200 Received: from atkin901 by mulder.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Sep 2005 17:17:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: othermark Date: Fri, 02 Sep 2005 08:15:34 -0700 Lines: 37 Message-ID: References: <4316E1A0.8070307@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mulder.f5.com User-Agent: KNode/0.9.2 Sender: news Subject: Re: Problem with deleting files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 15:19:38 -0000 Gregory Nou wrote: > I'm currently experiencing a weird problem : some of my folders are > completely empty (ls -a doesn't even mention . or ..) > But, I cannot remove them, and a ls is very very slow (but just in those > folders, and it is quite rare, but now I cannot update firefox, nor > openoffice, because make clean will fail). Yeah, I've seen this. For me, this is the direct result of the ServerWorks chipset on the box not properly doing DMA, and in fact causes corruption on the bus when DMA is enabled for the IDE controller. Usually you see this when doing large extracts or deletes (like the openoffice of mozilla/firefox ports). You need to fsck, hopefully before you even read this (you'll see lots of softupdate problems being fixed). You'll also notice that your daily automatic reports sent to root will mention problems with traversing files or directories. For reference this bad boy: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc90-0xfc9f at device 15.1 on pci0 atapci0@pci0:15:1: class=0x01018a card=0x00000000 chip=0x02111166 rev=0x00 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'OSB4 PCI EIDE Controller' class = mass storage subclass = ATA The only solution is to run with dma off (see atacontrol, or shut it off in BIOS). -- othermark atkin901 at nospam dot yahoo dot com (!wired)?(coffee++):(wired);