File system tests

Peter Holm peter at holm.cc
Wed Nov 16 00:19:21 PST 2005


In an effort to test how well the kernel handles corrupted file
systems (UFS2), I have run a series of test where I flip random
bits in a file system, run fsck and then mount it. This has uncovered
a few panics:

panic: mount: lost mount
panic: vm_fault: fault on nofault entry, addr: dda79000
panic: getblk: size(536871936) > MAXBSIZE(65536)
panic: wrong length 1088 for sectorsize 512
panic: kmem_malloc(1342181376): kmem_map too small: 11620352 total allocated

http://people.freebsd.org/~pho/stress/log/fs01.html
http://people.freebsd.org/~pho/stress/log/fs02.html
http://people.freebsd.org/~pho/stress/log/fs03.html
http://people.freebsd.org/~pho/stress/log/fs04.html
http://people.freebsd.org/~pho/stress/log/fs05.html

I'm still not sure if this a reasonable test scenario and if it's
worth pursuing?
-- 
Peter Holm


More information about the freebsd-current mailing list