Am 20.01.2013 um 17:51 schrieb Bas Laarhoven: > On 20-1-2013 15:35, Michael Haberler wrote: >> further to the Xenomai Beaglebone kernel hang: > ..
> Michael, > > Regrettably, running your kernel "Linux version 3.2.21-xenomai+ (mah@precise) > (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 PREEMPT Sun Jan 20 > 14:40:40 CET 2013" doesn't solve the lockup: is it dead in the water or is there still a way to investigate like Gilles' suggestion: >>>> This is typical of a tsc emulation or timer issue. On a system without >>>> anything running, please let the "tsc -w" command run. It will take some >>>> time to run (the wrap time of the hardware timer used for tsc >>>> emulation), if it runs correctly, then you need to check whether the >>>> timer is still running when the bug happens (cat /proc/xenomai/irq >>>> should continue increasing when for instance the latency test is >>>> running). If the timer is stopped, it may have been programmed for a too >>>> short delay, to avoid that, you can try: >>>> - increasing the ipipe_timer min_delay_ticks member (by default, it uses >>>> a value corresponding to the min_delta_ns member in the clockevent >>>> structure); >>>> - checking after programming the timer (in the set_next_event method) if >>>> the timer counter is already 0, in which case you can return a negative >>>> value, usually -ETIME. maybe there's a way to tie the timer irq to a GPIO pin toggle so it can be scoped? -- beyond that, I feel a change of strategy change is due. Instead of trying the essentially dead 3.2.21 branch once more hoping for better results, it might make sense to look into the newer versions (3.5.x, maybe others) and producing two kernels of each strain - a Xenomai variant, and a vanilla variant, and see how they compare. Also, maybe the patches by Stephan Kapperty and Sheng Chao Wong might warrant more robust attempts than mine. Any suggestions for instrumentation of the kernel? - Michael ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
