insmod error - Invalid Parameters

Tabish Mustufa tmustufa at jhu.edu
Tue Jun 20 18:00:40 CEST 2006


RTAI Folk:

I spent most of this past weekend trying to install an RTAI+comedi setup
on a new Linux box, and ran into an issue reported here a few weeks
back... when I try to insert the rtai_lxrt module, it fails with an
"Invalid parameters" error, and the following shows up in dmesg:

rtai_lxrt: falsely claims to have parameter OneShot

This is on a Fedora Core 5 system using a vanilla 2.6.16.20 kernel and the
only 2.6.16 kernel patch included with RTAI 3.3cv.  I was able to get
around the problem by downgrading to 2.6.15.7, and using the appropriate
patch for that kernel.

Some Googling around indicates this problem is related to a module
configuration interface which has been deprecated in 2.6.16 kernels. 
Potentially, this is only a gcc 4.0+ problem, as a colleague here had no
problems with kernel 2.6.16.20 + RTAI 3.3cv on a Debian (gcc 3.3) system. 
However, I have no real idea about such things, so I can only guess what's
wrong.

Is this something you guys can fix?  My system is up and running, so it's
not a priority for me, but there's been a couple postings to this list
about it, and knowing what I know now would have saved me about a half
dozen kernel compiles... ;-)

Thanks,

Tabish Mustufa




More information about the Rtai mailing list