From owner-freebsd-current@FreeBSD.ORG Fri Jul 25 02:36:11 2003 Return-Path: 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 020EB37B401; Fri, 25 Jul 2003 02:36:11 -0700 (PDT) Received: from phys9911.phys.tue.nl (PHYS9911.phys.tue.nl [131.155.108.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AB943F93; Fri, 25 Jul 2003 02:36:10 -0700 (PDT) (envelope-from karelj@phys9911.phys.tue.nl) Received: from phys9911.phys.tue.nl (localhost [127.0.0.1]) by phys9911.phys.tue.nl (8.12.9/8.12.9) with ESMTP id h6P9a8Y6001359; Fri, 25 Jul 2003 11:36:08 +0200 (CEST) (envelope-from karelj@phys9911.phys.tue.nl) Received: (from karelj@localhost) by phys9911.phys.tue.nl (8.12.9/8.12.9/Submit) id h6P9a83k001358; Fri, 25 Jul 2003 11:36:08 +0200 (CEST) Date: Fri, 25 Jul 2003 11:36:08 +0200 From: "Karel J. Bosschaart" To: Tim Robbins Message-ID: <20030725093608.GA1099@phys9911.phys.tue.nl> References: <20030724121420.GA1055@phys9911.phys.tue.nl> <20030725023328.GA5294@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030725023328.GA5294@dilbert.robbins.dropbear.id.au> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: panic while reading ntfs partition X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Jul 2003 09:36:11 -0000 On Fri, Jul 25, 2003 at 12:33:28PM +1000, Tim Robbins wrote: > On Thu, Jul 24, 2003 at 02:14:20PM +0200, Karel J. Bosschaart wrote: > > > Not sure if this is useful, but I'm getting a perfectly reproducible > > panic when doing 'grep -R foo .' (as normal user) in a read-only > > mounted ntfs partition on a -current as of ~3 weeks ago: > > > [...] > > Panicstring: bundirty: buffer 0xc72d9868 still on queue 2 > [...] > > Thanks for the report - I thought I'd already fixed this problem. Would you I checked that I have indeed the latest version of ntfs_subr.c (1.30). > mind trying the attached patch? It seems to fix the problem for me, but > grep uses an awful lot of memory in the process (perhaps it's trying to > read a "line" from the pagefile containing mostly zeroes.) > Fixed for me as well, thanks! The grep ends now with 'grep: memory exhausted' after a while, but previously the machine would freeze immediately after entering the command and reboot some time later. Karel.