From: Michael Haberler Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <7B9254AC-C035-4D61-884E-8C9B3706A22B@gmail.com> Date: Mon, 15 Jun 2015 16:39:39 +0200 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: [Xenomai] RTDM-native brushup List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai 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=3D251 mah@nwheezy:~/rtdm-native/ksrc/drivers/testing$ grep rttes /proc/devices=20= 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