Re: (no subject)

Ok, I looked at the code I wrote.  The URL is
https://cvs.comedi.org/pipermail/comedi/2002-May/003066.html.  I see that
it is using the old-style comedi_open().  Newer versions of comedi in the
kernel take _strings_ rather than actual comedi minor numbers.  So you
have to replace all instances of DEFAULT_COMEDI_MINOR with "/dev/comedi0"
in the code, or, alternatively, edit rt_module.h and change
DEFAULT_COMEDI_MINOR from 0 to "/dev/comedi0".

-Calin


On 14 Mar 2003, siddharth suhas kulkarni wrote:

> HI ALL,
>   I am trying to run  simple rtlinux + comedi program which was
> published in comedi mailing mailing list May2002(Auther: Calin
> thanks gain to him). Using insmod rt_module.o, it crashes giving
> error message as segmentation fault. The same message can be seen
> using dmesg command, it ( doesn't shows bottom error sentence as
> segmentation fault) but at the top it writes " unable to handle
> kernel NULL pointer dereffernce at virtual address 00000028 " and
> remaining error message. The module taints the kernel. So in the
> error message " Tainted: P " occurs.
>   Is the whole thing is due to only tainting or some thing else.
>   I not including the source code as it available on comedi
> mailing archive and to keep the mail small.
> Please try this.
>   I am very thankfull for solution.
> -SIDDHARTH
>
> _______________________________________________________________________
> Odomos - the only  mosquito protection outside 4 walls -
> Click here to know more!
> http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>

Received on 2003-03-15Z14:02:37