Help in 'kernel_execve'

Sam Ravnborg sam at ravnborg.org
Mon Jun 4 03:39:56 CDT 2007


On Mon, Jun 04, 2007 at 12:57:06PM +0530, biswa.nayak at wipro.com wrote:
> 
> Hi
> I am currently trying to understand the boot sequence of Linux.
> 
> In the kernel, the 'init' thread after the system is setup for
> the user processes it tries to spawn the first user process
> using 'kernel_execve'
> 
> Now to test this I have written a small module, which when inserted
> will spawn a user process from my home directory. 
> 
> Now, when I compile the module I get error messages that 
> 
> WARNING: "kernel_execve" [/c/test/skel.ko] undefined!
> 
> Why is this happening? Even after I exported the symbol 'kernel_execve'
> in the file 
> <linux>/arch/i386/kernel/sys_i386.c
> I am still seeing the same message.
> 
> Is something else going in the back ground which I don't understand?

Please post your code + Makefile + command used to build the module.
Did you build the modified kernel? From the warning is does not like this.

	Sam


More information about the Kernel-mentors mailing list