ntfs oops

PARMELAN Edouard (parmee@postecss.ncrfran.france.ncr.com)
Fri, 30 Jan 98 12:42:00 PST


Hi,

I use NTFS as module and I have some oops :(

I Hope this can
help...

Edouard.Parmelan@France.NCR.COM

Linux version 2.1.82
(root@efrd0parmee) (gcc version 2.7.2.1) #2 Fri Jan 30 11:16:29 MET
1998

in /etc/fstab:
/dev/hda4 /mnt/ntfs ntfs
noauto,ro,umask=022,posix=1 0 0

# mount /mnt/ntfs

NTFS version
980101

# ls -l /mnt/ntfs/in/some/directory/

kmem_free: Either bad obj
addr or double free (objp=c3a8ac00, name=size-1024)
kmem_free: Bad obj
addr (objp=c3a937e0, name=size-32)
Unable to handle kernel NULL pointer
dereference at virtual address 00000000
current->tss.cr3 = 03d94000, ^Xr3
= 03d94000
*pde = 00000000
Oops: 0002
CPU: 0
EIP:
0010:[<c011eecd>]
EFLAGS: 00010202
eax: 00000039 ebx: c028f080
ecx: c01a171c edx: c3d3e000
esi: c3a937e0 edi: 00000202 ebp:
00000000 esp: c3cf5e60
ds: 0018 es: 0018 ss: 0018
Process ls (pid:
225, process nr: 21, stackpage=c3cf5000)
Stack: c3eed5e8 c3eed5e8
c3eed674 00000001 00000001 c3a9381c c3a932ac c4809671
c3a937e0
c3a8ac00 c3eed5e8 c3eed5e8 c3aa0d20 c4807c56 c3eed674 c480e820

c012e6cf c3eed5e8 c3aa0d40 c3eed5e8 c3aa0d20 c012ec46 c3eed5e8
00000000
Call Trace: [<c4809671>] [<c4807c56>] [<c480e820>] [<c012e6cf>]
[<c012ec46>] [<c012e230>] [<c012e64b>]
[<c4807a00>] [<c4807a13>]
[<c012ef0c>] [<c0129f03>] [<c012a110>] [<c0129cbc>] [<c012a1c9>]
[<c01282ef>]
[<c0109922>]
Code: c7 05 00 00 00 00 00 00 00 00 5b
5e 5f 5d 83 c4 0c c3 90 56

3400 symbols from /usr/src/linux/System.map

141 symbols [c4807000-c480ed24] from /lib/modules/loadmaps/ntfs

EIP:
0xc011eecd T kfree+0x181/0x1b4
EIP: <c011eecd>
[klogd]
trace: 0xc4809671 T
(ntfs+)ntfs_clear_inode+0x19/0x70
trace: 0xc4807c56 t
(ntfs+)ntfs_put_inode+0x2a/0x38
trace: 0xc480e820 D
(ntfs+)ntfs_super_operations+0x0/0x24
trace: 0xc012e6cf T
iput+0x2f/0x188
trace: 0xc012ec46 T prune_dcache+0x8e/0xd0
trace:
0xc012e230 t try_to_free_inodes+0x3c/0x48
trace: 0xc012e64b T
iget+0x7b/0x80
trace: 0xc4807a00 t (ntfs+)ntfs_lookup+0x80/0xc8
trace:
0xc4807a13 t (ntfs+)ntfs_lookup+0x93/0xc8
trace: 0xc012ef0c T
d_alloc+0x5c/0x16c
trace: 0xc0129f03 t real_lookup+0x47/0x70
trace:
0xc012a110 T lookup_dentry+0x15c/0x1e8
trace: 0xc0129cbc T
getname+0x98/0xf4
trace: 0xc012a1c9 T __namei+0x2d/0x84
trace: 0xc01282ef
T sys_newlstat+0x13/0x64
trace: 0xc0109922 T system_call+0x3a/0x40
code:
00000000 <oops>:
code: 0: c7 05 00 00 00 movl $0x0,0x0
code:
5: 00 00 00 00 00
code: a: 5b popl
%ebx
code: b: 5e popl %esi
code: c: 5f
popl %edi
code: d: 5d popl
%ebp
code: e: 83 c4 0c addl $0xc,%esp
code: 11:
c3 ret
code: 12: 90 nop
code: 13:
56 pushl %esi

# umount /mnt/ntfs

kmem_free: Either
bad obj addr or double free (objp=c3f92000, name=size-1024)
kmem_free:
Bad obj addr (objp=c3972340, name=size-32)
Unable to handle kernel NULL
pointer dereference at virtual address 00000000
current->tss.cr3 =
039b0000, %cr3 = 039b0000
*pde = 00000000
Oops: 0002
CPU: 0
EIP:
0010:[<c011eecd>]
EFLAGS: 00010202
eax: 00000039 ebx: c028f080
ecx: c01a171c edx: c3e24000
esi: c3972340 edi: 00000202 ebp:
43455845 esp: c382bf04
ds: 0018 es: 0018 ss: 0018
Process umount
(pid: 326, process nr: 18, stackpage=c382b000)
Stack: c3c510fc c3c510fc
c3c51188 c01c107c c01c107c c397237c c39c5da0 c4809671
c3972340
c3f92000 c3c510fc c3c510fc c3c57be0 c4807c56 c3c51188 c480e820

c012e6cf c3c510fc c3c57c00 c3c510fc c3c57be0 c012ed5a c3c510fc
c01c107c
Call Trace: [<c4809671>] [<c4807c56>] [<c480e820>] [<c012e6cf>]
[<c012ed5a>] [<c0126cd8>] [<c0126dc8>]
[<c0126eab>]
[<c0109922>]
Code: c7 05 00 00 00 00 00 00 00 00 5b 5e 5f 5d 83 c4 0c c3
90 56

3400 symbols from /usr/src/linux/System.map
141 symbols
[c4807000-c480ed24] from /lib/modules/loadmaps/ntfs

EIP: 0xc011eecd T
kfree+0x181/0x1b4
EIP: <c011eecd>
[klogd]
trace: 0xc4809671 T
(ntfs+)ntfs_clear_inode+0x19/0x70
trace: 0xc4807c56 t
(ntfs+)ntfs_put_inode+0x2a/0x38
trace: 0xc480e820 D
(ntfs+)ntfs_super_operations+0x0/0x24
trace: 0xc012e6cf T
iput+0x2f/0x188
trace: 0xc012ed5a T shrink_dcache_sb+0xd2/0x114
trace:
0xc0126cd8 t do_umount+0x3c/0xdc
trace: 0xc0126dc8 t
umount_dev+0x50/0x98
trace: 0xc0126eab T sys_umount+0x9b/0xa8
trace:
0xc0109922 T system_call+0x3a/0x40
code: 00000000 <oops>:
code: 0:
c7 05 00 00 00 movl $0x0,0x0
code: 5: 00 00 00 00 00
code:
a: 5b popl %ebx
code: b: 5e
popl %esi
code: c: 5f popl
%edi
code: d: 5d popl %ebp
code: e: 83 c4
0c addl $0xc,%esp
code: 11: c3 ret
code:
12: 90 nop
code: 13: 56 pushl
%esi