Re: Rtai Digest, Vol 99, Issue 6
Francescodario Cuzzocrea <[email protected]>
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <CADnVkj84oLX2Z9AYUo_NzSwMuPNzXBCMu=gpg+p422WKOaWF8A@mail.gmail.com> |
You're right, number of CPU depends on the number of physical of your CPU. In that config I setted 2 because it was for my laptop. Il giorno lun 7 mar 2016 alle ore 09:15 Rathin Dholakia < [email protected]> ha scritto: > Dear Francescodario, > > I am trying out that method, kernel is compiling will update you. but > before going ahead I just wanted to ask that after disabling my Hiper > threading- my "getconf _NPROCESSORS_ONLN" shows only 2 CPUs! > where as i3 is supposed to have 4 cpus, correct? > > So, what CPU count should I use in config? 4 or 2? > > Currently I am going ahead with 4! > > Regards, > Rathin > > On Sun, Mar 6, 2016 at 5:09 PM, Francescodario Cuzzocrea < > [email protected]> wrote: > >> Hi Rathin, >> >> I had the exact same problem with my two i7. >> >> Can you try this kernel configuration ? http://pastebin.com/tzcuaadU >> >> Also, have you disabled HyperThreading and SpeedStep from BIOS ? >> >> Also, try to run the test on a tty2 console (ctrl+alt+f2, then to return >> to x ctrl+alt+f1). >> >> >> Il giorno sab 5 mar 2016 alle ore 16:32 <[email protected]> ha >> scritto: >> >>> Send Rtai mailing list submissions to >>> [email protected] >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >>> or, via email, send a message with subject or body 'help' to >>> [email protected] >>> >>> You can reach the person managing the list at >>> [email protected] >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of Rtai digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Re: Rtai Digest, Vol 99, Issue 1 (Rathin Dholakia) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Sat, 5 Mar 2016 21:02:12 +0530 >>> From: Rathin Dholakia <[email protected]> >>> To: Francescodario Cuzzocrea <[email protected]> >>> Cc: [email protected] >>> Subject: Re: [Rtai] Rtai Digest, Vol 99, Issue 1 >>> Message-ID: >>> <CAJW6HtSm26Sx3VUb7jb5UiecDN0sMqYJ= >>> [email protected]> >>> Content-Type: text/plain; charset="utf-8" >>> >>> Dear Francescodario, >>> >>> This thread seems to be dead yet I faced the same issue so I thought of >>> sharing my information. >>> >>> Herewith attaching my kernel config & RTAI config file. >>> >>> My observation: >>> System specifically hangs when we fiddle around preemption or threading. >>> 1) if you run latency/preemption test it will hang >>> Modules loaded at the time (rtai_sched, rtai_hal, rtai_sem, rtai_mq, >>> rtai_msg,rtai_shm,rtai_fifos, rtai_bits, rtai_mbx) >>> >>> I tried different combination of modules yet it hangs >>> >>> 2) simply load preemption_rt.ko or kthread.ko module and system will hang >>> immediately.(in my case at least) >>> >>> This problem occurs specifically in latest version of RTAI ( I am using >>> ShabbyX -- i.e. RTAI 5.1 I guess). >>> >>> Currently by using RTAI 4.1 this issue can be averted ( with NewLib ). >>> >>> Hope this helps debug the issue. >>> >>> Sincerely, >>> Rathin >>> >>> >>> On Tue, Mar 1, 2016 at 9:18 PM, Francescodario Cuzzocrea < >>> [email protected]> wrote: >>> >>> > Hi Artyon, >>> > >>> > first, in order to get some help you should attach at least you kernel >>> > (the .config file inside the kernel sources folder) and rtai >>> configuration >>> > (the .rtai-config file inside the rtai source folder), so we can see >>> if is >>> > ok. >>> > >>> > Il giorno mar 1 mar 2016 alle ore 12:00 <[email protected]> ha >>> > scritto: >>> > >>> >> Send Rtai mailing list submissions to >>> >> [email protected] >>> >> >>> >> To subscribe or unsubscribe via the World Wide Web, visit >>> >> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >>> >> or, via email, send a message with subject or body 'help' to >>> >> [email protected] >>> >> >>> >> You can reach the person managing the list at >>> >> [email protected] >>> >> >>> >> When replying, please edit your Subject line so it is more specific >>> >> than "Re: Contents of Rtai digest..." >>> >> >>> >> >>> >> Today's Topics: >>> >> >>> >> 1. Latency test hangs system (Artyom Lobach) >>> >> >>> >> >>> >> ---------------------------------------------------------------------- >>> >> >>> >> Message: 1 >>> >> Date: Tue, 1 Mar 2016 10:42:31 +0300 >>> >> From: Artyom Lobach <[email protected]> >>> >> To: [email protected] >>> >> Subject: [Rtai] Latency test hangs system >>> >> Message-ID: >>> >> <CAFYUkWvoqWy_kcpA4t+1ySSFyOPnYCiQ4D8g3= >>> >> [email protected]> >>> >> Content-Type: text/plain; charset="utf-8" >>> >> >>> >> Hi! I installed RTAI v4.1 with linux kernel v3.10.32 on Ubuntu 14.04 >>> >> according this instruction (related to i386 arch): >>> >> https://gist.github.com/gaoyifan/c881aa36cd02fb5c1c20. >>> >> At the end of installation I tried kern/latency test, but it hangs >>> system >>> >> with no errors in console and kern.log file. only one warning: >>> >> *"Error opening /proc/rtai/latency_calibrate* >>> >> *Couldn't get infos about the module's state" - *an empty latency >>> table >>> >> below and no reaction. >>> >> That happens with different components (i tried with different >>> kernels and >>> >> rtai versions during last 2 weeks). >>> >> I think the kernel or rtai configuration for my machine is wrong, but >>> in >>> >> what way should i correct it? >>> >> >>> >> Thakns in advance! >>> >> >>> >> Best Regards >>> >> Artyom >>> >> -------------- next part -------------- >>> >> An HTML attachment was scrubbed... >>> >> URL: < >>> >> >>> http://mail.rtai.org/pipermail/rtai/attachments/20160301/3723ef63/attachment-0001.html >>> >> > >>> >> >>> >> ------------------------------ >>> >> >>> >> Subject: Digest Footer >>> >> >>> >> _______________________________________________ >>> >> Rtai mailing list >>> >> [email protected] >>> >> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >>> >> >>> >> ------------------------------ >>> >> >>> >> End of Rtai Digest, Vol 99, Issue 1 >>> >> *********************************** >>> >> >>> > >>> > _______________________________________________ >>> > Rtai mailing list >>> > [email protected] >>> > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >>> > >>> >>> >>> >>> -- >>> Rathin A. Dholakia >>> "Dont GO through life, GROW through life" >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: < >>> http://mail.rtai.org/pipermail/rtai/attachments/20160305/8f370eaf/attachment.html >>> > >>> -------------- next part -------------- >>> A non-text attachment was scrubbed... >>> Name: .rtai_config >>> Type: application/octet-stream >>> Size: 2183 bytes >>> Desc: not available >>> URL: < >>> http://mail.rtai.org/pipermail/rtai/attachments/20160305/8f370eaf/attachment.obj >>> > >>> -------------- next part -------------- >>> A non-text attachment was scrubbed... >>> Name: .config >>> Type: application/octet-stream >>> Size: 170492 bytes >>> Desc: not available >>> URL: < >>> http://mail.rtai.org/pipermail/rtai/attachments/20160305/8f370eaf/attachment-0001.obj >>> > >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> Rtai mailing list >>> [email protected] >>> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >>> >>> ------------------------------ >>> >>> End of Rtai Digest, Vol 99, Issue 6 >>> *********************************** >>> >> >> _______________________________________________ >> Rtai mailing list >> [email protected] >> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >> > > > > -- > Rathin A. Dholakia > "Dont GO through life, GROW through life" > _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai