I've been working on a module that implements a simple SUNRPC server.
Creating a server thread in init_module causes a kernel panic:
Kernel panic: Kernel mode fault at addr 0x518000a0, ip 0x518000a0
The address 0x518000a0 is the starting address of the thread's function,
which is inside the module. Could there be a race between installing a
module and setting up its memory, and starting a thread that uses that
memory? This all works fine on a real machine. I'm using
linux-2.4.0-test7.
Also, it would be nice if ksyms.c exported block_signals and
unblock_signals. I lifted much of my code from nfsd, and it calls these.
--
John
|