2.4.29 Oops while setting the effective mask

Michael Guntsche <[email protected]> Tue, 8 Feb 2005 19:30:23 +0100
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
Hi everyone,

I recently upgraded to 2.4.29 and tought I'd give the ACL patches a try.
 After applying them and fixing a little glitch in the patch (the
ext3_exit_acl  function was missing) I started playing around with it.
Setting additional rights for user or group worked without a problem.
But when I tried to change the effective rights mask of a directory I
got a kernel oops. The command I entered was

	setfacl -m m::r <directory>

I tried it on an ext2 and ext3 partition and got the same result both
times. Then I tried it on another computer running 2.6+reiserfs. No
problems there. Here is the error I got.

----------
ksymoops 2.4.9 on i586 2.4.29.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.29/ (default)
     -m /boot/System.map-2.4.29 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Feb  8 18:16:06 douglas kernel: Unable to handle kernel paging request at virtual address 00001004
Feb  8 18:16:06 douglas kernel: c011249c
Feb  8 18:16:06 douglas kernel: *pde = 00000000
Feb  8 18:16:06 douglas kernel: Oops: 0002
Feb  8 18:16:06 douglas kernel: CPU:    0
Feb  8 18:16:06 douglas kernel: EIP:    0010:[remove_wait_queue+16/40]    Tainted: P 
Feb  8 18:16:06 douglas kernel: EFLAGS: 00010046
Feb  8 18:16:06 douglas kernel: eax: 00001000   ebx: c20d3d68   ecx: c12c9e40   edx: 00000246
Feb  8 18:16:06 douglas kernel: esi: c20d3d60   edi: c20d3d60   ebp: c1e48198   esp: c20d3d40
Feb  8 18:16:06 douglas kernel: ds: 0018   es: 0018   ss: 0018
Feb  8 18:16:06 douglas kernel: Process setfacl (pid: 1058, stackpage=c20d3000)
Feb  8 18:16:06 douglas kernel: Stack: c1e48180 00000307 c014b0ac c1e49030 00000fdc ffffffe4 c1e49020 c20d2000 
Feb  8 18:16:06 douglas kernel:        00000000 c20d2000 00001000 c12c9e40 c016b113 c10ee360 00000307 000681fe 
Feb  8 18:16:06 douglas kernel:        c394c420 00000001 c394c460 c20bd460 00000013 0000001f c20bd600 00030002 
Feb  8 18:16:06 douglas kernel: Call Trace:    [mb_cache_entry_get+184/392] [ext2_xattr_set+811/1840] [ext2_set_acl+269/424] [ext2_xattr_set_acl+141/176] [ext2_xattr_set_acl_access+56/72]
Feb  8 18:16:06 douglas kernel: Code: 89 48 04 89 01 c7 46 08 00 00 00 00 c7 43 04 00 00 00 00 52 
Using defaults from ksymoops -t elf32-i386 -a i386


>>ebx; c20d3d68 <_end+1e3d718/457ba10>
>>ecx; c12c9e40 <_end+10337f0/457ba10>
>>esi; c20d3d60 <_end+1e3d710/457ba10>
>>edi; c20d3d60 <_end+1e3d710/457ba10>
>>ebp; c1e48198 <_end+1bb1b48/457ba10>
>>esp; c20d3d40 <_end+1e3d6f0/457ba10>

Code;  00000000 Before first symbol
00000000 <_EIP>:
Code;  00000000 Before first symbol
   0:   89 48 04                  mov    %ecx,0x4(%eax)
Code;  00000003 Before first symbol
   3:   89 01                     mov    %eax,(%ecx)
Code;  00000005 Before first symbol
   5:   c7 46 08 00 00 00 00      movl   $0x0,0x8(%esi)
Code;  0000000c Before first symbol
   c:   c7 43 04 00 00 00 00      movl   $0x0,0x4(%ebx)
Code;  00000013 Before first symbol
  13:   52                        push   %edx


1 warning issued.  Results may not be reliable.
----------

Since this is a rather old computer I won't move to 2.6 any time soon, so upgrading the kernel isn't
an option.
Just tell me if you need further information.


Thanks in advance,
Michael

_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel