Re: Rtai Digest, Vol 100, Issue 15
Francescodario Cuzzocrea <[email protected]>
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <CADnVkj_mTXD6Vkq=17VisabwGtM=t0WyDBKPLgioRcKFsnBxgg@mail.gmail.com> |
I run into this problem a couple of months ago and was due to bad kernel configuration. What options have you disabled in cpu power management and acpi? Plus, can you please try with latest vulcano CVS branch ? Thank you Il gio 14 apr 2016, 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. RTAI-5 make hangs at self-calibrate. (Duane AW. Jeffery) > 2. Re: Question about isolating CPU's (Doug Renton) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 13 Apr 2016 20:28:33 +0000 > From: "Duane AW. Jeffery" <[email protected]> > To: "'[email protected]'" <[email protected]> > Subject: [Rtai] RTAI-5 make hangs at self-calibrate. > Message-ID: > < > SN1PR0701MB1821F8F36B2550FEA86E13C5BD960@SN1PR0701MB1821.namprd07.prod.outlook.com > > > > Content-Type: text/plain; charset="us-ascii" > > Hi all, > > I'm working on a new laptop (ASUS E402M) and trying to get RTAI to compile > on it. > > I am running kernel 3.18.22 - updated into what is otherwise a Slackware > 14.1 install. I have applied the hal patch and successfully compiled and > booted my patched linux kernel. > > When I go to my RTAI source tree, unpacked into /usr/src/<folder> > symlinked to /usr/src/rtai and try to compile it (first make menuconfig to > setup, and then make), it begins ok, and then gets to the part where it > calls "/bin/sh ../../base/sched/selfcalibrate.sh x86", and then it just > hangs there forever. > > If I switch to another terminal, I can see that lsmod reports rtai_hal and > rtai_tmpsched are loaded, and then that dmesg shows some messages that look > ok from both the rtai_hal module and the rtai_tmpsched module. Checking ps > aux shows that the selfcalibrate.sh script is still running, and has called > "/usr/src/rtai/base/arch/x86/calibration/.libs/lt-calibrate > ../arch/x86/hal" which is also still running. Along with a "tee > tmp_output". > > Looking at the tmp_output file in /usr/src/rtai/base/sched/ reveals an > empty file. Also running is [RTAI_KTHRD_SRVR]. > > I have tried both RTAI 5.0-test1.tar.bz2 as posted on the main page of > www.rtai.org<http://www.rtai.org>, and also tried ShabbyX's github master > tree. Both fail the same way. > > Anybody have any idea what's going on here? I've compiled RTAI many times > before without this problem occurring, but never on this hardware. > > -Duane > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.rtai.org/pipermail/rtai/attachments/20160413/15a66ca6/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Wed, 13 Apr 2016 17:34:02 -0400 > From: Doug Renton <[email protected]> > To: [email protected] > Subject: Re: [Rtai] Question about isolating CPU's > Message-ID: <[email protected]> > Content-Type: text/plain; charset=windows-1252; format=flowed > > > See... easy! > Too bad Fermat wasn't on a mailing list, it could have saved hundreds of > years! > > On 04/13/2016 05:26 PM, Paolo Mantegazza wrote: > > Sorry, i clicked the wrong button. > > I'm assuming you are referring to irq affinities. > > At the moment I've none ready, I usually write one for a specific > machine I'm working on. > > It is simple and requires just these steps: > > - "cat /proc/interrupts" to get the interrupts of interest > > - writing for each of them "echo affinity_mask > >/proc/irq/irq_number_of_interest/smp_affinity" > > Usually my scripts are just a list of the above command and made > executable, with the mask containing the bits of those cpus that are not > isolated for RTAI. > > That's all. > > > > Paolo. > > > > ________________________________________ > > From: Rtai [[email protected]] on behalf of Alec Ari [ > [email protected]] > > Sent: Wednesday, April 13, 2016 7:47 PM > > To: [email protected] > > Subject: Re: [Rtai] Question about isolating CPU's > > > > Hi, what simple script are you referring to? Do you have an example? > > > > Alec Ari > > _______________________________________________ > > Rtai mailing list > > [email protected] > > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > > _______________________________________________ > > Rtai mailing list > > [email protected] > > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Rtai mailing list > [email protected] > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > > ------------------------------ > > End of Rtai Digest, Vol 100, Issue 15 > ************************************* > _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai