Re: cvs-comedi/van.-kernel not working

On 12/07/05 10:09, Norbert Schmidt wrote:
> I run into the same problem with 2.6.12.2 and 2.6.13-rc2 and comedi from cvs and have no idea what to do next.
> 
> compiling kernel with
> 
> make clean
> make mrproper
> make oldconfig
> make
> and so on and it works fine.
> 
> After reboot (new kernel) compiling comedi: 
> autogen.sh
> make
> 'make install' ends with (just fine)
> 
> make[3]: Entering directory `/tmp/comedi/cvs/comedi'
> if test x = x ; then \
>   if test x/ = x/ ; then \
>     /sbin/depmod -ae 2.6.13-rc2 ; \
>   fi \
> fi
> make[3]: Leaving directory `/tmp/comedi/cvs/comedi'
> make[2]: Leaving directory `/tmp/comedi/cvs/comedi'
> make[1]: Leaving directory `/tmp/comedi/cvs/comedi'
> 
> 
> but 'modprobe ni_pcimio' gives in dmesg
> 
> comedi: no version for "struct_module" found: kernel tainted.
> comedi: Unknown symbol class_simple_device_add
> comedi: Unknown symbol class_simple_destroy
> comedi: Unknown symbol class_simple_device_remove
> comedi: Unknown symbol class_simple_create
> 
> and other comedi-modules suffer from non-inserted comedi.
> 
> What is wrong?

It looks like the 'class_simple' interface is being removed from 2.6.13
because no drivers in the kernel are using it anymore.  That's a shame,
as the interface is documented in the recent 3rd edition of the Linux
Device Drivers book!

The class_simple interface is still present in the 2.6.12.x series.  Do
you get different errors with 2.6.12.2?

-- 
-=( 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-07-12Z10:14:29