On 5/14/2012 4:00 PM, Tux Lab wrote:
> Is there a more up to date tutorial on how to compile rtai with
> Debian. It took me a whole weekend to compile a kernel that will
> boot but when I try the latency test, I get
>
> insmod: error inserting '/lib/modules/2.6.32-rtai/rtai/rtai_hal.ko':
> -1 Invalid module format
> ERROR: cannot load /lib/modules/2.6.32-rtai/rtai/rtai_hal.ko
> CANNOT INIT MASTER TASK
>
> Anyone else running LinuxCNC on Debian? How did you get it to work?
>
> thanks,
>
> John
>
John:
This sounds like a variation of an old joke
Patient: "Doctor, doctor, it hurts when I do this."
Doctor: "So, stop doing do it."
Without a lot more details about which distribution of Debian, which
kernel (2.6.32 from your message but is it one you built yourself?),
which version of the RTAI distribution, etc., there's not much that can
be said. Sometimes discretion is the better part of valor. In this case,
discretion is exhibited by sticking with Ubuntu.
If you want to persist, the important message is the first. Try plugging
"insmod: error inserting Invalid module format" into your favorite
search engine. Both Google and Bing point me to pages that discuss this
message and its cause (mismatch of kernel and module).
Try also looking at /var/log/messages and the output of dmesg for
supporting details.
As always, when you find a working combination add it to the wiki.
Good luck.
Regards,
Kent
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users