Re: reproduceable GPF in 2.0.23 with Quota when unmounting /proc

Zarmfab Software Development (
Tue, 29 Oct 1996 17:44:00 +0100

Well, i'm not a kernel hacker, but i found out some maybe helpfull things:

when umount /proc is executed, do_umount() calls quota_off () with -1 as second argument.
quota_off() goes through the array vfsmnt->mnt_quotas, and if any of the file pointers is not
NULL, does some operations on it. In the case of the proc Filesystem, this array has been initialized
with zeros when mounted, and - as far as i could see from the sources - is never modified.
However, sometimes when quota_off is called, the array contains something else then NULL's, resulting
in GPF and the like.

Another observation:
If i do a quotaoff -a immediately before the umount /proc, the GPF never happens.

Martin Cornelius, ZARMFAB software development, University of Bremen
phone: 49-421-218-4807    FAX: 49-421-218-3889
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany