ok, so tried to just get RTDM support and rtdmtest build as module and loadable without error, and that works
I did not bother fixing the sk_alloc() etc proto related changes for now Kernel was 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.68-1+deb7u1 i686 GNU/Linux (RT-PREEMPT kernel in debian wheezy) this is where I am: https://github.com/mhaberler/rtdm-native/commits/try1 do not expect my API transmogrifications to be correct, those were based on "maximum likelihood" guesstimates modprobe rtdm [31537.309416] starting RTDM services. modprobe rtdmtest [31540.595708] __rtdmtest_init: registering device rttest0, err=251 mah@nwheezy:~/rtdm-native/ksrc/drivers/testing$ grep rttes /proc/devices 251 rttest0 rmmod rtdmtest [31551.675050] rtdm_task_destroy: not allowed on user threads [31551.675053] rtdm_task_join_nrt: not allowed on user threads [31551.675056] __rtdmtest_exit: unregistering device rttest0 rmmod rtdm [31557.916463] stopping RTDM services. the rtdm_task_destroy ff warning re user threads I cant make much sense of, I guess some underlying change examples/rtdm-native/rtdmtest fails since /dev/rttest0 doesnt show up, I guess hotplug/udev update required - not sure how to force creation of the /dev entry otherwise I am unsure where to go from here - I looked over the xenomai-3 rtdm changes and I dont feel I'm qualified to track those - Michael _______________________________________________ Xenomai mailing list [email protected] http://xenomai.org/mailman/listinfo/xenomai
