-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/24/2012 3:03 AM, John Morris wrote: >>> I'd be happy to supply you with what I have so far. In fact, >>> it would be easy to supply three patches parallel to Michael's >>> patches, but that would apply cleanly to HEAD. I'll stick >>> them up on my web server tonight and send a link. >> >> That would be GREAT! > > Here's the whole thing. I'm too sleepy to sort it all out into > separate patches. It includes all the changes I described, and > you may find some surprises in there, too. It applies against > commit 0cb04933ab03e7ebef96f78f180685702953f142, as the filename > indicates. > > http://www.zultron.com/static/2012/04/linuxcnc-0cb04933ab03e7ebef96f78f180685702953f142-linux-rt-plus-2012-04-24.patch > > This applied cleanly for me, and I was able to get the software to build. There is something wrong with the real-time code, however, as it crashes/hangs on the first line of the lat.hal latency test.
More specifically, the second time through hal_init, the code seems to be waiting forever to acquire hal_data->mutex via rtapi_mutex_get I did crawl through the code resulting from your patches, the original patch set, and my working 2.4.4-rt code from bitmuster. There were only two minor issues I saw. One was a space/tab whitespace change, and the other was disabling the building of several HAL modules which I assumed was intentional. So I suspect the issue is not related to the application of the linux-rt patch, but to the linuxcnc code changes between 2.4.4 and HEAD. If I can figure out why the hal_data->mutex isn't getting released properly, I'll let you know. - -- Charles Steinkuehler char...@steinkuehler.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+Xs0oACgkQLywbqEHdNFxAnQCfdf0tAS8mVwdK1RPQ17INMm4R uZMAnAn1o2m6p+pdcbBYqDdbj3PBLKDa =gUEW -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers