Memory allocation problem in a module with fedora core 6 on ppc

Vijay Mann vijamann at
Tue Apr 10 01:43:44 EST 2007


I'm running fedora core 6 (  ppc64 and I'm trying out a module
that works perfectly OK on the same kernel version on intel.
Here's the module:

It fails in skeleton_init_module itself in while allocating memory (if i
comment out the memory allocation and corresponding deallocation, insmod
works ok). It throws up a message during insmod:
unable to handle paging request  at addresss xxxxxxxx
and the machine is no longer usable and I've to do a hard reboot.

I'm trying it out on a Power 5  server with nearly I GB RAM and a single
            1.5 GHz processor with SMT enabled.

Am i missing something obvious here?

Thanks in advance for any help,


More information about the Linuxppc-dev mailing list