Questions about kernel .ko and .so modules, rtapi-, hal- and more.

More
06 Jul 2021 16:47 #213871 by Grotius
Hi,

Just a few questions.

If i search howto code and build a kernel module, all sites with examples use a .ko extension.
Normally i would compile linuxcnc with option "userspace mode" into .so extension.

All linuxcnc modules have then a .so extension and can not be loaded into the kernel that uses .ko modules.
Is it true that : rtapi_app is responible for creating a fictional realtime environment outside the golden ring?

My goal is to learn a bit more about the different types of kernel modules. And play around with it.














 

Please Log in or Create an account to join the conversation.

More
06 Jul 2021 21:57 #213906 by andypugh
If you install the RTAI kernel then LinuxCNC will create .ko modules instead.
RTAI kernel install instructions here: (you can switch between them)
linuxcnc.org/docs/2.8/html/getting-start...#cha:Installing-RTAI
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

Time to create page: 0.160 seconds
Powered by Kunena Forum