From owner-freebsd-stable@FreeBSD.ORG Sat Apr 7 11:34:19 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E1F916A402 for ; Sat, 7 Apr 2007 11:34:19 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp801.mail.ird.yahoo.com (smtp801.mail.ird.yahoo.com [217.146.188.61]) by mx1.freebsd.org (Postfix) with SMTP id C642513C484 for ; Sat, 7 Apr 2007 11:34:18 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 34196 invoked from network); 7 Apr 2007 11:34:17 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.140.150.175 with plain) by smtp801.mail.ird.yahoo.com with SMTP; 7 Apr 2007 11:34:17 -0000 X-YMail-OSG: rW8iMawVM1nmNurGYKk3oqEMA6Hm_11gGkN2nh.amLkT0UM8 Message-ID: <46178210.9000809@tomjudge.com> Date: Sat, 07 Apr 2007 12:35:44 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: Kris Kennaway References: <46161B62.4070505@tomjudge.com> <20070406184200.GA62383@xor.obsecurity.org> In-Reply-To: <20070406184200.GA62383@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Repeatable crash with mkdir causing a divide by zero error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 11:34:19 -0000 Kris Kennaway wrote: > On Fri, Apr 06, 2007 at 11:05:22AM +0100, Tom Judge wrote: >> Hi, >> >> I have seen some problems with a new file system that I created >> yesterday in that I could repeatedly get the system to crash in with a >> mkdir. >> >> Here is the disk information >> mfid1: on mfi1 >> mfid1: 5716992MB (11708399616 sectors) RAID volume 'Images' is optimal >> >> I created a new file system tuned for 64k blocks, an average file size >> of 1Mb, and 2500 files per directory. >> >> newfs -b 65535 -g 1048576 -h 2500 /dev/mfid1p1 >> mount /dev/mfid1p1 /compere >> mkdir /compere/images >> mkdir /compere/images/1999 >> >> (Also tested with mkdir test; mkdir test/1998) >> >> The system is and amd64 system running 6.2-RELEASE and the pmap.c patch. >> I have 3 cores cause by 3 different apps (rsync, gmkdir, mkdir) and >> can provide any more information if required. I have attached a back >> trace, unfortunatly I cannot do any testing as the system is now in >> testing (newfs -b 65535 -g 1048576 /dev/mfid1p1 was used and seems not >> to cause the bug). > > This might be simple to fix, but please file a PR if it does not get > picked up by someone on this list. > > Kris > <> For any one that is interested there is now a PR for this problem (kern/111352). Tom