[ATTN: Frank] Re: help with comedi module

[Frank: read my reply - a small fix is required!]

On 16/03/2005 13:07, Drew Kirkpatrick wrote:
> Googling hasn't helped me on this one, I've got a fedora core 3 box,
> running a vanilla 2.6.11.3 kernel. I've got it compiled fine, after
> patching the inlining problem I had (found the patch in the archives),
> but now when I modprobe the comedi driver it fails:
> 
> [root_at_hemi comedi]# modprobe comedi
> FATAL: Error inserting comedi
> (/lib/modules/2.6.11.3/comedi/comedi.ko): Unknown symbol in module, or
> unknown parameter (see dmesg)
> 
> And the message I get from dmes is:
> comedi: Unknown symbol remap_page_range
> 
> I'm outta ideas on how to get this driver to work, anyone seen
> this/found a workaround to this problem? Thanks in advance for any
> help!

This is fixed in the CVS version.  The remap_page_rage function was 
removed from the 2.6.11 kernel, so the current CVS version of comedi 
uses remap_pfn_range instead (for new kernels).

Frank: the remap_pfn_range function was introduced in 2.6.10, not 2.6.9 
(at least for the vanilla kernel) so the test in the linux/mm.h 
compatibility header is slightly wrong.  This affects people using the 
2.6.9 kernel.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-03-16Z15:30:11