[dm-devel] "dm io" slab cache object not released in snapshot test

Yue Xu yuex_rsh at yahoo.com
Tue Oct 19 21:11:23 UTC 2004


--- Alasdair G Kergon <agk at redhat.com> wrote:

> On Wed, Oct 13, 2004 at 09:17:02AM -0700, Yue Xu
> wrote:
> > I can reproduce a bug by running a lvm2 snapshot
> test
> 
> Nice that it's reproducible!
> 
> Firstly, we've just checked newer 2.4 kernel patches
> into 
> device-mapper CVS: please re-test with them.

Thanks for the advices. I checked out patches from CVS
and the test fails on both of the following kernels:
1. vanilla kernel 2.4.27 +
linux-2.4.27-devmapper-ioctl.patch +
linux-2.4.22-VFS-lock.patch
2. vanilla kernel 2.4.28-pre4 +
linux-2.4.28-pre4-devmapper-ioctl.patch +
linux-2.4.22-VFS-lock.patch

> 
> If it still goes wrong, please try to provide the
> full set of 
> (processed) kernel error messages.

Here they are:

kmem_cache_destroy: Can't free all objects edd28ecc
kernel BUG at slab.c:815!                          
invalid operand: 0000    
CPU:    0            
EIP:    0010:[<c013747a>]    Not tainted
EFLAGS: 00010246                        
eax: 00000000   ebx: ec1bd35c   ecx: f7c39c5c   edx:
edd28f38
esi: edd28f2a   edi: f889183e   ebp: f7857ed0   esp:
f7857ea4
ds: 0018   es: 0018   ss: 0018                        
      
Process modprobe (pid: 6859, stackpage=f7857000)
Stack: ec1bd35c 0000001c 00000000 f7857ec0 ec1bd37c
edd28f38 fffffffc 0000000c 
       00000000 00000000 00000000 f7857ef0 f888861f
f8891838 0000001c 00000080 
       00020000 00000000 00000000 f7857f04 f888867f
ffffffea 00000000 00000000 
Call Trace:    [<f888861f>] [<f8891838>] [<f888867f>]
[<c011f224>] [<f8888060>]
  [<f8888060>] [<f8893028>] [<f8888060>] [<c0109187>] 
                        
                                                     
Code: 0f 0b 2f 03 b4 e4 33 c0 8b 01 89 ca 89 c1 0f 18
00 81 fa ec

> 
> Other things to try:  
>   Does it still fail if you miss out the xfs_freeze
> commands?

Yes, and it also fails if I remove the norecovery
option when mounting file system. 

>   Does it fail if you use ext3 instead of xfs?

No. Not in ext2 either. 

If you need more infomation, please tell me. Thanks!



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 




More information about the dm-devel mailing list