I'm running kernel 2.2.14 and i'm trying inserting modules.
In the file kernel/module.c, function sys_create_module calles
module_map which is defined as vmalloc.
calling vmalloc returns a pointer to a virtual memory address in the
memory mapped area (in my case 0xc0000000) and the kernel had an
exception for accessing this address.
my work around was defining the following in kernel/module.c
#define module_map kmalloc
#define module_unmap kfree
and it worked fine.
Is this work around sufficient ?
p.s. module_map and module_unmap is defined in include/asm/pgtable.h
as the following :
#define module_map vmalloc
#define module_unmap vfree
Description: Card for Rabeeh Khoury