panic while reading ntfs partition

Karel J. Bosschaart K.J.Bosschaart at tue.nl
Fri Jul 25 02:36:11 PDT 2003


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.


More information about the freebsd-current mailing list