--- Quote Start ---
originally posted by repa@Jul 10 2006, 03:48 PM
has anyone solved this one yet?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16729)
--- quote end ---
--- Quote End ---
Sort of...
Discovered that mmap() is returning a NULL pointer during the module load. Seems that this comes from the call to ret = vma->vm_file->f_op->mmap(vma->vm_file, vma); in do_mmap_private() in linux-2.6.x/mm/nommu.c
If you comment out the whole if (vma->vm_file) {} block in do_mmap_private(), then the function will make a private copy and modules seem to insert ok.
This seems like a big hack to me - I haven't worked out why the original isn't working, but i'm sleepy
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
Hope this helps someone to work out the real issue...
Mike