- Posts: 2419
- Thank you received: 0
Questions about kernel .ko and .so modules, rtapi-, hal- and more.
5 years 3 months ago #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 to join the conversation.
5 years 3 months ago #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
Please Log in to join the conversation.
Time to create page: 0.071 seconds
