On Mar 26, 2009, at 2:50 PM, Stephen Wille Padnos wrote: > dave wrote: > >> Script started on Thu 26 Mar 2009 01:53:54 PM PDT >> ^[]0;d...@cinci: >> ~/emc2-trunk/configs/m5i20^gd...@cinci:~/emc2-trunk/configs/m5i20$ >> halrun -I m5i20-p^G^H^[[K^H^[[K_pidtest.hal ^M >> insmod: error inserting '/home/dave/emc2-trunk/rtlib/threads.ko': -1 >> Unknown symbol in module^M >> m5i20_pidtest.hal:11: exit value: 1^M >> m5i20_pidtest.hal:11: insmod failed, returned -1^M >> >> > It might be good to paste from terminal backscroll - all the ^H / [^K > are a little hard to read :) > >> copied from dmesg output; >> >> 560.316311] RTAI[sched]: timer setup = 2010 ns, resched latency = >> 2688 >> ns. >> [ 560.438023] RTAI[math]: loaded. >> [ 560.776873] threads: Unknown parameter `period' >> >> > The parameters are period1, period2 ... > The line is correct in the pidtest file in CVS, so it must have gotten > mangled somewhere in translation to hm2. > >> [ 580.567152] RTAI[math]: unloaded. >> [ 580.644862] SCHED releases registered named ALIEN RTGLBF >> [ 580.666341] RTAI[malloc]: unloaded. >> >> However, if I hand type the m5i20_pidtest.hal then I get thru the >> whole >> script but still get no output. >> >> The siggen sine wave (using halmeter) is on siggen, Xpos, and >> pid.0.command but no place else. >> >> Where do I go from here? >> >> > That file doesn't have the right stuff to keep the watchdog happy. > > You need to add the hm2_5i20.0.pet_watchdog function to the thread. > You'll also have to set the hm2_5i20.0.watchdog.has-bit (check the > spelling on that one), since it's really likely to bite before threads > get started. > > - Steve > Steve and John,
Thanks for the rapid response. Lots of details to check on. ;-) Will work my way thru the list and post again. Dave > > ---------------------------------------------------------------------- > -------- > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
