Re: RTAI-5 make hangs at self-calibrate.
"Duane AW. Jeffery" <[email protected]>
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <SN1PR0701MB1821730529D1575DF3109BABBD970@SN1PR0701MB1821.namprd07.prod.outlook.com> |
Tried Vulcano just now, after some fiddling, I was able to get it to compile, but then trying to insmod rtai_sched.ko seems to hang the terminal. Checking with another terminal, the last few lines of dmesg are like: USERMODE CHECK: OK USERMODE CHECK PROVIDED (ns): KernelLatency -1, UserLatency -1. KERNEL SPACE LATENCY ENDED AT CYCLE: 1243, LATENCY = 3058, VARIANCE = 33761/10004569, GAIN = 843651/1000000000, LEAST = 2600. AFTER KERNEL CALIBRATION (WITH RTAI TASK, ns): KernelLatency 1201, UserLatency -1 (CALIBRATION: PERIOD 10000 (ns), TIME 201353401 (ns)). Ps aux shows the following command running: /usr/realtime/calibration/calibrate /usr/realtime/calibration/latencies 216320 2600 Any ideas? -Duane From: Paolo Mantegazza [mailto:[email protected]] Sent: Thursday, April 14, 2016 7:03 AM To: Duane AW. Jeffery <[email protected]> Subject: Re: [Rtai] RTAI-5 make hangs at self-calibrate. My suggestion is that you try VULCANO CVS. It wil be released as 5.0 test2 next week or so. One of the new things that come with it is exactly a new calibration procedure. I got a check, witnessed on this list, by just one user but two or three more fedback to me privatly it worked. So another check is welcomed. Paolo On 04/13/2016 10:28 PM, Duane AW. Jeffery wrote: 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 _______________________________________________ Rtai mailing list [email protected]<mailto:[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