Re: Kernel panic when loading module (dt282x)

On 04/12/2006 10:41, Arne Koß wrote:
> I'm running Arch Linux with a RTAI 3.4 patched 2.6.17er kernel. All 
> patching worked fine. I first compiled RTAI 3.4 without comedi support. 
> Then I compiled comedi 0.7.73 with ipipe (RTAI-support). After that I 
> recompiled RTAI now with comedi support.
> 
> Everything worked fine so far. But if I try to load the module for my 
> card (dt2821) with the command "modprobe dt282x" I get a kernel panic:

[snip]

> Does anyone know how I can fix this problem? I tried the whole thing on 
> debian sarge with the exact same result.

The easiest thing to do in this case is edit comedi/comedi_fops.c and 
change 'CLASS_DEVICE_CREATE' to 'class_device_create'.  For more info 
about this problem, see: 
http://thread.gmane.org/gmane.linux.comedi/5034/focus=5034

-- 
-=( 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 2006-12-05Z13:47:59