Questions about kernel .ko and .so modules, rtapi-, hal- and 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.
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.
06 Jul 2021 21:57 #213906
by andypugh
Replied by andypugh on topic Questions about kernel .ko and .so modules, rtapi-, hal- and more.
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
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