Insert Module Error on Linux - 1 Unable to allocate memory

eCryptfs is an encrypted POSIX-compatible file system that has been part of the Linux kernel core line since version 2.6.19.

When I try to insert a module (ecryptfs.ko), I get the following error:

insmod: insert error "ecryptfs.ko": -1 Unable to allocate memory

Can someone please help me?

below dmesg

Failed to allocate one or more kmem_cache objects

kmem_cache_create: duplicate cache ecryptfs_auth_tok_list_item

Pid: 3332, comm: insmod Tainted: G           O 3.2.2+ #1

Call Trace:

[<c102bfe0>] ? printk+0x15/0x17

[<c10878b6>] kmem_cache_create+0x41c/0x458

[<d0ebd038>] ecryptfs_init+0x38/0x1b1 [ecryptfs]

[<c1001071>] do_one_initcall+0x71/0x118

[<d0ebd000>] ? 0xd0ebcfff

[<c1055703>] sys_init_module+0x60/0x18c

[<c12db9b0>] sysenter_do_call+0x12/0x36

ecryptfs_init_kmem_caches: ecryptfs_auth_tok_list_item: kmem_cache_create 
failed

 Failed to allocate one or more kmem_cache objects
+3
source share
2 answers

, , - ​​ , / . , . , ​​ , ​​ :

mount /boot 
cd /usr/src/linux 
make && make install && make modules_install 

, .

0

, dmesg:

kmem_cache_create: duplicate cache ecryptfs_auth_tok_list_item

ecryptfs , , , . , .

, , sysfs:

$ ls -ld /sys/kernel/slab/ecryptfs*

NB. /proc/slabinfo - .

ecryptfs, , ecryptfs .

, , , - , .

+1

All Articles