lkml.org 
[lkml]   [1996]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: reproduceable GPF in 2.0.23 with Quota when unmounting /proc
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
email: fabsoft@zarm.uni-bremen.de
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.044 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site