--- Quote Start ---
originally posted by miked@Jul 21 2006, 02:43 AM
anyway, i believe the reason module loading is failing is because of the ramfs_nommu_mmap function being a stub (see linux-2.6.x/fs/ramfs/file-nommu.c)...
int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma)
{
return 0;
}
shouldn't this be setting vma->vm_start to something at least?
if your modules reside somewhere other than ramfs, everything seems to work ok. try loading your modules from a filesystem on a cf card or something...
mike
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17040)</div> --- Quote End ---
I had the same problem when boa was serving files from ramfs using mmap. Looks like it is fixed in kernel version 2.6.18. ramfs_nommu_mmap now looks like this:
int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma)
{
return vma->vm_flags & VM_SHARED ? 0 : -ENOSYS;
}
I changed this in my kernel version 2.6.16 and now my boa problem was gone.
Hein